consolidate sign checks for slow2
[glibc.git] / ChangeLog
blob6f5ac7257e1e523e61dd9db693e7ac8265df5e1a
1 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
4         check from here...
5         (slow2): ... and here...
6         (__sin): ... to here.
8 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10         * math/math.h
11         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12         Cast argument to its own type.
13         * math/test-iszero-excess-precision.c: New file.
14         * math/Makefile (tests): Add test-iszero-excess-precision.
15         (CFLAGS-test-iszero-excess-precision.c): New variable.
17 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
19         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
20         field, add err field.
21         (__spawni_child): Report error through err member instead of pipe.
22         (__spawnix): Likewise.
24 2016-09-28  Zack Weinberg  <zackw@panix.com>
26         * scripts/check-installed-headers.sh: Generalize treatment of
27         sys/elf.h to all target architectures.
29         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
30         deleted typedef ucontext_t.
32 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
35         (__INTERNAL_SYSCALL1): Likewise.
36         (__INTERNAL_SYSCALL2): Likewise.
37         (__INTERNAL_SYSCALL3): Likewise.
38         (__INTERNAL_SYSCALL4): Likewise.
39         (__INTERNAL_SYSCALL5): Likewise.
40         (__INTERNAL_SYSCALL6): Likewise.
41         (__INTERNAL_SYSCALL7): Likewise.
42         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
43         (__INTERNAL_SYSCALL_NARGS): Likewise.
44         (__INTERNAL_SYSCALL_DISP): Likewise.
45         (INTERNAL_SYSCALL_CALL): Likewise.
46         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
47         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
48         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
49         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
50         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
51         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
52         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
53         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
54         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
55         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
56         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
57         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
58         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
60 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
62         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
63         macro.
64         * math/libm-test.inc (iszero_test_data): New array.
65         (iszero_test): New function.
66         (main): Call iszero_test.
67         * manual/arith.texi (Floating Point Classes): Document iszero.
68         * manual/libm-err-tab.pl: Update comment on interfaces without
69         ulps tabulated.
71 2016-09-23  Zack Weinberg  <zackw@panix.com>
73         * scripts/check-installed-headers.sh: New script.
74         * Rules: In each directory that defines header files to be installed,
75         run check-installed-headers.sh on them as a special test.
76         * Makefile: Likewise for the headers installed at top level.
78         * include/aliases.h, include/alloca.h, include/argz.h
79         * include/arpa/nameser.h, include/arpa/nameser_compat.h
80         * include/elf.h, include/envz.h, include/err.h
81         * include/execinfo.h, include/fpu_control.h, include/getopt.h
82         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
83         * include/link.h, include/malloc.h, include/mcheck.h
84         * include/mntent.h, include/netinet/ether.h
85         * include/nss.h, include/obstack.h, include/printf.h
86         * include/pty.h, include/resolv.h, include/rpc/auth.h
87         * include/rpc/auth_des.h, include/rpc/auth_unix.h
88         * include/rpc/clnt.h, include/rpc/des_crypt.h
89         * include/rpc/key_prot.h, include/rpc/netdb.h
90         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
91         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
92         * include/rpc/rpc_msg.h, include/rpc/svc.h
93         * include/rpc/svc_auth.h, include/rpc/xdr.h
94         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
95         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
96         * include/rpcsvc/ypupd.h, include/shadow.h
97         * include/stdio_ext.h, include/sys/epoll.h
98         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
99         * include/sys/prctl.h, include/sys/profil.h
100         * include/sys/statfs.h, include/sys/sysctl.h
101         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
102         * sysdeps/arm/nacl/include/bits/setjmp.h
103         * sysdeps/mips/include/sys/asm.h
104         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
105         * sysdeps/unix/sysv/linux/include/sys/timex.h
106         * sysdeps/x86/fpu/include/bits/fenv.h:
107         Add #ifndef _ISOMAC guard around internal declarations.
108         Add multiple-inclusion guard if not already present.
110 2016-09-23  Zack Weinberg  <zackw@panix.com>
112         * sysdeps/generic/sys/ucontext.h
113         * sysdeps/arm/sys/ucontext.h
114         * sysdeps/i386/sys/ucontext.h
115         * sysdeps/m68k/sys/ucontext.h
116         * sysdeps/mips/sys/ucontext.h
117         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
118         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
119         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
120         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
121         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
122         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
123         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
124         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
125         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
126         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
127         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
128         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
129         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
130         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
131         Include both bits/sigcontext.h and bits/sigstack.h.
132         Fix grammar error in comment, if present.
134         * bits/sigstack.h
135         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
136         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
137         * sysdeps/unix/sysv/linux/bits/sigstack.h
138         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
139         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
140         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
141         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
142         * bits/sigcontext.h
143         * sysdeps/mach/hurd/i386/bits/sigcontext.h
144         * sysdeps/unix/sysv/linux/bits/sigcontext.h
145         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
146         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
147         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
148         as well as signal.h, if this was not already allowed.  Request
149         definition of size_t if necessary.  Minimize semantically-null
150         differences across files.
152 2016-09-23  Zack Weinberg  <zackw@panix.com>
154         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
155         Remove all logic conditional on __need macros.  Move all the
156         conditionally defined types to their own headers...
157         * time/bits/types/clock_t.h: Define clock_t here.
158         * time/bits/types/clockid_t.h: Define clockid_t here.
159         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
160         * time/bits/types/struct_timespec.h: Define struct timespec here.
161         * time/bits/types/struct_timeval.h: Define struct timeval here.
162         * time/bits/types/struct_tm.h: Define struct tm here.
163         * time/bits/types/time_t.h: Define time_t here.
164         * time/bits/types/timer_t.h: Define timer_t here.
165         * time/Makefile: Install the new headers.
167         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
168         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
169         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
170         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
171         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
172         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
173         * sysdeps/unix/sysv/linux/bits/resource.h
174         * sysdeps/unix/sysv/linux/bits/timex.h
175         * sysdeps/unix/sysv/linux/mips/bits/resource.h
176         * sysdeps/unix/sysv/linux/net/ppp_defs.h
177         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
178         * sysdeps/unix/sysv/linux/sys/acct.h
179         * sysdeps/unix/sysv/linux/sys/timerfd.h
180         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
181         * time/sys/time.h, time/sys/timeb.h
182         Use the new bits/types headers.
184         * include/time.h: Remove __need logic.
185         * include/bits/time.h
186         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
187         * include/bits/types/time_t.h, include/bits/types/timer_t.h
188         * include/bits/types/struct_itimerspec.h
189         * include/bits/types/struct_timespec.h
190         * include/bits/types/struct_timeval.h
191         * include/bits/types/struct_tm.h:
192         New wrapper headers.
194 2016-09-23  Zack Weinberg  <zackw@panix.com>
196         * sysdeps/mach/hurd/net/if_ppp.h
197         * sysdeps/unix/sysv/linux/net/if_ppp.h:
198         Only define struct ifpppstatsreq and struct ifpppcstatsreq
199         if __USE_MISC is defined, to ensure struct ifreq is declared.
201         * inet/netinet/ether.h: Condition all function prototypes
202         on __USE_MISC, to ensure struct ether_addr is declared.
204         * socket/bits/types/struct_osockaddr.h: New header.
205         * include/bits/types/struct_osockaddr.h: New wrapper.
206         * socket/Makefile: Install the new header.
207         * socket/sys/socket.h, inet/protocols/talkd.h:
208         Refer to bits/types/struct_osockaddr.h for the definition of
209         struct osockaddr.
211 2016-09-23  Zack Weinberg  <zackw@panix.com>
213         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
214         * inet/protocols/routed.h, inet/protocols/talkd.h
215         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
216         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
217         * sysdeps/generic/netinet/if_ether.h
218         * sysdeps/generic/netinet/in_systm.h
219         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
220         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
221         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
222         * sysdeps/mach/hurd/net/if_arp.h
223         * sysdeps/mach/hurd/net/if_ppp.h
224         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
225         * sysdeps/unix/sysv/linux/bits/in.h
226         * sysdeps/unix/sysv/linux/net/ethernet.h
227         * sysdeps/unix/sysv/linux/net/if_arp.h
228         * sysdeps/unix/sysv/linux/net/if_ppp.h
229         * sysdeps/unix/sysv/linux/net/if_shaper.h
230         * sysdeps/unix/sysv/linux/net/route.h
231         * sysdeps/unix/sysv/linux/netinet/if_ether.h
232         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
233         * sysdeps/unix/sysv/linux/netinet/if_tr.h
234         * sysdeps/unix/sysv/linux/netipx/ipx.h
235         * sysdeps/unix/sysv/linux/sys/acct.h
236         * include/arpa/nameser.h, include/resolv.h:
237         Change all uses of u_char to unsigned char,
238         u_short and ushort to unsigned short, u_int and uint to unsigned int,
239         u_long and ulong to unsigned long, u_int8_t to uint8_t,
240         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
241         and u_int64_t and u_quad_t to uint64_t.
243         * mach/sys/reboot.h: Remove two casts of integer literals
244         to the types they already have.
246         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
247         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
248         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
249         from referring to 'unsigned char' to 'uint8_t' for consistency with
250         the macro definition below.
252         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
253         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
254         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
255         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
256         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
257         * sysdeps/unix/sysv/linux/sys/acct.h
258         * include/arpa/nameser.h, include/resolv.h:
259         Fix indentation disrupted by mechanical edits.
261         * inet/protocols/talkd.h, resolv/arpa/nameser.h
262         * sysdeps/generic/netinet/in_systm.h
263         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
264         * sysdeps/gnu/netinet/udp.h
265         * sysdeps/unix/sysv/linux/net/ethernet.h
266         * sysdeps/unix/sysv/linux/net/if_arp.h
267         * sysdeps/unix/sysv/linux/net/if_ppp.h
268         * sysdeps/unix/sysv/linux/net/if_shaper.h
269         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
270         * sysdeps/unix/sysv/linux/netinet/if_tr.h
271         * sysdeps/unix/sysv/linux/netipx/ipx.h
272         * sysdeps/unix/sysv/linux/sys/acct.h
273         Include stdint.h for uintNN_t definitions.
274         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
276 2016-09-23  Zack Weinberg  <zackw@panix.com>
278         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
279         * sysdeps/unix/sysv/linux/netrose/rose.h:
280         Include sys/socket.h and netax25/ax25.h.
282         * inet/netinet/icmp6.h, inet/netinet/ip6.h
283         * resolv/arpa/nameser_compat.h:
284         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
286         * sysdeps/unix/sysv/linux/sys/quota.h:
287         Use __caddr_t instead of caddr_t.
288         * sysdeps/unix/sysv/linux/sys/timerfd.h:
289         Use __clockid_t instead of clockid_t.
291         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
293         * argp/argp.h: Check whether _LIBC is defined before expanding it.
294         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
295         expanding it.
297         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
298         Define __glibc_c99_flexarr_available to 1 when the compiler
299         supports C99-compatible flexible array members, 0 otherwise.
300         * sysdeps/unix/sysv/linux/bits/socket.h
301         * sysdeps/mach/hurd/bits/socket.h
302         * bits/socket.h: Use __glibc_c99_flexarr_available in
303         definitions of struct cmsghdr and CMSG_DATA.
305 2016-09-23  Florian Weimer  <fweimer@redhat.com>
307         * manual/nss.texi (NSS Modules Interface): Adjust function return
308         type to enum nss_status.  Document errnop argument.  Clarify
309         h_errnop semantics.  Fix cross-reference formatting.
310         (NSS Module Function Internals): Mention that *errnop needs to be
311         set on failure, but not to zero.
313 2016-09-23  Florian Weimer  <fweimer@redhat.com>
315         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
316         (get_random_name): New functions.
317         (check_wrapper_flags_mode): Use linkat to give the new file a name
318         determined by get_random_name.
319         (do_test): Add calls to test open64 and openat64.
321 2016-09-23  Florian Weimer  <fweimer@redhat.com>
323         * test-skeleton.c: Remove #include <stdarg.h>.
325 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
327         [BZ #19826]
328         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
329         initialization of static TLS entries.
330         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
331         * nptl/allocatestack.c (init_one_static_tls): Likewise.
333 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
335         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
336         _hurd_malloc_fork_prepare.
337         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
338         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
339         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
340         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
341         (_hurd_fork_child_hook): Drop malloc_fork_child.
342         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
343         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
344         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
345         after locking locks (notably hurd_dtable_lock). Call
346         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
347         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
348         __malloc_fork_unlock_child.
349         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
351 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
353         * soft-fp/extendhftf2.c: New.
354         * soft-fp/fixhfti.c: Likewise.
355         * soft-fp/fixunshfti.c: Likewise.
356         * soft-fp/floattihf.c: Likewise.
357         * soft-fp/floatuntihf.c: Likewise.
358         * soft-fp/half.h: Likewise.
359         * soft-fp/trunctfhf2.c: Likewise.
361 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
363         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
364         macro.
365         * math/libm-test.inc (issubnormal_test_data): New array.
366         (issubnormal_test): New function.
367         * manual/arith.texi (Floating Point Classes): Document
368         issubnormal.
369         * manual/libm-err-tab.pl: Update comment on interfaces without
370         ulps tabulated.
372         * sysdeps/generic/stdint.h: Define
373         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
374         <bits/libc-header-start.h> instead of including <features.h>.
375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
376         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
381         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
382         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
386         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
387         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
404         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
405         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
407         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
408         * manual/arith.texi (Integers): Document these macros for types
409         specified by width properties.
410         * manual/lang.texi (Width of Type): Document these macros for
411         other standard typedefs.
412         * stdlib/tst-width-stdint.c: New file.
413         * stdlib/Makefile (tests): Add tst-width-stdint.
415 2016-09-21  Florian Weimer  <fweimer@redhat.com>
417         [BZ #20016]
418         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
419         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
420         Move ...
421         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
422         ... here, as compatibility symbols in a new file.
423         * resolv/Makefile (libresolv-routines): Add compat-hooks.
424         * resolv/res_init.c (__res_vinit): Adjust member names.
425         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
426         * resolv/resolv.h (res_sendhookact, res_send_qhook)
427         (res_send_rhook): Remove.
428         (struct __res_state): Rename qhook, rhook members.
430 2016-09-21  Florian Weimer  <fweimer@redhat.com>
432         malloc: Use __libc_lock wrappers.
433         * malloc/arena.c (list_lock, free_list_lock): Define using
434         __libc_lock_define_initialized.
435         (arena_lock): Adjust formatting.
436         * malloc/malloc.c (struct malloc_state): Define mutex using
437         __libc_lock_define.
438         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
439         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
440         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
441         (mutex_unlock, mutex_trylock): Remove.
442         (__pthread_initialize): Remove unused macro.
443         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
444         (mutex_unlock, mutex_trylock): Remove.
446 2016-09-21  Florian Weimer  <fweimer@redhat.com>
448         [BZ #20592]
449         Remove RR type classification macros.
450         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
451         (ns_t_udp_p, ns_t_xfr_p): Remove.
453 2016-09-21  Florian Weimer  <fweimer@redhat.com>
455         Remove misleading version information.
456         * resolv/arpa/nameser.h (__NAMESER): Remove.
457         * resolv/arpa/nameser_compat.h (__BIND): Remove.
459 2016-09-21  Florian Weimer  <fweimer@redhat.com>
461         Remove the always-defined BIND_4_COMPAT macro.
462         * resolv/arpa/nameser.h: Unconditionally include
463         <arpa/nameser_compat.h>.
464         (BIND_4_COMPAT): Remove.
465         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
467 2016-09-21  Florian Weimer  <fweimer@redhat.com>
469         [BZ #20591]
470         Remove obsolete DNSSEC support.
471         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
472         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
473         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
474         (ns_verify_tcp, ns_verify_tcp_init): Remove.
475         (ns_cert_types): Add comment.
476         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
477         separately.
478         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
479         (dst_s_dns_key_id): Remove.
480         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
481         variables.
483 2016-09-21  Florian Weimer  <fweimer@redhat.com>
485         [BZ #20524]
486         * manual/string.texi (String/Array Comparison): Clarify the
487         strverscmp behavior.
489 2016-09-21  Florian Weimer  <fweimer@redhat.com>
491         * test-skeleton.c (xasprintf): Add function.
492         * io/tst-open-tmpfile.c: New test.
493         * io/Makefile (tests): Add it.
495 2016-09-21  Florian Weimer  <fweimer@redhat.com>
497         Avoid running $(CXX) during build to obtain header file paths.
498         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
499         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
500         * Makerules (cstdlib, cmath): Remove variables.  Use
501         $(c++-cstdlib-header), $(c++-cmath-header) instead.
502         * configure: Regenerate.
504 2016-09-21  Florian Weimer  <fweimer@redhat.com>
506         * Makeconfig (all-object-suffixes): Include .op only if
507         $(build-profile).
509 2016-09-21  Florian Weimer  <fweimer@redhat.com>
511         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
512         conditionals.  Do not define PATH_MAX.
514 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
516         * posix/Makefile (tests): Add tst-spawn3.
517         * posix/tst-spawn3.c: New file.
518         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
519         if it is already opened for open action.
521         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
522         all signals when executing the clone vfork child.
523         (SIGALL_SET): Remove macro.
525         * nptl/Makefile (tests): Add tst-exec5.
526         * nptl/tst-exec5.c: New file.
527         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
528         asynchronous cancellation.
530 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
532         * hurd/exc2signal.c: #include <hurd/signal.h>
533         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
534         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
535         accordingly.
536         * mach/mach_error.c (mach_error): Fix old-style function definition.
537         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
539 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
541         * math/Makefile (libm-calls): Remove s_nanF.
542         (gen-libm-calls): Add s_nanF.
544         * math/s_nan.c: Refactor into ...
545         * math/s_nan_template.c: New file.
547         * math/s_nanf.c: Removed.
548         * math/s_nanl.c: Removed.
549         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
550         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
552         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
553         (LDOUBLE_nanl_libm_version): New macro.
555         * sysdeps/generic/math-type-macros-double.h:
556         (M_STRTO_NAN): New macro.
557         * sysdeps/generic/math-type-macros-float.h: Likewise.
558         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
560         * sysdeps/generic/math-type-macros.h: Document
561         M_STRTO_NAN.
563 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
565         * math/s_nanf.c: Remove __nanf undef.
566         * math/s_nan.c: Remove __nan undef.
567         * math/s_nanl.c: Remove __nanl undef.
569         * sysdeps/generic/math_private.h (__nan): Remove macro
570         override.
571         (__nanf): Likewise.
572         (__nanl): Likewise.
574 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
576         * math/Makefile (gen-all-calls): New variable.
577         (generated): Replace gen-libm-calls with gen-all-calls.
578         (gen-libm-templates.stmp): Likewise.  Also, ensure
579         the output directory exists or is created and add
580         dependency on the Makefile.
581         (calls): Move s_ldexpF into gen-calls.
582         (gen-calls): New variable.
584         * math/s_ldexpf.c: Removed.
585         * math/s_ldexpl.c: Removed.
586         * math/s_ldexp.c: Refactored into ...
587         * math/s_ldexp_template.c: New file.
589         * sysdeps/generic/math-type-macros-double.h: Remove
590         redundant fall-through definition of declare_mgen_alias.
591         (declare_mgen_alias_2): New macro.
593         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
594         New macro for function aliased to two exported symbols.
596         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
597         new template file.
598         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
600 2016-09-20  Florian Weimer  <fweimer@redhat.com>
602         * Makeconfig (all-object-suffixes): Remove .og.
603         * Makerules (elide-routines.og): Remove.
604         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
605         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
606         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
608 2016-09-20  Florian Weimer  <fweimer@redhat.com>
610         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
611         .os objects.
613 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
615         [BZ #20615]
616         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
617         fpu directory by non-fpu.
618         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
619         on non-fpu directory from a fpu directory.
621 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
623         * include/limits.h: Define
624         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
625         <bits/libc-header-start.h> instead of including <features.h>.
626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
637         * manual/lang.texi (Width of Type): Document these macros.
638         * stdlib/tst-width.c: New file.
639         * stdlib/Makefile (tests): Add tst-width.
641 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
643         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
644         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
646 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
648         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
649         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
650         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
652 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
654         [BZ #18243]
655         * rt/Makefile (test): Add tst-shm-cancel.
656         * rt/tst-shm-cancel.c: New file.
657         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
659         [BZ #18243]
660         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
661         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
662         definition.
663         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
664         uncontended case.
665         * nptl/sem_wait.c (__new_sem_wait): Likewise.
666         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
667         (tf): Fix check for uncontended case.
668         (do_test): Likewise.
669         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
670         (tf): Fix check for uncontended case.
671         (do_test): Likewise.
672         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
673         (tf): Fix check for uncontended case.
674         (do_test): Likewise.
675         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
676         (tf): Fix check for uncontended case.
677         (do_test): Likewise.
679         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
680         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
682         [BZ #15765]
683         * nptl/Makefile (tests): Add tst-sem16.
684         * nptl/tst-sem16.c: New file.
685         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
687         * nptl/sem_open.c (sem_open): Init pad value to 0.
688         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
689         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
691 2016-09-15  Florian Weimer  <fweimer@redhat.com>
693         [BZ #20611]
694         * inet/Makefile (routines): Add inet6_scopeid_pton.
695         (tests): Add tst-inet6_scopeid_pton.
696         * inet/inet6_scopeid_pton.c: New file.
697         * inet/net-internal.h: Likewise.
698         * inet/tst-inet6_scopeid_pton.c: New test.
699         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
700         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
703 2016-09-14  Florian Weimer  <fweimer@redhat.com>
705         Remove support for compiling wrappers with PTW.
706         * sysdeps/nptl/Makeconfig: Drop ptw- support.
707         * nptl/Makefile (pthread-compat-wrappers): Define.
708         (libpthread-routines): Use pthread-compat-wrappers.
709         * sysdeps/unix/sysv/linux/alpha/Makefile
710         (libpthread-routines, libpthread-shared-only-routines): Remove
711         ptw- prefix.
712         * sysdeps/s390/nptl/Makefile
713         (libpthread-routines, libpthread-shared-only-routines): Likewise.
714         * sysdeps/ia64/nptl/Makefile
715         (libpthread-routines, libpthread-shared-only-routines): Likewise.
716         * sysdeps/nacl/Makefile (libpthread-routines): Use
717         pthread-compat-wrappers to filter the routines list instead of the
718         ptw- prefix.
720 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
722         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
723         with L() and remove explicit suffix, convert real literals
724         which can be equivalentally substituted with integers, and
725         transform -L(x) to L(-x).
727         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
728         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
729         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
730         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
731         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
732         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
733         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
734         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
735         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
736         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
737         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
738         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
739         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
740         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
741         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
742         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
743         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
744         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
745         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
746         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
747         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
748         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
749         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
750         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
751         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
752         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
753         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
754         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
755         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
756         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
757         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
758         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
759         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
760         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
761         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
762         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
763         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
764         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
765         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
766         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
767         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
770         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
771         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
772         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
773         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
774         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
775         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
776         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
778 2016-09-13  Florian Weimer  <fweimer@redhat.com>
780         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
782 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
784         * malloc/Makefile (tests): Remove individual static test names
785         and just add all of tests-static.
787         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
789 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
791         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
792         file.
794         * sysdeps/sparc/fpu/fegetmode.c: New file.
795         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
797         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
798         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
800         * sysdeps/s390/fpu/fegetmode.c: New file.
801         * sysdeps/s390/fpu/fesetmode.c: Likewise.
803         * sysdeps/powerpc/fpu/fegetmode.c: New file.
804         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
805         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
806         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
807         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
808         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
810         * sysdeps/mips/fpu/fegetmode.c: New file.
811         * sysdeps/mips/fpu/fesetmode.c: Likewise.
813         * sysdeps/m68k/fpu/fegetmode.c: New file.
814         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
816         * sysdeps/ia64/fpu/fegetmode.c: New file.
817         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
819         * sysdeps/hppa/fpu/fegetmode.c: New file.
820         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
822         * sysdeps/arm/fegetmode.c: New file.
823         * sysdeps/arm/fesetmode.c: Likewise.
825         * sysdeps/alpha/fpu/fegetmode.c: New file.
826         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
828         * sysdeps/aarch64/fpu/fegetmode.c: New file.
829         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
831         * math/fegetmode.c: New file.
832         * math/fesetmode.c: Likewise.
833         * sysdeps/i386/fpu/fegetmode.c: Likewise.
834         * sysdeps/i386/fpu/fesetmode.c: Likewise.
835         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
836         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
837         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
839         declaration.
840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
841         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
842         typedef.
843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
844         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
845         (femode_t): New typedef.
846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
847         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
848         (femode_t): New typedef.
849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
850         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
851         (femode_t): New typedef.
852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
853         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
854         (femode_t): New typedef.
855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
856         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
857         (femode_t): New typedef.
858         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
859         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
860         (femode_t): New typedef.
861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
862         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
863         (femode_t): New typedef.
864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
865         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
866         (femode_t): New typedef.
867         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
868         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
869         (femode_t): New typedef.
870         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
871         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
872         (femode_t): New typedef.
873         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
874         declaration.
875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
876         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
877         (femode_t): New typedef.
878         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
879         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
880         (femode_t): New typedef.
881         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
882         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
883         (femode_t): New typedef.
884         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
885         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
886         (femode_t): New typedef.
887         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
888         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
889         (femode_t): New typedef.
890         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
891         * manual/arith.texi (FE_DFL_MODE): Document macro.
892         (fegetmode): Document function.
893         (fesetmode): Likewise.
894         * math/Versions (fegetmode): New libm symbol at version
895         GLIBC_2.25.
896         (fesetmode): Likewise.
897         * math/Makefile (libm-support): Add fegetmode and fesetmode.
898         (tests): Add test-femode and test-femode-traps.
899         * math/test-femode-traps.c: New file.
900         * math/test-femode.c: Likewise.
901         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
902         alias for __fe_dfl_env.
903         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
904         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
905         (__fe_dfl_mode): Likewise.
906         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
907         version GLIBC_2.25.
908         * sysdeps/nacl/libm.abilist: Update.
909         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
910         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
911         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
912         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
913         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
914         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
915         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
916         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
917         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
918         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
919         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
920         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
922         Likewise.
923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
924         Likewise.
925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
926         Likewise.
927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
928         Likewise.
929         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
935         Likewise.
936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
937         Likewise.
938         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
942 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
944         [BZ #20495]
945         [BZ #20508]
946         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
947         processors, set Use_dl_runtime_resolve_slow and set
948         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
949         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
950         New.
951         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
952         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
953         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
954         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
955         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
956         if Use_dl_runtime_resolve_opt is set.  Use
957         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
958         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
959         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
960         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
961         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
962         New.
963         (_dl_runtime_resolve_opt): Likewise.
964         (_dl_runtime_profile): Define only if _dl_runtime_profile is
965         defined.
967 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
969         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
970         __libc_memalign with "+ RELA R_390_GLOB_DAT".
972 2016-09-06  Florian Weimer  <fweimer@redhat.com>
974         Convert malloc to __libc_lock.  Automated part, using this Perl
975         s/// command:
976           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
977             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
978         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
979         conversion.
981 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
983         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
984         (linknamespace-symlists-tests): Likewise.
985         (linknamespace-header-tests): Likewise.
987 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
989         [BZ #19810]
990         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
991         * elf/tst-noload.c: New test case.
992         * elf/Makefile (tests): Add tst-noload.
994 2016-09-02  Roland McGrath  <roland@hack.frob.com>
996         * sysdeps/nacl/dup.c: Add libc_hidden_def.
998         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
999         not any more.
1001         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1003 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1005         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1006         (do_cos_slow): Likewise.
1007         (do_sin): Likewise.
1008         (do_sin_slow): Likewise.
1009         (slow): Likewise.
1010         (slow1): Likewise.
1011         (slow2): Likewise.
1012         (sloww): Likewise.
1013         (sloww1): Likewise.
1014         (sloww2): Likewise.
1015         (bsloww): Likewise.
1016         (bsloww1): Likewise.
1017         (bsloww2): Likewise.
1018         (cslow2): Likewise.
1020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1022         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1023         arguments.  Consolidate input partitioning from callers here.
1024         (do_cos_slow): Likewise.
1025         (do_sin): Likewise.
1026         (do_sin_slow): Likewise.
1027         (do_sincos_1): Remove the no longer necessary input partitioning.
1028         (do_sincos_2): Likewise.
1029         (__sin): Likewise.
1030         (__cos): Likewise.
1031         (slow1): Likewise.
1032         (slow2): Likewise.
1033         (sloww1): Likewise.
1034         (sloww2): Likewise.
1035         (bsloww1): Likewise.
1036         (bsloww2): Likewise.
1037         (cslow2): Likewise.
1039 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1041         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1042         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1043         outside of allocated array.
1045 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1047         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1048         instead of MB_CUR_MAX to avoid variable-length array.
1050 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1052         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1053         (type-double-routines): Add k_rem_pio2.
1054         (type-float-routines): Add k_rem_pio2f.
1056         * sysdeps/generic/math_private.h:
1057         (__kernel_rem_pio2l): Removed.
1059         * math/k_rem_pio2l.c: Removed.
1060         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1061         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1062         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1063         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1065 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1067         * math/Makefile (gen-libm-calls): Add s_fmin
1068         (libm-calls): Remove above.
1070         * math/s_fmin.c: Refactor into ...
1071         * math/s_fmin_template.c: New file.
1073         * math/s_fminf.c: Removed.
1074         * math/s_fminl.c: Removed.
1075         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1076         (LDOUBLE_fmin_libm_version): New macro.
1078         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1079         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1081 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1083         * math/Makefile: (gen-libm-calls): Add s_fmax.
1084         (libm-calls): Remove above.
1086         * math/s_fmax.c: Refactor into ...
1087         * math/s_fmax_template.c: New file.
1088         * math/s_fmaxf.c: Removed.
1089         * math/s_fmaxl.c: Removed.
1091         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1092         (LDOUBLE_fmaxl_libm_version): New macro.
1094         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1095         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1097         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1098         s_fmin.c to pick the aarch64 version of the file.
1099         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1100         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1102 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1104         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1105         (libm-calls): Remove above.
1107         * math/s_nextdown.c: Refactor into ...
1108         * math/s_nextdown_template.c: New file.
1109         * math/s_nextdownf.c: Removed.
1110         * math/s_nextdownl.c: Removed.
1112         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1114 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1116         * math/Makefile (gen-libm-calls): Add s_fdim.
1117         (libm-calls): Move to above.
1119         * math/s_fdim.c: Renamed and refactored into to ...
1120         * math/s_fdim_template.c: New file.
1121         * math/s_fdiml.c: Removed.
1122         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1123         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1125         * sysdeps/generic/math-type-macros-double.h:
1126         (declare_mgen_alias): Don't declare if already declared.
1127         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1128         Likewise.
1130         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1131         (declare_mgen_alias): Don't declare if already declared.
1132         (M_LIBM_NEED_COMPAT): Likewise.
1133         (declare_mgen_libm_compat): Likewise.
1134         (LDOUBLE_fdiml_libm_version): New macro.
1136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1137         Include math/s_fdim.c now that ldbl-opt version is not needed.
1138         (declare_mgen_alias): New macro to disable aliasing.
1140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1141         (declare_mgen_alias): Likewise.
1142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1143         (declare_mgen_alias): Likewise.
1144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1145         (declare_mgen_alias): Likewise.
1146         (M_LIBM_NEED_COMPAT): Likewise.
1148 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1150         [BZ #20525]
1151         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1152         Include <linux/quota.h>.
1153         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1154         and btodb.
1155         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1156         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1157         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1158         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1159         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1160         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1161         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1162         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1163         types.
1164         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1165         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1167 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1169         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1170         (gammal_positive): Fix spacing.
1171         (__ieee754_gammal_r): Likewise.
1173 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1175         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1176         (_Float128): Define as long double, always.
1177         (L): Apply long double type suffix, always.
1179         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1180         _Float128, excepting comments.
1182         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1183         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1184         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1185         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1186         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1187         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1188         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1189         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1190         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1191         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1192         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1193         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1194         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1196         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1197         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1198         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1199         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1200         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1201         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1202         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1203         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1204         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1205         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1206         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1207         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1208         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1209         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1210         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1211         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1212         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1213         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1214         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1215         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1216         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1217         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1218         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1219         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1220         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1221         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1222         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1223         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1224         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1225         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1226         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1227         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1228         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1229         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1230         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1231         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1232         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1233         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1234         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1235         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1236         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1237         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1238         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1239         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1240         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1241         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1242         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1243         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1244         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1245         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1246         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1247         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1248         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1252         _Float128, and include math_private.h.
1253         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1256         long double semantics.
1257         (_Float128): Likewise.
1258         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1261         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1263 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1265         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1266         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1267         * sysdeps/s390/configure: Regenerated.
1268         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1269         instruction for raising over-/underflow if z196 zarch is supported
1270         by default.
1271         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1273 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1275         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1276         it point to a dumb buffer for RPC to fill it.
1278 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1280         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1281         instead of if/else.
1282         (do_sin_slow): Likewise.
1283         (do_sincos_1): Use fabs instead of if/else.
1284         (do_sincos_2): Likewise.
1285         (__sin): Likewise.
1286         (__cos): Likewise.
1287         (slow2): Likewise.
1288         (sloww): Likewise.
1289         (sloww1): Likewise.  Drop argument M.
1290         (sloww2): Use fabs instead of if/else.
1291         (bsloww): Likewise.
1292         (bsloww1): Likewise.
1293         (bsloww2): Likewise.
1295         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1296         fall through comment.
1297         (do_sincos_1): Likewise.
1299         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1300         Consolidate switch cases 0 and 2.
1302 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1304         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1305         (libm-calls): Remove the above.
1307         * math/s_cexp_template.c: Update using type-generic macros.
1308         * math/s_clog10_template.c: Likewise.
1309         * math/s_cpow_template.c: Likewise.
1310         * math/s_clog_template.c: Likewise.
1311         * math/s_cproj_template.c: Likewise.
1312         * math/s_csqrt_template.c: Likewise.
1314         * math/s_cexp.c: Removed.
1315         * math/s_cexpf.c: Removed.
1316         * math/s_cexpl.c: Removed.
1317         * math/s_clog10.c: Removed.
1318         * math/s_clog10f.c: Removed.
1319         * math/s_clog10l.c: Removed.
1320         * math/s_cpow.c: Removed.
1321         * math/s_cpowf.c: Removed.
1322         * math/s_cpowl.c: Removed.
1323         * math/s_clog.c: Removed.
1324         * math/s_clogf.c: Removed.
1325         * math/s_clogl.c: Removed.
1326         * math/s_cproj.c: Removed.
1327         * math/s_cprojf.c: Removed.
1328         * math/s_cprojl.c: Removed.
1329         * math/s_csqrt.c: Removed.
1330         * math/s_csqrtf.c: Removed.
1331         * math/s_csqrtl.c: Removed.
1333         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1334         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1335         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1336         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1337         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1338         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1340         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1341         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1342         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1343         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1344         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1345         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1346         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1347         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1348         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1349         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1350         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1352         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1353         version.
1355         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1356         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1357         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1358         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1360 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1362         * s_cexp_template.c: Copy of s_cexp.c.
1363         * s_clog_template.c: Copy of s_clog.c.
1364         * s_clog10_template.c: Copy of s_clog10.c.
1365         * s_cpow_template.c: Copy of s_cpow.c.
1366         * s_cproj_template.c: Copy of s_cproj.c.
1367         * s_csqrt_template.c: Copy of s_csqrt.c.
1369 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1371         [BZ #20517]
1372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1373         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1374         exported.
1376 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1378         * math/fetestexceptflag.c: New file.
1379         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1380         Stefan Liebler.
1381         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1382         (fetestexceptflag): New function declaration.
1383         * manual/arith.texi (fetestexceptflag): Document function.
1384         * math/Versions (fetestexceptflag): New libm symbol at version
1385         GLIBC_2.25.
1386         * math/Makefile (libm-support): Add fetestexceptflag.
1387         (tests): Add test-fetestexceptflag.
1388         * math/test-fetestexceptflag.c: New file.
1389         * sysdeps/nacl/libm.abilist: Update.
1390         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1394         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1395         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1396         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1397         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1398         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1399         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1400         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1401         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1403         Likewise.
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1405         Likewise.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1407         Likewise.
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1409         Likewise.
1410         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1411         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1412         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1413         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1414         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1416         Likewise.
1417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1418         Likewise.
1419         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1420         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1421         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1423 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1425         [BZ #20432]
1426         Avoid strong references to malloc-internal symbols when linking
1427         statically, to support statically interposed mallocs.
1428         * include/libc-symbols.h (call_function_static_weak): New macro.
1429         * malloc/Makefile (tests): Add tst-interpose-nothread,
1430         tst-interpose-thread, tst-interpose-static-nothread,
1431         tst-interpose-static-thread.
1432         (tests-static): Add tst-interpose-static-nothread,
1433         tst-interpose-static-thread.
1434         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1435         tst-interpose-aux-thread.o.
1436         (test-extras): Add tst-interpose-aux-nothread,
1437         tst-interpose-aux-thread.
1438         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1439         tst-interpose-aux-nothread.o.
1440         (tst-interpose-thread, tst-interpose-static-thread): Link with
1441         tst-interpose-aux-thread.o and libthread.
1442         * malloc/tst-interpose-aux-nothread.c: New file.
1443         * malloc/tst-interpose-aux-thread.c: Likewise.
1444         * malloc/tst-interpose-aux.c: Likewise.
1445         * malloc/tst-interpose-aux.h: Likewise.
1446         * malloc/tst-interpose-nothread.c: Likewise.
1447         * malloc/tst-interpose-skeleton.c: Likewise.
1448         * malloc/tst-interpose-static-nothread.c: Likewise.
1449         * malloc/tst-interpose-static-thread.c: Likewise.
1450         * malloc/tst-interpose-thread.c: Likewise.
1451         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1452         * sysdeps/mach/hurd/fork.c (__fork): Only call
1453         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1454         __malloc_fork_unlock_child if defined.
1455         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1457 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1459         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1460         timespec C99 designated initialization.
1462 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1464         [BZ #19946]
1465         Avoid expected SIGALRM signals.
1466         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1467         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1468         (xpthread_create, xpthread_detach, xpthread_join)
1469         (delayed_exit_thread, delayed_exit): New functions.
1470         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1471         (tf): Use xpthread_cond_wait.
1472         (do_test): Likewise.  Replace alarm with delayed_exit.
1473         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1474         (do_test): Call delayed_exit.  Report failure.
1475         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1476         (do_test): Call delayed_exit.
1477         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1478         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1479         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1480         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1481         error.
1482         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1483         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1484         error.
1485         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1486         (do_test): Call delayed_exit.
1487         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1488         (do_test): Call delayed_exit.
1489         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1490         (do_test): Call delayed_exit instead of alarm.  Use
1491         xpthread_mutex_lock.
1492         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1493         (do_test): Call delayed_exit instead of alarm.  Use
1494         xpthread_mutex_lock.
1495         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1496         (do_test): Call delayed_exit instead of alarm.
1497         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1498         (do_test): Call delayed_exit instead of alarm.  Use
1499         xpthread_spin_lock.
1500         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1501         (do_test): Call delayed_exit instead of alarm.  Use
1502         xpthread_join.
1504 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1506         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1507         adjust CFA when allocating register save area on re-aligned
1508         stack.
1510 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1512         * string/tst-cmp.c: New test.
1513         * string/Makefile (tests): Add it.
1515 2016-08-25  Mark Wielaard  <mark@klomp.org>
1517         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1518         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1519         (check_tree_recurse): Use newly defined accessors.
1520         (check_tree): Likewise.
1521         (maybe_split_for_insert): Likewise.
1522         (__tfind): Likewise.
1523         (__tdelete): Likewise.
1524         (trecurse): Likewise.
1525         (tdestroy_recurse): Likewise.
1526         (__tsearch): Likewise. And add asserts for malloc alignment.
1527         (__twalk): Cast root to node in case CHECK_TREE is defined.
1529 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1531         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1533 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1535         * math/Makefile (libm-gen-calls): Add
1536         catan, catanh, ctan, ctanh.
1537         (libm-calls): Remove the above.
1539         * math/s_catan_template.c: Update using type-generic macros.
1540         * math/s_catanh_template.c: Likewise.
1541         * math/s_ctan_template.c: Likewise.
1542         * math/s_ctanh_template.c: Likewise.
1544         * math/s_catanf.c: Removed.
1545         * math/s_catan.c: Removed.
1546         * math/s_catanl.c: Removed.
1547         * math/s_catanhf.c: Removed.
1548         * math/s_catanh.c: Removed.
1549         * math/s_catanhl.c: Removed.
1550         * math/s_ctanf.c: Removed.
1551         * math/s_ctan.c: Removed.
1552         * math/s_ctanl.c: Removed.
1553         * math/s_ctanhf.c: Removed.
1554         * math/s_ctanh.c: Removed.
1555         * math/s_ctanhl.c: Removed.
1557         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1558         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1559         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1560         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1561         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1562         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1564         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1565         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1566         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1567         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1569 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1571         * s_catan_template.c: Copy of s_catan.c.
1572         * s_catanh_template.c: Copy of s_catanh.c.
1573         * s_ctan_template.c: Copy of s_ctan.c.
1574         * s_ctanh_template.c: Copy of s_ctanh.c.
1576 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1578         * math/Makefile (gen-libm-calls): Move
1579         casin, casinh, csin, csinh here.
1580         (libm-calls): Remove the above.
1582         * math/s_casin_template.c: Update using type-generic macros.
1583         * math/s_casinh_template.c: Likewise.
1584         * math/s_csin_template.c: Likewise.
1585         * math/s_csinh_template.c: Likewise.
1586         * math/k_casinh_template.c: Likewise.
1588         * math/s_casinf.c: Removed.
1589         * math/s_casin.c: Removed.
1590         * math/s_casinl.c: Removed.
1591         * math/s_casinh.c: Removed.
1592         * math/s_casinhf.c: Removed.
1593         * math/s_casinhl.c: Removed.
1594         * math/s_csin.c: Removed.
1595         * math/s_csinf.c: Removed.
1596         * math/s_csinl.c: Removed.
1597         * math/s_csinh.c: Removed.
1598         * math/s_csinhf.c: Removed.
1599         * math/s_csinhl.c: Removed.
1600         * math/k_casinh.c: Removed.
1601         * math/k_casinhf.c: Removed.
1602         * math/k_casinhl.c: Removed.
1604         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1605         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1606         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1607         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1609         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1610         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1611         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1612         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1613         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1614         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1615         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1616         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1618         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1619         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1620         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1621         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1623         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1624         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1625         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1626         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1628 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1630         * s_casin_template.c: Copy of s_casin.c.
1631         * s_casinh_template.c: Copy of s_casinh.c.
1632         * s_csin_template.c: Copy of s_csin.c.
1633         * s_csinh_template.c: Copy of s_csinh.c.
1634         * k_casinh_template.c: Copy of k_casinh.c.
1636 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1638         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1640 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1642         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1643         (mul_split) Remove, rename as mul_splitl, remove
1644         redundant float.h include, and include via mul_splitl.h
1646         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1647         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1648         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1649         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1650         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1652         * math/mul_splitl.h: New file.
1654         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1655         Move into mul_split.h, and remove redundant float.h include.
1657         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1658         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1659         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1660         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1662         * math/mul_split.h: New file.
1664 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1666         * math/Makefile (libm-gen-calls): Move
1667         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1668         (libm-calls): Remove above.
1670         * math/s_cacos_template.c: Update using type-generic macros.
1671         * math/s_cacosh_template.c: Likewise.
1672         * math/s_ccos_template.c: Likewise.
1673         * math/s_ccosh_template.c: Likwise.
1675         * math/s_cacosf.c: Removed.
1676         * math/s_cacos.c: Removed.
1677         * math/s_cacosl.c: Removed.
1678         * math/s_cacoshf.c: Removed.
1679         * math/s_cacosh.c: Removed.
1680         * math/s_cacoshl.c: Removed.
1681         * math/s_ccosf.c: Removed.
1682         * math/s_ccos.c: Removed.
1683         * math/s_ccosl.c: Removed.
1684         * math/s_ccoshf.c: Removed.
1685         * math/s_ccosh.c: Removed.
1686         * math/s_ccoshl.c: Removed.
1688         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1689         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1690         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1691         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1692         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1693         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1695         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1696         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1697         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1698         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1700         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1701         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1702         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1703         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1705 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1707         * s_cacos_template.c: Copy of s_cacos.c.
1708         * s_cacosh_template.c: Copy of s_cacosh.c.
1709         * s_ccos_template.c: Copy of s_ccos.c.
1710         * s_ccosh_template.c: Copy of s_ccosh.c.
1712 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1714         * stdlib/tst-strtod-round-skeleton.c:
1715         Refactored from tst-strtod-round.c.
1717         (L_): New macro to apply literal modifier.
1718         (FNPFX): New macro to select str or wcs prefix.
1719         (CHAR): New macro to choose wchar_t or char.
1720         (STRM): New macro to choose printf for tested character type.
1722         (STRTO): New macro to choose appropriate string -> real function.
1723         (FNPFXS): Stringitized version of FNPFX.
1724         (STR): Support for above macro.
1725         (STRX): Likewise.
1727         (TEST): Update with above macros.
1728         (test): Likewise.
1729         (GEN_ONE_TEST): Likewise.
1730         (test_in_one_mode): Likewise.
1732         * stdlib/tst-strtod-round.c: New file.
1733         * wcsmbs/tst-wcstod-round.c: New file.
1735         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1736         (tst-wcstod-round): Add libm depencency for fesetround.
1738 2016-08-19  Zack Weinberg  <zackw@panix.com>
1740         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1742 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1744         [BZ #20477]
1745         * resolv/res_hconf.c (do_init): Use atomic access.
1746         * resolv/res_hconf.h: Add comments.
1747         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1748         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1751 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1753         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1754         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1755         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1756         Likewise.
1758 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1760         [BZ #16907]
1761         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1762         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1763         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1764         (__attribute__): Remove definition.
1766 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1768         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1769         Remove unused sqrtl declaration.
1771 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1773         * math/Makefile: (gen-libm-templates.stmp): New rule.
1774         (libm-calls): Move carg conj cimag and cabs into ...
1775         (gen-libm-calls): New variable.
1776         (generated): Inform Make objects from gen-libm-calls
1777         may be generated.
1779         * sysdeps/generic/math-type-macros.h: New file.
1780         * sysdeps/generic/math-type-macros-float.h: Likewise.
1781         * sysdeps/generic/math-type-macros-double.h: Likewise.
1782         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1783         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1784         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1786         * math/cabs.c: Refactor into
1787         * math/cabs_template.c: new file.
1788         * math/cabsf.c: Removed.
1789         * math/cabsl.c: Removed.
1790         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1791         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1793         * math/carg.c: Refactor into
1794         * math/carg_template.c: new file.
1795         * math/cargf.c: Removed.
1796         * math/cargl.c: Removed.
1797         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1798         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1800         * math/conj.c: Refactor into
1801         * math/conj_template.c: new file.
1802         * math/conjf.c: Removed.
1803         * math/conjl.c: Removed.
1804         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1805         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1807         * math/cimag.c: Refactor into
1808         * math/cimag_template.c: new file.
1809         * math/cimagf.c: Removed.
1810         * math/cimagl.c: Removed.
1811         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1812         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1814         * math/cimag.c: Refactor into
1815         * math/cimag_template.c: new file.
1816         * math/cimagf.c: Removed.
1817         * math/cimagl.c: Removed.
1818         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1819         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1821 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1823         Reduce time to expected nptl/tst-once5 failure.
1824         * nptl/tst-once5.cc (TIMEOUT): Define.
1826 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1828         [BZ #20452]
1829         Avoid additional copies of objects in libc.a in static libraries.
1830         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1831         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1832         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1833         rt-sysdep.
1834         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1835         Add nptl-sysdep.
1836         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1837         Add ptw-sysdep.
1838         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1839         rt-sysdep.
1840         * sysdeps/unix/sysv/linux/alpha/Makefile
1841         (libpthread-shared-only-routines): Add ptw-sysdep,
1842         ptw-sigprocmask, ptw-rt_sigaction.
1843         * sysdeps/unix/sysv/linux/ia64/Makefile
1844         (librt-shared-only-routines): Add rt-sysdep.
1845         * sysdeps/unix/sysv/linux/i386/Makefile
1846         (libpthread-shared-only-routines): Add libc-do-syscall.
1847         * sysdeps/unix/sysv/linux/microblaze/Makefile
1848         (libpthread-shared-only-routines): Add sysdep.
1849         * sysdeps/unix/sysv/linux/powerpc/Makefile
1850         (librt-shared-only-routines): Add rt-sysdep.
1851         (libpthread-shared-only-routines): Add sysdep.
1852         * sysdeps/unix/sysv/linux/s390/Makefile
1853         (librt-shared-only-routines): Add rt-sysdep.
1854         * sysdeps/unix/sysv/linux/sparc/Makefile
1855         (librt-shared-only-routines): Add rt-sysdep.
1856         (libpthread-shared-only-routines): Add sysdep.
1857         * sysdeps/unix/sysv/linux/tile/Makefile
1858         (libpthread-shared-only-routines): Likewise.
1860 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1862         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1863         Mask implicit bit out of unpacked value.
1864         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1866         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1868         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1870         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1872         * sysdeps/s390/fpu/fesetexcept.c: New file.
1874         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1875         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1876         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1878         * sysdeps/mips/fpu/fesetexcept.c: New file.
1880         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1882         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1884         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1886         * sysdeps/arm/fesetexcept.c: New file.
1888         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1890         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1892         * math/fesetexcept.c: New file.
1893         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1894         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1895         * math/fenv.h: Define
1896         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1897         <bits/libc-header-start.h> instead of including <features.h>.
1898         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1899         declaration.
1900         * manual/arith.texi (fesetexcept): Document function.
1901         * math/Versions (fesetexcept): New libm symbol at version
1902         GLIBC_2.25.
1903         * math/Makefile (libm-support): Add fesetexcept.
1904         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1905         * math/test-fesetexcept.c: New file.
1906         * math/test-fesetexcept-traps.c: Likewise.
1907         * sysdeps/nacl/libm.abilist: Update.
1908         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1909         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1910         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1911         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1912         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1913         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1914         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1915         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1916         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1917         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1918         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1919         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1921         Likewise.
1922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1923         Likewise.
1924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1925         Likewise.
1926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1927         Likewise.
1928         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1929         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1930         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1931         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1932         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1934         Likewise.
1935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1936         Likewise.
1937         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1938         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1939         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1941 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1943         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1944         New.
1945         (do_test): Apply default_stack_size_in_mb if not set.
1946         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1948 2016-08-15  Andreas Schwab  <schwab@suse.de>
1950         [BZ #20435]
1951         CVE-2016-6323
1952         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1953         as .cantunwind.
1955 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1957         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1958         comment from fraiseexcpt.c.
1960         * math/test-fexcept.c (feraiseexcept_exact): New function.
1961         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1962         (test_except): Likewise.
1964 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1966         [BZ #20455]
1967         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1968         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1969         to be restored.
1971         * math/test-fexcept-traps.c: New file.
1972         * math/test-fexcept.c: Likewise.
1973         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1974         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1975         macro.
1976         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1977         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1979 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1981         * include/atomic.h (atomic_fetch_and_relaxed,
1982         atomic_fetch_and_release, atomic_fetch_or_release,
1983         atomic_fetch_xor_release): New.
1985 2016-08-06  Christian Seiler  <christian@iwakd.de>
1987         [BZ #20444]
1988         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1989         MACH_PORT_NULL.
1991 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1993         * math/s_fdim.c: Avoid alias renamed.
1994         * math/s_fdimf.c: Likewise.
1995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1996         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1997         Add s_fdimf-vis3, s_fdim-vis3.
1998         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1999         (CFLAGS-s_fdim-vis3.c): Likewise.
2000         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2001         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2003 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2006         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2007         Remove s_fdimf-vis3, s_fdim-vis3.
2008         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2009         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2016         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2017         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2019 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2021         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2022         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2023         -Wa,-Av9a -mvis.
2025 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2027         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2028         LIT() to individual constants in simple expressions
2029         after splitting on spaces.
2030         (_apply_lit): Rename replaced version, and use it to
2031         apply to what appears to be a token.
2033         * math/libm-test.inc: Fix many, many issues with
2034         spacing.
2036 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2038         * math/math.h: Move comment about <bits/mathdef.h> definitions
2039         above inclusion of <bits/mathdef.h>.  Do not mention
2040         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2042 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2044         * include/atomic.h (atomic_exchange_relaxed): New.
2046 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2048         * math/e_scalb.c: Do not include <fenv.h>.
2049         (invalid_fn): Do calculation resulting in NaN instead of raising
2050         FE_INVALID and returning a NaN explicitly.
2051         * math/e_scalbf.c: Do not include <fenv.h>.
2052         (invalid_fn): Do calculation resulting in NaN instead of raising
2053         FE_INVALID and returning a NaN explicitly.
2054         * math/e_scalbl.c: Do not include <fenv.h>.
2055         (invalid_fn): Do calculation resulting in NaN instead of raising
2056         FE_INVALID and returning a NaN explicitly.
2058 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2060         * po/de.po: Updated from Translation Project.
2061         * po/fi.po: Likewise.
2062         * po/sv.po: Likewise.
2064 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2066         [BZ #20452]
2067         Use sysdep.o from libc.a in static libraries.
2068         * sysdeps/unix/sysv/linux/i386/Makefile
2069         (libpthread-shared-only-routines): Add sysdep.
2070         (librt-shared-only-routines): Likewise.
2072 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2074         * math/tgmath.h (nextdown): Define if
2075         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2076         (nextup): Likewise.
2078         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2079         macro.
2080         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2081         Document.
2082         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2083         Document macro.
2084         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2085         (exp10f): Likewise.
2086         (exp10l): Likewise.
2087         * math/bits/mathcalls.h (exp10): Declare if
2088         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2090         * manual/arith.texi (nextup): Fix typo in last change.
2092 2016-08-03  Zack Weinberg  <zackw@panix.com>
2094         [BZ #19239]
2095         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2096         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2097         define major, minor, and makedev to issue deprecation warnings on use.
2098         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2099         previously-activated deprecation warnings for these macros and prevent
2100         subsequent inclusions of this header from having any effect.
2101         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2102         including <sys/sysmacros.h>, and undefine it again afterward.
2104 2016-08-03  Zack Weinberg  <zackw@panix.com>
2106         * sysdeps/generic/sys/sysmacros.h: Delete file.
2107         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2108         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2109         * bits/sysmacros.h: ... here; this encoding is now the generic
2110         encoding.  Now defines only the following macros:
2111         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2112         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2113         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2115         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2116         bits/sysmacros.h and the above new macros to generate the
2117         public implementations of major, minor, and makedev.
2118         * misc/tst-makedev.c: New test.
2119         * include/sys/sysmacros.h: New wrapper.
2121         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2122         (routines): Add makedev.
2123         (tests): Add tst-makedev.
2124         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2125         gnu_dev_makedev.
2126         * posix/Makefile (headers): Remove sys/sysmacros.h.
2127         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2129         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2130         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2131         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2132         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2133         * sysdeps/unix/sysv/linux/arm/libc.abilist
2134         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2135         * sysdeps/unix/sysv/linux/i386/libc.abilist
2136         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2137         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2138         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2139         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2140         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2141         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2142         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2143         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2144         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2149         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2150         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2151         * sysdeps/unix/sysv/linux/sh/libc.abilist
2152         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2153         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2156         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2157         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2158         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2159         Add GLIBC_2.25.
2161         * include/features.h (__glibc_clang_prereq): New macro.
2162         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2163         (__attribute_deprecated_msg__): New macros.
2165 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2167         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2168         macro.
2169         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2170         * manual/arith.texi (issignaling): Document as ISO from TS
2171         18661-1:2014.
2172         (nextup): Likewise.
2173         (nextupf): Likewise.
2174         (nextupl): Likewise.
2175         (nextdown): Likewise.
2176         (nextdownf): Likewise.
2177         (nextdownl): Likewise.
2178         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2179         macro.
2180         * math/math.h: Define
2181         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2182         <bits/libc-header-start.h> instead of including <features.h>.
2183         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2184         [__USE_GNU].
2185         * math/bits/mathcalls.h (nextdown): Declare if
2186         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2187         (nextup): Likewise.
2188         (__issignaling): Likewise.
2190 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2192         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2193         check, and remove __glibc_likely hint
2194         from FP_INFINITE check.
2195         * s_csinhf.c (__csinhf): Likewise.
2197         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2198         hint from FP_INFINITE check.
2199         * s_csinhl.c (__csinhl): Likewise.
2201 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2203         * math/Makefile (libm-calls): Insert F placeholder into
2204         object names.  Move w_lgamma_compat* routines into
2205         (libm-compat-calls): New variable.
2206         (libm-compat-calls-ldouble-yes): New variable.
2207         (calls): Insert F placeholder.
2208         (generated): Redefine using new type-foreach macro call.
2209         (routines): Likewise.
2211         (types): New variable to hold a list of symbolic names
2212         for each type supported by the target machine.
2213         (libm-routines): Redefine using new types variable.
2214         (type-foreach): macro to replace fooF with the
2215         appropriately suffixed foo for each types.
2217         (type-ldouble-suffix): New variable.
2218         (type-ldouble-routines): Likewise.
2219         (type-ldouble-yes): Likewise.
2220         (type-double-suffix): Likewise.
2221         (type-double-routines): Likewise.
2222         (type-float-suffix): Likewise.
2223         (type-float-routines): Likewise.
2225         (dbl-only-routines): Remove.
2226         (long-c-yes): Likewise.
2227         (long-m-routines): Likewise.
2228         (long-m-support): Likewise.
2229         (long-m-yes): Likewise.
2230         (test-longdouble-yes): Likewise.
2232         (test-float.o): Simplify by increasing the scope of the
2233         recipe which adds libm-test.stmp to the vector types.
2234         (test-ifloat.o): Likewise.
2235         (test-float-finite.o): Likewise.
2236         (test-double.o): Likewise
2237         (test-idouble.o): Likewise.
2238         (test-double-finite.o): Likewise.
2239         (test-ldouble.o): Likewise
2240         (test-ildoubl.o): Likewise.
2241         (test-ldouble-finite.o): Likewise.
2243         (libm-tests): Redefine type tests using foreach and the
2244         list of types in types.
2246         (CPPFLAGS-test-ildoubl.c): Rename to
2247         (CPPFLAGS-test-ildouble.c): New variable
2249         * math/test-ildoubl.c: Rename to
2250         * math/test-ildouble.c: New file.
2252 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2254         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2255         Use fabsl instead of fabs.
2256         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2257         Likewise.
2258         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2259         Add long double suffix to constant to ensure proper
2260         promotion to long double.
2262 2016-08-03  Tom Tromey  <tom@tromey.com>
2264         [BZ #20311]
2265         * nptl_db/Makefile (headers): Add proc_service.h.
2266         * nptl_db/proc_service.h: Add include guard.  Use
2267         __BEGIN/__END_DECLS.
2268         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2269         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2270         arguments.
2273 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2275         [BZ #17730]
2276         Avoid using memalign for TCB allocations.
2277         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2278         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2279         Avoid alignment gap in the TLS_DTV_AT_TP case.
2280         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2281         determine the pointer to free.
2282         * nptl/tst-tls3-malloc.c: New test.
2283         * nptl/Makefile (tests): Add it.
2284         (tst-tls3-malloc): Link with libdl, libpthread.
2285         (LDFLAGS-tst-tls3-malloc): Set.
2286         (tst-tls3-malloc.out): Depend on DSO used in test.
2288 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2290         [BZ #17730]
2291         Avoid using memalign for TLS allocations.
2292         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2293         is_static member with to_free member.
2294         (union dtv): Use struct dtv_pointer.
2295         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2296         dtv_pointer instead of is_static.
2297         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2298         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2299         instead of val.
2300         (allocate_dtv_entry): New function.
2301         (allocate_and_init): Return struct dtv_pointer.  Call
2302         allocate_dtv_entry instead of __libc_memalign.
2303         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2304         instead of val.
2305         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2306         instead of is_static.  Adjust call to allocate_and_init.
2307         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2308         struct dtv_pointer instead of val.
2310 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2312         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2313         (MALLOC_ALIGN_MASK): Move ...
2314         * malloc/malloc-internal.h: ... to here.
2315         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2317 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2319         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2320         (UDP_ENCAP_GTP1U): Likewise.
2322         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2323         (PF_MAX): Update value.
2324         (AF_QIPCRTR): New macro.
2326 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2328         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2329         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2330         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2331         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2332         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2333         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2334         s_truncf-vis3, s_trunc-vis3.
2335         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2336         (CFLAGS-s_ceil-vis3.c): Likewise.
2337         (CFLAGS-s_floorf-vis3.c): Likewise.
2338         (CFLAGS-s_floor-vis3.c): Likewise.
2339         (CFLAGS-s_truncf-vis3.c): Likewise.
2340         (CFLAGS-s_trunc-vis3.c): Likewise.
2341         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2342         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2343         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2344         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2346         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2349         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2350         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2351         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2352         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2354 2016-08-02  David S. Miller  <davem@davemloft.net>
2356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2357         (__nearbyint_vis3): Don't check for sNaN before float register is
2358         loaded with the incoming argument.
2359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2360         (__nearbyintf_vis3): Likewise.
2361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2362         Likewise.
2363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2364         Likewise.
2366         * string/test-strncmp.c (do_test_limit): Make sure the test data
2367         stream is aligned as required for the type "CHAR".
2368         (do_test): Likewise.
2370 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2372         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2373         by beq instructions jumping to the end of the function.
2374         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2375         clobber list. Use "i" constraint instead of "X".
2376         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2377         of "X".
2379 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2381         * bits/libc-header-start.h: New file.
2382         * Makefile (headers): Add bits/libc-header-start.h.
2383         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2384         (__GLIBC_USE): New macro.
2385         * libio/stdio.h: Define
2386         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2387         <bits/libc-header-start.h> instead of including <features.h>.
2388         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2389         (open_memstream): Likewise.
2390         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2391         (__asprintf): Likewise.
2392         (asprintf): Likewise.
2393         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2394         (getdelim): Likewise.
2395         (getline): Likewise.
2396         * string/string.h: Define
2397         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2398         <bits/libc-header-start.h> instead of including <features.h>.
2399         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2400         (strndup): Likewise.
2401         * wcsmbs/wchar.h: Define
2402         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2403         <bits/libc-header-start.h> instead of including <features.h>.
2404         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2405         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2407 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2409         Support linking against compatibility symbols, for use in tests.
2410         * include/libc-symbols.h (symbol_version_reference): New macro.
2411         (symbol_version): Use it.
2412         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2413         (compat_symbol): Use compat_symbol_reference.
2414         (compat_symbol_1, compat_symbol_2): Remove.
2415         (compat_symbol_reference, compat_symbol_reference_1)
2416         (compat_symbol_reference_2): New macro.  Use
2417         symbol_version_reference.
2419 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2421         [BZ #19469]
2422         * malloc/Makefile (CPPFLAGS): Compile tests with
2423         -DTEST_NO_MALLOPT.
2424         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2426 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2428         [BZ #20033]
2429         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2430         finite version.
2431         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2432         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2433         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2434         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2435         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2436         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2437         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2438         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2440         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2441         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2442         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2443         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2444         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2446         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2447         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2448         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2449         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2450         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2451         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2452         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2453         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2454         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2455         in zero power.
2457 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2459         [BZ #20370]
2460         * malloc/arena.c (get_free_list): Update comment.  Assert that
2461         arenas on the free list have no attached threads.
2462         (remove_from_free_list): New function.
2463         (reused_arena): Call it.
2465 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2467         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2468         when it is a NaN.
2469         [_IEEE_FP_INEXACT] Remove.
2470         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2471         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2472         when it is a NaN.
2473         [_IEEE_FP_INEXACT] Remove.
2474         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2475         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2476         when it is a NaN.
2477         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2478         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2479         when its absolute value is greater than 0x1.0p52.
2480         [_IEEE_FP_INEXACT] Remove.
2481         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2482         when its absolute value is greater than 0x1.0p23.
2483         [_IEEE_FP_INEXACT] Remove.
2485 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2487         * version.h (RELEASE): Set to "development"
2488         (VERSION): Set to 2.24.90.
2489         * NEWS: Add 2.25 section.
2491         * version.h (RELEASE): Set to "stable"
2492         (VERSION): Set to 2.24.
2493         * include/features.h (__GLIBC_MINOR__): Set to 24.
2495         * NEWS: Add 2.24 fixed bugs.
2496         * po/libc.pot: Regenerate.
2498 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2501         [$(subdir) = math] (libm-sysdep_routines): Remove.
2502         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2503         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2504         s_truncf-vis3, s_trunc-vis3.
2505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2507         file.
2508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2533         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2534         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2537         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2541         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2542         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2543         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2544         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2545         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2546         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2547         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2548         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2549         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2550         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2552 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2554         [BZ #20384]
2555         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2556         test-double-libmvec-sincos-avx-main.o,
2557         test-double-libmvec-sincos-avx2-main.o,
2558         test-double-libmvec-sincos-main.o,
2559         test-float-libmvec-sincosf-avx-main.o,
2560         test-float-libmvec-sincosf-avx2-main.o and
2561         test-float-libmvec-sincosf-main.o.
2562         test-float-libmvec-sincosf-avx512-main.o.
2563         ($(objpfx)test-double-libmvec-sincos): Also link with
2564         $(objpfx)test-double-libmvec-sincos-main.o.
2565         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2566         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2567         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2568         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2569         ($(objpfx)test-float-libmvec-sincosf): Also link with
2570         $(objpfx)test-float-libmvec-sincosf-main.o.
2571         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2572         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2573         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2574         test-double-libmvec-sincos-avx512-main.o and
2575         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2576         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2577         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2578         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2579         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2580         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2581         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2582         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2583         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2584         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2585         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2586         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2587         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2588         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2589         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2590         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2591         -DREQUIRE_AVX2.
2592         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2593         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2594         -DREQUIRE_AVX512F.
2595         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2596         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2597         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2598         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2599         file.
2600         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2601         Likewise.
2602         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2603         Likewise.
2604         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2605         Likewise.
2606         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2607         Likewise.
2608         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2609         Likewise.
2610         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2611         Likewise.
2612         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2613         Likewise.
2615 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2617         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2619 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2621         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2622         and typo in a comment about AT_HWCAP entry.
2624 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2626         * sysdeps/aarch64/libm-test-ulps: Updated.
2628 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2630         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2631         of r13 as it is not restored in mvcle case.
2633 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2635         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2636         Rename "ret" to "__ret".
2637         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2638         inline_syscall5, inline_syscall6): Likewise.
2640 2016-07-19   Will Newton  <will.newton@gmail.com>
2642         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2643         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2644         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2645         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2646         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2648 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2650         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2651         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2652         -mfpmath=387 with $(rtld-CFLAGS).
2653         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2654         $(rtld-CFLAGS).
2656 2016-07-18   Ross Burton  <ross.burton@intel.com>
2657              Khem Raj  <raj.khem@gmail.com>
2659         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2660         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2661         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2662         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2663         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2664         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2665         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2666         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2667         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2668         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2669         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2670         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2671         R_METAG_TLS_DTPOFF): New.
2673 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2674             Matt Clay  <mclay@lycos.com>
2676         [BZ #20357]
2677         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2678         to call __mpsin/__mpcos and to negate values.
2679         * math/auto-libm-test-in: Add test.
2680         * math/auto-libm-test-out: Regenerate.
2682 2016-07-18  Zack Weinberg  <zackw@panix.com>
2684         * grp/Makefile: Don't install the internal header grp-merge.h.
2686 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2688         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2690 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2692         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2694 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2696         [BZ #15368]
2697         * sysdeps/unix/sysv/linux/nptl-signals.h
2698         (__nptl_clear_internal_signals): New function.
2699         (__libc_signal_block_all): Likewise.
2700         (__libc_signal_block_app): Likewise.
2701         (__libc_signal_restore_set): Likewise.
2702         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2703         implementation.
2704         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2705         the cached pid/tid value in pthread structure.
2707 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2709         [BZ #20347]
2710         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2712 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2714         [BZ #20348]
2715         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2716         preadv64, pwrite64 and pwritev64.
2718 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2720         [BZ #20350]
2721         * posix/tst-preadwrite.c: Renamed to ...
2722         * posix/tst-preadwrite-common.c: This.
2723         (PREAD): Removed.
2724         (PWRITE): Likewise.
2725         (STRINGIFY): Likewise.
2726         (STRINGIFY2): Likewise.
2727         (do_prepare): Make it static and remove function arguments.
2728         (do_test): Likewise.
2729         (PREPARE): Updated.
2730         (TEST_FUNCTION): New.
2731         (name): Make it static.
2732         (fd): Likewise.
2733         (do_prepare): Use create_temp_file.
2734         (do_test): Renamed to ...
2735         (do_test_with_offset): This.  Make it static and accept offset.
2736         Properly check return value of PWRITE and PREAD.  Return bytes
2737         read.  Don't close fd nor unlink name.
2738         * posix/tst-preadwrite.c: Rewrite.
2739         * posix/tst-preadwrite64.c: Likewise.
2741 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2743         [BZ #20309]
2744         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2745         -mtls-dialect=gnu2 works.
2746         * configure: Regenerated.
2747         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2748         (tests): Add tst-gnu2-tls1.
2749         (modules-names): Add tst-gnu2-tls1mod.
2750         ($(objpfx)tst-gnu2-tls1): New.
2751         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2752         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2753         * elf/tst-gnu2-tls1.c: New file.
2754         * elf/tst-gnu2-tls1mod.c: Likewise.
2755         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2756         bytes for push in the PLT entry to align the stack.
2758 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2760         [BZ #20349]
2761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2763 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2765         [BZ #18707]
2766         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2767         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2769 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2771         * sysdeps/unix/sysv/linux/sysdep.h
2772         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2773         guards.
2774         * misc/tst-preadvwritev-common.c: New file.
2775         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2776         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2777         a check for files larger than 2GB.
2779         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2780         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2781         * sysdeps/unix/sysv/linux/pread.c
2782         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2783         __OFF_T_MATCHES_OFF64_T.
2784         * sysdeps/unix/sysv/linux/pread64.c
2785         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2786         * sysdeps/unix/sysv/linux/preadv.c
2787         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2788         * sysdeps/unix/sysv/linux/preadv64.c
2789         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2790         * sysdeps/unix/sysv/linux/pwrite.c
2791         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2792         * sysdeps/unix/sysv/linux/pwrite64.c
2793         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2794         * sysdeps/unix/sysv/linux/pwritev.c
2795         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2796         * sysdeps/unix/sysv/linux/pwritev64.c
2797         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2799 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2801         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2802         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2804 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2806         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2808 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2810         [BZ #20240]
2811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2812         (CFLAGS-s_modf-ppc32.c): New variable.
2813         (CFLAGS-s_modff-ppc32.c): Likewise.
2814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2815         (CFLAGS-s_modf-ppc64.c): Likewise.
2816         (CFLAGS-s_modff-ppc64.c): Likewise.
2818 2016-07-07  Andreas Schwab  <schwab@suse.de>
2820         [BZ #20263]
2821         * nptl/tst-robust10.c: New test.
2822         * nptl/Makefile (tests): Add tst-robust10.
2824 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2826         [BZ #20263]
2827         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2829 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2831         * sysdeps/s390/linkmap.h (struct link_map_machine):
2832         Remove member gotplt and add member jmprel.
2833         * sysdeps/s390/s390-32/dl-machine.h
2834         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2835         instead of gotplt with &got[3].
2836         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2837         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2839 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2841         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2843 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2845         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2846         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2847         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2848         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2849         * libio/vtables.c (_IO_vtable_check)
2850         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2851         * libio/libioP.h (IO_set_accept_foreign_vtables)
2852         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2854 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2856         [BZ #20314]
2857         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2858         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2859         $(common-objpfx)cmath.
2860         ($(common-objpfx)cstdlib): New target.
2861         ($(common-objpfx)cmath): Likewise.
2863 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2865         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2867 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2869         [BZ #20327]
2870         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2871         are not part of the string.
2873 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2875         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2876         * nptl/tst-cancel4-common.h (fifoname): New variable.
2877         (fifofd): Likewise.
2878         (cl_fifo): New function.
2879         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2880         SIGINT.
2881         (tf_open): Add early cancel test.
2883 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2885         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2887 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2889         * sysdeps/generic/ldsodefs.h
2890         (dl_symbol_visibility_binds_local_p): New inline function.
2891         * elf/dl-addr.c (determine_info): Treat hidden and internal
2892         symbols as local.
2893         * elf/dl-lookup.c (do_lookup_x): Likewise.
2894         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2896 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2898         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2899         invalid exception for a sNaN input.
2900         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2901         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2902         (__nearbyint_vis3): Likewise
2903         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2904         (__nearbyintf_vis3): Likewise
2905         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2906         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2907         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2908         Likewise.
2909         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2910         Likewise.
2912 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2914         [BZ #20139]
2915         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2916         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2917         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2918         2.24 or above.
2919         (HAVE_AVX512_ASM_SUPPORT): Removed.
2920         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2921         * sysdeps/x86_64/configure: Regenerated.
2922         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2923         check unconditional.
2924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2925         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2926         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2927         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2928         Likewise.
2929         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2930         Likewise.
2931         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2932         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2933         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2934         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2935         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2936         Likewise.
2937         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2938         Likewise.
2939         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2941         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2942         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2944         Likewise.
2945         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2946         Likewise.
2947         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2948         Likewise.
2949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2950         Likewise.
2951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2952         Likewise.
2953         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2954         Likewise.
2955         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2956         Likewise.
2957         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2958         Likewise.
2959         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2960         Likewise.
2961         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2962         Likewise.
2963         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2964         Likewise.
2966 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2968         [BZ #20024]
2969         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2970         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2971         of this implementation of vector function.
2972         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2973         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2975         Likewise.
2976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2977         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2978         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2979         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2980         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2981         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2982         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2983         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2984         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2985         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2986         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2987         for testing vector sincos with fixed ABI.
2988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2989         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2990         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2991         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2992         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2993         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2994         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2995         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2996         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2997         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2998         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2999         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3000         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3001         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3002         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3003         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3005 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3007         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3009 2016-06-30  Anton Blanchard  <anton@samba.org>
3011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3012         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3013         s_sinf-ppc64.
3014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3017         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3019 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3023         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3024         e_expf-ppc64.
3025         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3026         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3027         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3028         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3030 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3032         [BZ #20277]
3033         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3034         when SHARED is defined.
3036 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3038         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3039         (index_arch_Prefer_ERMS): Likewise.
3040         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3041         __memcpy_erms for Prefer_ERMS.
3042         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3043         (__memmove_erms): Enabled for libc.a.
3044         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3045         __memmove_erms or Prefer_ERMS.
3046         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3047         __mempcpy_erms for Prefer_ERMS.
3048         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3049         __memset_erms for Prefer_ERMS.
3051 2016-06-30  Andreas Schwab  <schwab@suse.de>
3053         [BZ #20262]
3054         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3055         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3056         of memory.
3058 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3060         [BZ #18645]
3061         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3062         (test-extras): Add tst-cleanupx4aux.
3063         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3064         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3065         tst-cleanupx4aux.o.
3066         * nptl/tst-cleanupx4aux.c: New file.
3068 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3070         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3072 2016-06-29  Andreas Schwab  <schwab@suse.de>
3074         [BZ #20260]
3075         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3076         address before the beginning of the string as an integer to avoid
3077         array-bounds warning.
3079 2016-06-28  Richard Henderson  <rth@redhat.com>
3081         * elf/elf.h (EM_BPF): New.
3082         (EM_NUM): Update.
3083         (R_BPF_NONE, R_BPF_MAP_FD): New.
3085         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3086         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3087         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3088         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3089         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3090         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3091         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3092         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3093         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3094         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3095         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3096         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3097         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3098         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3099         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3100         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3101         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3102         (EM_NUM): Update.
3104 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3106         [BZ #18960]
3107         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3108         Set _nl_current_LC_CATEGORY_used to two instead of one.
3110 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3112         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3113         (do_test): ... this.
3114         (TEST_FUNCTION): New macro.
3115          Include test-skeleton.c.
3116         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3117         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3119 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3121         [BZ #15479]
3122         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3123         floating-point environment rather than just control word.
3124         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3125         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3126         floating-point environment, with "invalid" exceptions merged in,
3127         rather than just control word.
3128         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3129         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3130         "inexact" exceptions.
3132         [BZ #15479]
3133         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3134         floating-point environment rather than just control word.
3135         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3136         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3137         floating-point environment, with "invalid" exceptions merged in,
3138         rather than just control word.
3139         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3140         * math/libm-test.inc (floor_test_data): Do not allow spurious
3141         "inexact" exceptions.
3143         [BZ #15479]
3144         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3145         floating-point environment rather than just control word.
3146         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3147         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3148         floating-point environment, with "invalid" exceptions merged in,
3149         rather than just control word.
3150         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3151         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3152         "inexact" exceptions.
3154 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3156         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3157         __libc_vfork.
3158         (__vfork) [IS_IN (libc)]: Remove alias.
3159         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3160         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3161         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3163 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3165         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3166         of atomic_compare_and_exchange_bool_rel.
3167         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3168         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3169         catomic_compare_and_exchange_bool_rel): Remove.
3170         * sysdeps/aarch64/atomic-machine.h
3171         (atomic_compare_and_exchange_bool_rel): Likewise.
3172         * sysdeps/alpha/atomic-machine.h
3173         (atomic_compare_and_exchange_bool_rel): Likewise.
3174         * sysdeps/arm/atomic-machine.h
3175         (atomic_compare_and_exchange_bool_rel): Likewise.
3176         * sysdeps/mips/atomic-machine.h
3177         (atomic_compare_and_exchange_bool_rel): Likewise.
3178         * sysdeps/microblaze/atomic-machine.h
3179         ( __arch_compare_and_exchange_bool_8_rel,
3180         __arch_compare_and_exchange_bool_16_rel): Likewise.
3181         * sysdeps/powerpc/atomic-machine.h
3182         ( __arch_compare_and_exchange_bool_8_rel,
3183         __arch_compare_and_exchange_bool_16_rel): Likewise.
3184         * sysdeps/powerpc/powerpc32/atomic-machine.h
3185         ( __arch_compare_and_exchange_bool_32_rel,
3186         __arch_compare_and_exchange_bool_64_rel): Likewise.
3187         * sysdeps/powerpc/powerpc64/atomic-machine.h
3188         ( __arch_compare_and_exchange_bool_32_rel,
3189         __arch_compare_and_exchange_bool_64_rel): Likewise.
3190         * sysdeps/tile/atomic-machine.h
3191         (atomic_compare_and_exchange_bool_rel): Likewise.
3193 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3195         [BZ #20296]
3196         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3197         when either argument is a NaN.
3198         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3199         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3201         * math/libm-test.inc (snan_value_ld): New macro.
3202         (isgreater_test_data): Add sNaN tests.
3203         (isgreaterequal_test_data): Likewise.
3204         (isless_test_data): Likewise.
3205         (islessequal_test_data): Likewise.
3206         (islessgreater_test_data): Likewise.
3207         (isunordered_test_data): Likewise.
3208         (nextafter_test_data): Likewise.
3209         (nexttoward_test_data): Likewise.
3210         (remainder_test_data): Likewise.
3211         (remquo_test_data): Likewise.
3212         (significand_test_data): Likewise.
3213         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3215 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3217         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3218         environment macros are defined.
3219         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3221 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3223         [BZ #20191]
3224         Implement vtable verification in libio.
3225         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3226         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3227         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3228         _IO_new_file_init_internal instead of _IO_file_init.
3229         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3230         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3231         * libio/Makefile (routines): Add vtables.
3232         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3233         (_IO_init): Remove, not for internal use.
3234         (_IO_init_internal): Declare, internal replacement for _IO_init.
3235         (_IO_file_init): Remove, not for internal use.
3236         (_IO_new_file_init): Remove, not for internal use.
3237         (_IO_new_file_init_internal): Declare, internal replacement for
3238         _IO_new_file_init.
3239         (_IO_old_file_init): Remove, not for internal use.
3240         (_IO_old_file_init_internal): Declare, internal replacement for
3241         _IO_old_file_init.
3242         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3243         internal use.
3244         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3245         Declare.
3246         (libio_vtable): New macro.
3247         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3248         functions.
3249         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3250         _IO_new_file_init.
3251         (_IO_new_file_init): New externally visible wrapper which disables
3252         vtable verification.
3253         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3254         Define as vtables.
3255         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3256         (_IO_init): New externally visible wrapper which disables
3257         vtable verification.
3258         * libio/iofdopen.c (_IO_new_fdopen): Call
3259         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3260         comment.
3261         * libio/iofopen.c (__fopen_internal): Call
3262         _IO_new_file_init_internal instead of _IO_file_init.
3263         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3264         Define as vtables.
3265         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3266         _IO_new_file_init_internal instead of _IO_file_init.
3267         * libio/iopopen.c (_IO_new_popen): Likewise.
3268         (_IO_proc_jumps): Define as vtable.
3269         * libio/iovdprintf.c (_IO_vdprintf): Call
3270         _IO_new_file_init_internal instead of _IO_file_init.
3271         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3272         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3273         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3274         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3275         _IO_old_file_init.
3276         (_IO_old_file_init): New externally visible wrapper which disables
3277         vtable verification.
3278         (_IO_old_file_jumps): Define as vtable.
3279         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3280         _IO_old_file_init_internal instead of _IO_old_file_init.
3281         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3282         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3283         (_IO_old_proc_jumps): Define as vtable.
3284         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3285         Define as vtables.
3286         * libio/vtables.c: New file.
3287         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3288         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3289         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3290         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3291         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3292         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3293         instead of _IO_init.
3295 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3297         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3299 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3301         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3302         potentially unused.
3304 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3306         * test-skeleton.c (write_message): New function.
3307         * malloc/tst-mallocfork2.c (write_message): Remove.
3308         * debug/tst-longjmp_chk2.c (write_indented): New function.
3309         (write_message): Remove.
3310         (stackoverflow_handler): Call write_indented.
3312 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3314         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3315         "inexact" exceptions after fnstenv.
3316         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3317         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3318         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3320 2015-06-22  Zack Weinberg  <zackw@panix.com>
3322         * sysdeps/generic/bits/hwcap.h: Moved to ...
3323         * bits/hwcap.h: Here.
3325 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3327         * sysdeps/aarch64/memcpy.S (memcpy):
3328         Further tuning for performance.
3330 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3332         [BZ #20284]
3333         * malloc/arena.c (reused_arena): Do not return NULL if we start
3334         out with a non-corrupted arena.
3336 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3338         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3339         * misc/tst-preadvwritev.c: New file.
3340         * misc/tst-preadvwritev64.c: Likewise.
3341         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3342         usage.
3343         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3344         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3345         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3346         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3348 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3350         [BZ #19654]
3351         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3352         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3353         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3354         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3355         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3356         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3357         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3358         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3359         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3360         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3361         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3362         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3363         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3364         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3365         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3366         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3367         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3368         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3369         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3370         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3371         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3372         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3373         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3374         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3375         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3376         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3378 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3380         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3381         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3383 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3385         * sysdeps/aarch64/memcpy.S (memcpy):
3386         Rewrite of optimized memcpy and memmove.
3387         * sysdeps/aarch64/memmove.S (memmove): Remove
3388         memmove code (merged into memcpy.S).
3390 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3392         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3393         * sysdeps/generic/dl-dtv.h: New file.
3394         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3395         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3396         (dtv_t): Remove.
3397         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3398         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3399         (dtv_t): Remove.
3400         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3401         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3402         (dtv_t): Remove.
3403         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3404         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3405         (dtv_t): Remove.
3406         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3407         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3408         (dtv_t): Remove.
3409         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3410         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3411         (dtv_t): Remove.
3412         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3413         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3414         (dtv_t): Remove.
3415         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3416         (dtv_t): Remove.
3417         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3418         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3419         (dtv_t): Remove.
3420         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3421         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3422         (dtv_t): Remove.
3423         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3424         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3425         (dtv_t): Remove.
3426         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3427         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3428         (dtv_t): Remove.
3429         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3430         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3431         (dtv_t): Remove.
3432         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3433         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3434         (dtv_t): Remove.
3435         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3436         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3437         (dtv_t): Remove.
3438         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3439         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3440         (dtv_t): Remove.
3442 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3444         Revert symbol poisoning of  __malloc_initialize_hook.
3445         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3446         poisoning.
3447         * malloc/Makefile: Remove un-poisoning.
3448         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3449         instead of old__malloc_initialize_hook.
3450         * malloc/malloc-hooks.h: Likewise.
3451         * malloc/malloc.c: Likewise.
3452         * malloc/mcheck-init.c: Likewise.
3454 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3456         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3458 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3460         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3461         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3462         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3463         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3465 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3467         * NEWS: Mention addition of nextup and nextdown.
3468         * manual/arith.texi: Document nextup and nextdown.
3469         * manual/libm-err-tab.pl: Add nextup and nextdown.
3470         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3471         * math/Versions (libm): Add GLIBC_2.24.
3472         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3473         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3474         Add new test.
3475         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3476         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3477         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3478         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3479         (nextup_test_data): Likewise.
3480         (nextdown_test_data): Likewise.
3481         * math/s_nextdown.c: New file.
3482         * math/s_nextdownf.c: Likewise.
3483         * math/s_nextdownl.c: Likewise.
3484         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3485         F(nextup): New function.
3486         F(nextdown): Likewise.
3487         * math/tgmath.h: Add nextup and nextdown.
3488         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3489         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3490         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3491         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3492         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3493         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3494         Add nextup and nextdown.
3495         (CFLAGS-nldbl-nextup.c): New variable.
3496         (CFLAGS-nldbl-nextdown.c): Likewise.
3497         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3498         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3499         * sysdeps/nacl/libm.abilist: Update.
3500         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3501         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3502         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3503         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3504         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3505         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3506         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3507         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3508         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3509         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3510         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3511         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3514         Likewise.
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3517         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3519         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3524         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3525         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3529 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3531         * manual/pattern.texi: Fix typos & grammar errors.
3533 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3535         * manual/search.texi: Fix typos & grammar errors.
3537 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3539         * manual/message.texi: Fix typos & grammar errors.
3541 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3543         * manual/contrib.texi: Fix spelling typos.
3544         * manual/crypt.texi: Likewise.
3545         * manual/filesys.texi: Likewise.
3546         * manual/locale.texi: Likewise.
3547         * manual/message.texi: Likewise.
3548         * manual/nss.texi: Likewise.
3549         * manual/string.texi: Likewise.
3551 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3553         * manual/locale.texi: Fix typos & grammar errors.
3555 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3557         * manual/charset.texi: Fix typos & grammar errors.
3559 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3561         * manual/string.texi: Fix typos.
3563 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3565         * manual/ctype.texi: Fix typos.
3567 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3569         * manual/memory.texi: Fix various typos & grammar errors.
3571 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3573         [BZ #20255]
3574         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3575         * math/libm-test.inc (fdim_test_data): Add another test.
3577         [BZ #6796]
3578         [BZ #20255]
3579         [BZ #20256]
3580         * math/s_fdim.c: Include <math_private.h>.
3581         (__fdim): Use math_narrow_eval on result.
3582         * math/s_fdimf.c: Include <math_private.h>.
3583         (__fdimf): Use math_narrow_eval on result.
3584         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3585         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3586         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3587         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3588         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3589         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3590         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3591         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3592         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3593         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3594         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3595         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3596         overflow.  Add sNaN tests.
3598         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3599         fpclassify.
3600         * math/s_fdimf.c (__fdimf): Likewise.
3601         * math/s_fdiml.c (__fdiml): Likewise.
3603 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3605         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3606         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3608         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3609         ifunc'ed strcasecmp/strncasecmp.
3610         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3611         [EALIGN]: Removed.
3612         [END]: Likewise.
3613         [__strcasecmp]: Define instead of the above to control symbol name.
3614         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3615         for __strcasecmp_power8.
3616         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3617         for __strncasecmp_power8.
3618         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3619         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3620         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3621         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3622         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3623         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3625 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3627         [BZ #20252]
3628         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3629         arguments when second argument is a NaN.
3630         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3631         qNaN tests.
3633         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3634         (conj_test_data): Likewise.
3635         (copysign_test_data): Likewise.
3636         (creal_test_data): Likewise.
3637         (fma_test_data): Likewise.
3638         (fmod_test_data): Likewise.
3640         [BZ #20250]
3641         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3642         itself.
3643         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3644         zero input to itself.
3645         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3646         Likewise.
3647         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3648         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3649         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3650         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3651         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3653 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3655         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3656         * nptl/tst-cancel4-common.c: New file.
3657         * nptl/tst-cancel4-common.h: Likewise.
3658         * nptl/tst-cancel4.c: Move common definitions to
3659         tst-cancel4-common.{c,h} file.
3660         * nptl/tst-cancel4_1.c: New test.
3661         * nptl/tst-cancel4_2.c: New test.
3663 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3665         [BZ #20248]
3666         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3667         (write_message): New function.
3668         (stackoverflow_handler): Call it instead of printf, to avoid
3669         excessive stack usage by printf.
3670         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3672 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3674         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3675         (prio_inherit_missing): Remove define.
3676         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3677         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3678         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3679         Likewise.
3680         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3681         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3682         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3683         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3684         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3685         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3687 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3689         [BZ #19670]
3690         [BZ #19672]
3692         * io/test-lfs.c (do_prepare): Use xmalloc.
3693         * io/tst-fcntl.c (do_prepare): Likewise.
3694         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3695         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3696         * login/tst-utmp.c (do_prepare): Likewise.
3697         * posix/tst-exec.c (do_prepare): Likewise.
3698         * posix/tst-pathconf.c (prepare): Likewise.
3699         * posix/tst-spawn.c (do_prepare): Likewise.
3700         * posix/tst-truncate.c (do_prepare): Likewise.
3701         * rt/tst-aio.c (do_prepare): Likewise.
3702         * rt/tst-aio64.c (do_prepare): Likewise.
3704 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3706         [BZ #20237]
3707         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3708         (get*ent): Set entidx to NULL during initialization.  If entidx is
3709         NULL, start iteration from the beginning.
3711 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3713         * malloc/malloc.c (musable): Return correct size for dumped fake
3714         mmapped chunk.
3716 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3718         [BZ #20222]
3719         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3720         (_IO_cookie_write): Likewise.
3721         (_IO_cookie_seek): Likewise.
3722         (_IO_cookie_close): Likewise.
3723         (_IO_old_cookie_seek): Likewise.
3724         (set_callbacks): New function.
3725         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3727 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3729         * locale/programs/localedef.c (oldstyle_tables): Remove.
3730         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3732 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3734         [BZ #20240]
3735         * math/Makefile (CFLAGS-s_modf.c): New variable.
3736         (CFLAGS-s_modff.c): Likewise.
3737         (CFLAGS-s_modfl.c): Likewise.
3738         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3740 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3742         [BZ #20215]
3743         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3744         [!__GNUC_PREREQ (3,2)]: Likewise.
3746 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3748         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3749         (msghdr.msg_controllen): Likewise.
3750         (cmsghdr.cmsg_len): Likewise.
3751         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3752         ptw-oldsendmsg.
3753         (CFLAGS-oldrecvmsg.c): Remove rule.
3754         (CFLAGS-oldsendmsg.c): Likewise.
3755         (CFLAGS-recvmsg.c): Add rule.
3756         (CFLAGS-sendmsg.c): Likewise.
3757         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3758         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3759         (CFLAGS-recvmsg.c): Remove rule.
3760         (CFLAGS-sendmsg.c): Likewise.
3761         (CFLAGS-oldrecvmsg.c): Likewise.
3762         (CFLAGS-oldsendmsg.c): Likewise.
3763         (CFLAGS-recvmmsg.c): Likewise.
3764         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3765         to kernel defined interfaces.
3766         (msghdr.msg_controllen): Likewise.
3767         (cmsghdr.cmsg_len): Likewise.
3768         (msghdr.__glibc_reserved1): Remove member.
3769         (msghdr.__glibc_reserved2): Likewise.
3770         (cmsghdr.__glibc_reserved1): Likewise.
3771         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3772         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3773         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3774         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3775         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3776         version.
3777         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3778         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3779         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3780         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3781         Remove recvmsg and sendmsg.
3782         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3783         Likewise.
3784         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3785         Likewise.
3786         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3787         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3788         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3789         Likewise.
3790         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3791         Likewise.
3792         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3793         [libc] (GLIBC_2.24): Likewise.
3794         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3795         Likewise.
3796         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3797         Likewise.
3798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3799         [libc] (GLIBC_2.24): Likewise.
3800         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3801         Likewise.
3802         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3803         Likewise.
3804         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3805         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3806         Likewise.
3807         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3808         Likewise.
3809         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3810         Likewise.
3811         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3812         Likewise.
3813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3814         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3815         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3816         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3817         version for {recv,send,recm,sendm}msg.
3818         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3819         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3820         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3821         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3822         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3823         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3824         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3825         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3826         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3827         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3828         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3829         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3831         Likewise.
3832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3833         Likewise.
3834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3836         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3837         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3838         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3839         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3840         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3841         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3844         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3845         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3846         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3848 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3850         [BZ #19564]
3851         Remove __malloc_initialize_hook from the API.
3852         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3853         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3854         #pragma GCC poison.
3855         * malloc/malloc-hooks.h: New file.
3856         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3857         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3858         (old__malloc_initialize_hook): Rename from
3859         __malloc_initialize_hook to evade poisoning.  Turn into compat
3860         symbol.
3861         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3862         __malloc_initialize_hook.
3863         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3864         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3865         * manual/memory.texi (Hooks for Malloc): Remove
3866         __malloc_initialize_hook.  Adjust hook example.
3868 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3870         [BZ #20235]
3871         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3872         itself.
3873         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3874         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3876         [BZ #20234]
3877         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3878         infinity or NaN input to itself.
3880         [BZ #20233]
3881         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3882         to itself.
3884         [BZ #20232]
3885         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3886         itself.
3888 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3890         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3891         __libc_start_main via GOT.
3893 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3895         * sysdeps/x86_64/memcopy.h: New file.
3896         * sysdeps/x86_64/wordcopy.c: Likewise.
3898 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3900         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3901         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3902         <cstdlib>.
3903         (optimization_barrier): New.
3904         (do_test): Use it.  Call quick_exit in the global namespace.
3905         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3906         instead of <cstdlib>, <thread>.
3907         (optimization_barrier): New.
3908         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3909         Call quick_exit in the global namespace.
3910         (do_test): Call optimization_barrier.  Use pthread_create,
3911         pthread_join instead of std::thread.
3913 2016-06-09  Andreas Schwab  <schwab@suse.de>
3915         [BZ #19755]
3916         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3917         new entries in auto-propagate mode.
3918         * nscd/grpcache.c (cache_addgr): Likewise.
3920 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3922         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3923         New functions.
3924         (add_temp_file): Use them.
3926 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3928         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3930 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3932         [BZ #20229]
3933         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3934         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3935         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3937         [BZ #20228]
3938         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3939         itself.
3940         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3941         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3943         [BZ #20227]
3944         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3945         itself.
3946         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3947         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3948         * math/libm-test.inc (log_test_data): Add sNaN tests.
3950         [BZ #20226]
3951         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3952         itself.
3953         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3954         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3955         (exp10_test_data): Likewise.
3956         (expm1_test_data): Likewise.
3958         [BZ #20225]
3959         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3960         itself.
3961         * math/s_ldexpf.c (__ldexpf): Likewise.
3962         * math/s_ldexpl.c (__ldexpl): Likewise.
3963         * math/w_scalbln.c (__w_scalbln): Likewise.
3964         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3965         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3966         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3967         (scalbln_test_data): Likewise.
3969         [BZ #20224]
3970         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3971         argument to itself.
3972         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3974 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3976         [BZ #19776]
3977         * sysdeps/x86_64/memcpy.S: Make it dummy.
3978         * sysdeps/x86_64/mempcpy.S: Likewise.
3979         * sysdeps/x86_64/memmove.S: New file.
3980         * sysdeps/x86_64/memmove_chk.S: Likewise.
3981         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3982         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3983         * sysdeps/x86_64/memmove.c: Removed.
3984         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3985         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3986         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3987         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3988         Likewise.
3989         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3990         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3992         memcpy-sse2-unaligned, memmove-avx-unaligned,
3993         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3995         (__libc_ifunc_impl_list): Replace
3996         __memmove_chk_avx512_unaligned_2 with
3997         __memmove_chk_avx512_unaligned.  Remove
3998         __memmove_chk_avx_unaligned_2.  Replace
3999         __memmove_chk_sse2_unaligned_2 with
4000         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4001         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4002         with __memmove_avx512_unaligned.  Replace
4003         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4004         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4005         with __memcpy_chk_avx512_unaligned.  Remove
4006         __memcpy_chk_avx_unaligned_2.  Replace
4007         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4008         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4009         Replace __memcpy_avx512_unaligned_2 with
4010         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4011         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4012         with __mempcpy_chk_avx512_unaligned.  Remove
4013         __mempcpy_chk_avx_unaligned_2.  Replace
4014         __mempcpy_chk_sse2_unaligned_2 with
4015         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4016         Replace __mempcpy_avx512_unaligned_2 with
4017         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4018         Replace __mempcpy_sse2_unaligned_2 with
4019         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4020         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4021         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4022         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4023         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4024         (ENTRY): Removed.
4025         (END): Likewise.
4026         (ENTRY_CHK): Likewise.
4027         (libc_hidden_builtin_def): Likewise.
4028         Don't include ../memcpy.S.
4029         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4030         __memcpy_chk_avx512_unaligned_erms and
4031         __memcpy_chk_avx512_unaligned.  Use
4032         __memcpy_chk_avx_unaligned_erms and
4033         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4034         Default to __memcpy_chk_sse2_unaligned.
4035         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4036         Change function suffix from unaligned_2 to unaligned.
4037         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4038         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4039         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4040         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4041         (ENTRY): Removed.
4042         (END): Likewise.
4043         (ENTRY_CHK): Likewise.
4044         (libc_hidden_builtin_def): Likewise.
4045         Don't include ../mempcpy.S.
4046         (mempcpy): New.  Add a weak alias.
4047         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4048         __mempcpy_chk_avx512_unaligned_erms and
4049         __mempcpy_chk_avx512_unaligned.  Use
4050         __mempcpy_chk_avx_unaligned_erms and
4051         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4052         Default to __mempcpy_chk_sse2_unaligned.
4054 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4056         [BZ #19881]
4057         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4058         into ...
4059         * sysdeps/x86_64/memset.S: This.
4060         (__bzero): Removed.
4061         (__memset_tail): Likewise.
4062         (__memset_chk): Likewise.
4063         (memset): Likewise.
4064         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4065         defined.
4066         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4067         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4068         (__memset_zero_constant_len_parameter): Check SHARED instead of
4069         PIC.
4070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4071         memset-avx2 and memset-sse2-unaligned-erms.
4072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4073         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4074         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4075         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4076         (__bzero): Enabled.
4077         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4078         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4079         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4080         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4081         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4082         (memset): Removed.
4083         (__memset_chk): Likewise.
4084         (MEMSET_SYMBOL): New.
4085         (libc_hidden_builtin_def): Replace __memset_sse2 with
4086         __memset_sse2_unaligned.
4087         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4088         __memset_chk_sse2 and __memset_chk_avx2 with
4089         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4090         Use __memset_chk_sse2_unaligned_erms or
4091         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4092         __memset_chk_avx512_unaligned_erms and
4093         __memset_chk_avx512_unaligned.
4095 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4097         * math/gen-auto-libm-test.c (fp_format_desc): remove
4098         suffix member.
4099         (output_generic_value): Remove usage of suffix member,
4100         and the resulting unuse of the fp_format argument.
4101         (output_for_one_input_case): Remove unused fp_format
4102         parameter.
4104         * math/auto-libm-test-out: Regenerate.
4106         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4107         usage with TEST_COND_ibm128.
4108         (TEST_COND_flt_32): Remove.
4109         (TEST_COND_dbl_64): Remove.
4110         (TEST_COND_ldbl_96_intel): Remove.
4111         (TEST_COND_ldbl_96_m68k): Remove.
4112         (TEST_COND_ldbl_128): Remove.
4114 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4116         * auto-libm-test-in:
4117         Replace flt-32 usage with binary32.
4118         Replace dbl-64 usage with binary64.
4119         Replace ldbl-intel-96 usage with intel96.
4120         Replace ldbl-m68k-96 usage with m68k96.
4121         Replace ldbl-128ibm usage with ibm128.
4122         Replace ldbl-128 usage with binary128.
4124         * auto-libm-test-out: Regenerate.
4126 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4128         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4129         (parse_ulps): Dynamically generate type name matching
4130         string from all_floats.
4131         (get_ulps): Generate the ulps as an array instead.
4132         (output_ulps): Dynamically compose the type based
4133         on the number of supported formats, and print
4134         the indices as type specific helper macros.
4136         * math/libm-test.inc: Remove comment about CHOOSE.
4137         (ulp_data): Generate the type in libm-test-ulps.h.
4138         (ULP_IDX): New macro.
4139         (find_ulps): Update usage of max_ulp.
4141         * math/test-double-vlen2.h (CHOOSE): Remove.
4142         * math/test-double-vlen4.h (CHOOSE): Likewise.
4143         * math/test-double-vlen8.h (CHOOSE): Likewise.
4144         * math/test-float.c (CHOOSE): Likewise.
4145         * math/test-float-finite.c (CHOOSE): Likewise.
4146         * math/test-double.c (CHOOSE): Likewise.
4147         * math/test-double-finite.c (CHOOSE): Likewise.
4148         * math/test-idouble.c (CHOOSE): Likewise.
4149         * math/test-ifloat.c (CHOOSE): Likewise.
4150         * math/test-ildoubl.c (CHOOSE): Likewise.
4151         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4152         * math/test-ldouble.c (CHOOSE): Likewise.
4154         * math/test-float.h (TEST_FLOAT): Remove.
4155         * math/test-double.h (TEST_DOUBLE): Likewise.
4156         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4158 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4160         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4161         (parse_args): Strip C suffix from floating point literals
4162         typed with 'f' and wrap them with LIT().
4164         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4165         (test_ff_f_data_nexttoward): Rename to
4166         (test_fj_f_data): New struct.
4167         (nexttoward_test_data): Relabel tests as
4168         TEST_fj_f instead of TEST_ff_f.
4170 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4172         Emacs bug 23726.
4173         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4174         (__libc_realloc): Correct size computation for dumped fake mmapped
4175         chunks.
4177 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4179         [BZ #20219]
4180         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4181         to itself.
4182         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4184         [BZ #20218]
4185         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4186         to itself.
4187         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4189 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4191         [BZ #20195]
4192         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4193         check to ...
4194         (init_cpu_features): Here.
4196 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4198         [BZ #20214]
4199         * sysdeps/unix/sysv/linux/bits/in.h
4200         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4201          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4202         Define to 1.
4203         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4204          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4205         Define to 0.
4206         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4207         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4209 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4211         [BZ #20198]
4212         * stdlib/Makefile (tests): Add tst-quick_exit, and
4213         tst-thread-quick_exit.
4214         [ifeq ($(have-cxx-thread_local),yes)]
4215         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4216         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4217         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4218         (LDLIBS-tst-thread-quick_exit): Likewise.
4219         [ifneq ($(have-cxx-thread_local),yes)]
4220         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4221         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4222         If run_dtors is true call __call_tls_dtors.
4223         (exit): Call __run_exit_handlers with run_dtors set to true.
4224         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4225         definition.
4226         * stdlib/quick_exit.c (quick_exit): Remove function.
4227         (__new_quick_exit): New function.
4228         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4229         function.
4230         * stdlib/tst-quick_exit.cc: New file.
4231         * stdlib/tst-thread-quick_exit.cc: New file.
4232         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4233         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4234         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4235         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4236         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4237         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4238         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4239         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4240         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4241         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4242         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4243         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4244         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4245         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4246         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4247         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4252         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4253         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4254         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4255         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4256         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4259         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4260         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4261         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4263 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4265         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4266         a typo in comments.
4268 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4270         [BZ #20213]
4271         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4272         argument to itself.
4273         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4275 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4277         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4278         required flags.
4279         (CFLAGS-pwritev64.c): Likewise.
4280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4282         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4283         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4284         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4285         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4286         syscall from auto-generation.
4287         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4288         [WORDSIZE == 64] (pwritev64): Remove macro.
4289         [!PWRITEV] (PWRITEV): Likewise.
4290         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4291         [!PWRITEV] (PWRITE): Likewise.
4292         [!PWRITEV] (OFF_T): Likewise.
4293         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4294         (LO_HI_LONG): Remove macro.
4295         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4296         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4297         (PWRITEV): Remove macro.
4298         (PWRITEV_REPLACEMENTE): Likewise.
4299         (PWRITE): Likewise.
4300         (OFF_T): Likewise.
4301         (pwritev64): New function.
4302         * nptl/tst-cancel4.c (tf_writev): Add test.
4304         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4305         required flags.
4306         (CFLAGS-preadv64.c): Likewise.
4307         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4308         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4309         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4310         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4311         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4312         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4313         syscall from auto-generation.
4314         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4315         [WORDSIZE == 64] (preadv64): Remove macro.
4316         [!PREADV] (PREADV): Likewise.
4317         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4318         [!PREADV] (PREAD): Likewise.
4319         [!PREADV] (OFF_T): Likewise.
4320         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4321         (LO_HI_LONG): Remove macro.
4322         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4323         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4324         (PREADV): Remove macro.
4325         (PREADV_REPLACEMENTE): Likewise.
4326         (PREAD): Likewise.
4327         (OFF_T): Likewise.
4328         (preadv64): New function.
4329         * nptl/tst-cancel4.c (tf_preadv): Add test.
4331 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4333         [BZ #20212]
4334         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4335         argument to itself.
4336         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4338 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4340         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4341         New symbol defined as libc_hidden_def.
4342         (strcasestr): Became a weak alias to __strcasestr.
4343         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4344         according to multi-arch support.  Move __stpncpy hidden
4345         definition from here to...
4346         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4347         symbol stpncpy.
4348         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4349         libc_hidden_builtin_def.
4350         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4351         memset symbol to use when multi-arch support is available.
4353 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4355         * dlfcn/tst-rec-dlopen.c: Include string.h.
4357 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4359         * manual/install.texi: Remove mention of --without-tls
4360         * INSTALL: Regenerate.
4362 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4364         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4365         Remove.
4366         (call_function, interposed_malloc_called): New variables.
4367         (malloc): New function.
4368         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4369         and clear call_function as needed.
4371 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4373         * include/wchar.h (__wmemset): Use __typeof.
4375 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4377         * include/wchar.h (__wmemset): Declare function without typeof.
4379 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4381         [BZ #20205]
4382         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4383         exponent when incrementing negative subnormal with low mantissa
4384         word zero.
4385         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4386         Add another test.
4388 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4390         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4391         __wmemset instead of wmemset.
4393 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4395         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4396         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4397         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4398         __USE_KERNEL_IPV6_DEFS to 0.
4399         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4400         Update comment.
4402 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4404         [BZ #19861]
4405         Do not use IFUNC resolver with potentially unrelocated symbol.
4406         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4407         (DEFINE_FORK): Remove macro and inline definition.
4408         (fork_alias): Renamed from fork_ifunc.
4409         (__fork_alias): Renamed from __fork_ifunc.
4411 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4413         [BZ 19653]
4414         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4415         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4417 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4419         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4420         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4421         i386-linux-gnu).
4422         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4423         Set to no.
4424         * sysdeps/mach/hurd/configure: Refresh.
4426 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4428         [BZ #20178]
4429         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4430         on failure instead of exit.
4432 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4434         [BZ #3629]
4435         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4436         of POSIX.1-2008.
4438 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4440         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4441           Use PLT entry for calling _hurd_self_sigstate.
4443 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4445         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4446         available logical processors with SMT level type sharing L2
4447         cache for Intel processors.
4449 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4451         [BZ #20160]
4452         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4453         argument to itself before returning the result.
4454         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4455         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4456         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4457         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4458         Likewise.
4459         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4460         Likewise.
4461         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4462         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4463         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4464         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4465         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4466         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4468         [BZ #20160]
4469         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4470         argument to itself before returning the result.
4471         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4472         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4473         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4474         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4475         Likewise.
4476         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4477         Likewise.
4478         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4479         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4480         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4481         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4482         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4483         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4485 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4487         * libm-test.inc: Replace usage of M_El with
4488         (lit_e): New macro.
4490 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4492         * libm-test.inc: Replace usage of M_PI_4l with
4493         (lit_pi_4_d): New macro.
4495 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4497         * libm-test.inc: Replace usage of M_PIl with
4498         (lit_pi): New macro.
4500 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4502         * libm-test.inc: Replace usage of M_PI2l with
4503         (lit_pi_2_d): New macro.
4505         * math/test-double.h (LITM): New macro.
4506         * math/test-float.h (LITM): Likewise.
4507         * math/test-ldouble.h (LITM): Likewise.
4509 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4511         * libm-test.inc (M_PI_34l): Rename to
4512         (lit_pi_3_m_4_d): New Macro.
4513         (M_PI_34_LOG10El): Rename to
4514         (lit_pi_3_m_4_ln10_m_d): New Macro.
4515         (M_PI2_LOG10El): Rename to
4516         (lit_pi_2_ln10_m_d):  New Macro.
4517         (M_PI4_LOG10El): Rename to
4518         (lit_pi_4_ln10_m_d):  New Macro.
4519         (M_PI_LOG10El): Rename to
4520         (lit_pi_ln10_d):  New Macro.
4522 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4524         [BZ #20157]
4525         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4526         determine whether to negate low half if [_ARCH_PPCGR], and integer
4527         comparison otherwise.
4528         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4529         determine whether to negate low half.
4531         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4532         (NO_TEST_INLINE_DOUBLE): Likewise.
4533         (TEST_COND_x86_64): Likewise.
4534         (TEST_COND_x86): Likewise.
4535         (M_PI_6l): Likewise.
4537 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4539         * math/libm-test.inc:
4540         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4541         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4542         (TEST_LDOUBLE): Update usage to evaluate as true if
4543         the guarded tests match the property being tested.
4544         (LDBL_MAX_EXP): Change to MAX_EXP.
4545         (LDBL_MIN_EXP): Change to MIN_EXP.
4546         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4547         nexttoward tests.
4549 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4551         * math/libm-test.inc:
4552         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4553         (TYPE_MIN): Likewise.
4554         (TYPE_TRUE_MIN): Likewise.
4555         (TYPE_MAX): Likewise.
4556         (MIN_EXP): Likewise.
4557         (MAX_EXP): Likewise.
4558         (MANT_DIG): Likewise.
4560         (FSTR_MAX): New macro.
4561         (__CONCATX): Likewise.
4562         (QTYPE_STR): Likewise.
4563         (TEST_COND_binary32): Likewise.
4564         (TEST_COND_binary64): Likewise.
4565         (TEST_COND_binary128): Likewise.
4566         (TEST_COND_ibm128): Likewise.
4567         (TEST_COND_intel96): Likewise.
4568         (TEST_COND_m68k96): Likewise.
4570         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4571         (TEST_COND_dbl_64): Likewise.
4572         (TEST_COND_ldbl_96_intel): Likewise.
4573         (TEST_COND_ldbl_96_m68k): Likewise.
4574         (TEST_COND_ldbl_128): Likewise.
4575         (TEST_COND_ldbl_128ibm): Likewise.
4577         (plus_zero): Redefine using LIT macro.
4578         (minus_zero): Likewise.
4579         (plus_infty): Redefine as (INF).
4580         (minux_infty): Redefine as (-INF).
4581         (max_value): Redefine as TYPE_MAX.
4582         (min_value): Redefine as TYPE_MIN.
4583         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4585         (print_float): Refactor to use snprintf to convert FLOAT values
4586         to string. This brings it closer to dropin replacement of strtof
4587         for the TS 18661 defined types.
4588         (update_stats): Likewise.
4589         (print_complex_function_ulps): Likewise.
4590         (print_max_error): Likewise.
4591         (print_complex_max_error): Likewise.
4592         (check_float_internal): Likewise.
4594         * math/test-float.h (PREFIX): New macro.
4595         (LIT): Likewise.
4596         (TYPE_STR): Likewise.
4597         (FTOSTR): Likewise.
4599         * math/test-double.h (PREFIX): New macro.
4600         (LIT): Likewise.
4601         (TYPE_STR): Likewise.
4602         (FTOSTR): Likewise.
4604         * math/test-ldouble.h (PREFIX): New macro.
4605         (LIT): Likewise.
4606         (TYPE_STR): Likewise.
4607         (FTOSTR): Likewise.
4609 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4611         [BZ #20156]
4612         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4613         to itself when zero or not finite.
4614         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4615         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4616         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4617         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4619 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4621         [BZ #20153]
4622         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4623         x * x + x for infinities and NaNs.
4625         [BZ #20151]
4626         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4627         argument to itself before returning result.
4628         (__ieee754_y0l): Likewise.
4629         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4630         (__ieee754_y1l).
4632         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4633         (atan_test_data): Likewise.
4634         (ceil_test_data): Likewise.
4635         (cos_test_data): Likewise.
4636         (cosh_test_data): Likewise.
4637         (erf_test_data): Likewise.
4638         (exp2_test_data): Likewise.
4639         (fabs_test_data): Likewise.
4640         (floor_test_data): Likewise.
4641         (ilogb_test_data): Likewise.
4642         (j0_test_data): Likewise.
4643         (j1_test_data): Likewise.
4644         (jn_test_data): Likewise.
4645         (lgamma_test_data): Likewise.
4646         (lrint_test_data): Likewise.
4647         (llrint_test_data): Likewise.
4648         (logb_test_data): Likewise.
4649         (lround_test_data): Likewise.
4650         (llround_test_data): Likewise.
4651         (nearbyint_test_data): Likewise.
4652         (rint_test_data): Likewise.
4653         (round_test_data): Likewise.
4654         (sin_test_data): Likewise.
4655         (sincos_test_data): Likewise.
4656         (sinh_test_data): Likewise.
4657         (sqrt_test_data): Likewise.
4658         (tan_test_data): Likewise.
4659         (tanh_test_data): Likewise.
4660         (tgamma_test_data): Likewise.
4661         (trunc_test_data): Likewise.
4662         (y0_test_data): Likewise.
4663         (y1_test_data): Likewise.
4664         (yn_test_data): Likewise.
4666         * math/libm-test.inc: Update comment about NaN testing.
4667         (TEST_SNAN): New macro.
4668         (snan_value): Likewise.
4669         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4670         (fpclassify_test_data): Add sNaN tests.
4671         (isfinite_test_data): Likewise.
4672         (isinf_test_data): Likewise.
4673         (isnan_test_data): Likewise.
4674         (isnormal_test_data): Likewise.
4675         (issignaling_test_data): Likewise.
4676         (signbit_test_data): Likewise.
4677         * math/gen-libm-test.pl (%beautify): Add snan_value.
4678         (show_exceptions): Add argument $test_snan.
4679         (parse_args): Handle snan_value as non-finite.  Update call to
4680         show_exceptions.
4681         * math/Makefile (libm-test-no-inline-cflags): Add
4682         -fsignaling-nans.
4684 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4686         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4687         (CFLAGS-oldsendmsg.c): Add rule.
4688         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4689         Correct recvmsg symbol name.
4690         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4691         Likewise.
4693 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4695         * sysdeps/unix/sysv/linux/Makefile
4696         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4697         oldsendmmsg.
4698         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4699         sendmmsg.
4700         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4701         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4702         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4703         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4705         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4706         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4708         Likewise.
4709         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4710         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4711         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4712         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4713         iovlen and controllen fields to adjust to POSIX specification.
4714         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4716         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4717         and change to correct expected type.
4718         (msghdr.msg_controllen): Likewise.
4719         (cmsghdr.cmsg_len): Likewise.
4720         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4721         expected POSIX assumption about the size.
4722         (msghdr.msg_controllen): Likewise.
4723         (msghdr.__glibc_reserved1): Likewise.
4724         (msghdr.__glibc_reserved2): Likewise.
4725         (cmsghdr.cmsg_len): Likewise.
4726         (cmsghdr.__glibc_reserved1): Likewise.
4727         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4728         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4729         (CFLAGS-sendmsg.c): Remove rule.
4730         (CFLAGS-recvmsg.c): Likewise.
4731         (CFLAGS-oldsendmsg.c): Add rule.
4732         (CFLAGS-oldrecvmsg.c): Likewise.
4733         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4734         recvmsg and sendmsg.
4735         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4736         Likewise.
4737         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4738         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4739         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4740         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4741         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4742         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4743         Likewise.
4744         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4745         Likewise.
4746         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4747         Likewise.
4748         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4749         Likewise.
4750         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4751         Likewise.
4752         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4753         Likewise.
4754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4755         (GLIBC_2.24): Likewise.
4756         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4757         Likewise.
4758         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4759         Likewise.
4760         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4761         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4762         Likewise.
4763         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4764         Likewise.
4765         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4766         Likewise.
4767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4768         (GLIBC_2.24): Likewise.
4769         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4770         Likewise.
4771         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4772         Likewise.
4773         * sysdeps/unix/sysv/linux/Makefile
4774         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4775         (CFLAGS-sendmsg.c): Add rule.
4776         (CFLAGS-recvmsg.c): Likewise.
4777         (CFLAGS-oldsendmsg.c): Likewise.
4778         (CFLAGS-oldrecvmsg.c): Likewise.
4779         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4780         initialization.
4781         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4782         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4783         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4784         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4785         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4786         iovlen and controllen fields to adjust to POSIX specification.
4787         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4788         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4789         added recvmsg and sendmsg.
4790         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4795         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4797         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4798         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4799         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4800         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4801         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4803         Likewise.
4804         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4806         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4807         Likewise.
4808         Likewise.
4809         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4810         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4818         Likewise.
4819         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4823         from auto-generation.
4824         (sendmsg): Likewise.
4825         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4826         (sendmsg): Likewise.
4827         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4828         (sendmsg): Likewise.
4829         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4830         (sendmsg): Likewise.
4831         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4832         (sendmsg): Likewise.
4833         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4834         (sendmsg): Likewise.
4835         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4836         Likewise.
4837         (sendmsg): Likewise.
4838         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4839         (sendmsg): Likewise.
4840         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4842         Remove.
4843         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4844         Likewise.
4845         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4846         Undefine.
4847         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4848         Likewise.
4849         * sysdeps/unix/sysv/linux/kernel-features.h
4850         (__ASSUME_SENDMSG_SYSCALL): Define.
4851         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4852         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4854         Remove.
4855         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4856         Likewise.
4857         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4858         Undefine.
4859         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4860         Likewise.
4861         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4862         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4863         Remove.
4864         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4865         Likewise.
4866         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4867         Undefine.
4868         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4869         Likewise.
4870         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4871         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4872         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4873         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4874         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4875         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4876         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4877         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4878         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4880 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4882         * stdlib/gen-tst-strtod-round.c: Add backslash to
4883         compile command in comment.
4884         (printfp): Remove the literal suffix, and define an infinite
4885         value as INF to avoid expansion clash with INFINITY.
4886         (round_str): Remove the literal suffix.
4887         (round_for_all): Likewise, remove the now duplicate ldbl-64
4888         entry, and remove some magic constants.
4890         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4891         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4892         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4893         (_CONCAT): New macro.
4894         (CONCAT): Likewise.
4895         (CHOOSE_ld): Likewise.
4896         (CHOOSE_f): Likewise.
4897         (CHOOSE_d): Likewise.
4898         (FTYPE_MEMBER): Likewise.
4899         (BOOL_MEMBER): Likewise.
4900         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4901         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4902         (_XNTRY): Likewise.
4903         (XNTRY): Likewise.
4904         (_ENTRY): Likewise.
4905         (ENTRY): Likewise.
4906         (test_exactness): Generate members via macro.
4907         (test_results): Likewise.
4908         (test): Update members.
4909         (TEST): Redefine using new macros.
4910         (INF): New macro.
4911         (fetestmodes): New structure.
4912         (do_test): Refactor to be type generic.
4913         (test_in_one_mode): Refactor duplicate code into
4914         (GEN_ONE_TEST): New macro.
4916         * stdlib/tst-strtod-round-data.h: Regenerate.
4918         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4919         Extend to pass additional arbitrary parameters to
4920         generators.
4922 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4924         [BZ #15479]
4925         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4926         floating-point state after first floating-point operation on
4927         input.  Restore full floating-point state instead of just rounding
4928         mode.
4929         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4930         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4931         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4932         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4933         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4935         [BZ #15479]
4936         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4937         floating-point state after first floating-point operation on
4938         input.  Restore full floating-point state instead of just rounding
4939         mode.
4940         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4941         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4942         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4943         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4944         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4946 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4948         [BZ #19727]
4949         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4950         valid high surrogate.
4951         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4952         of an utf16 surrogate.
4953         * iconv/gconv_simple.c (BODY): Likewise.
4954         * iconvdata/bug-iconv12.c: New file.
4955         * iconvdata/Makefile (tests): Add bug-iconv12.
4957 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4959         [BZ #19726]
4960         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4961         outptrp in case of an illegal input.
4962         * iconv/tst-iconv6.c: New file.
4963         * iconv/Makefile (tests): Add tst-iconv6.
4965 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4967         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4968         an error in case of a value in range of an utf16 low surrogate.
4970 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4972         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4973         an error in case of a value in range of an utf16 low surrogate.
4975 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4977         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4978         Move to ...
4979         * sysdeps/s390/Makefile: ... here.
4980         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4981         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4982         (BRANCH_ON_COUNT): New define.
4983         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4984         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4985         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4986         run on s390-32, too.
4987         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4988         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4989         run on s390-32, too.
4990         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4991         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4992         run on s390-32, too.
4994 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4996         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4997         etf3eh or new vector loop-variant.
4999 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5001         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5002         etf3eh or new vector loop-variant.
5004 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5006         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5007         or new vector loop-variant.
5009 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5011         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5012         Rename to TR_LOOP and usage of tr instead of troo instruction.
5014 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5016         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5019 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5021         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5022         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5023         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5024         New override define.
5025         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5027 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5029         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5030         * sysdeps/s390/configure.ac: Add test for S390 vector register
5031         support in gcc.
5032         * sysdeps/s390/configure: Regenerated.
5034 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5036         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5037         Install file from $(objpfx)gconv-modules.
5038         ($(objpfx)gconv-modules): Concatenate architecture specific file
5039         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5040         * sysdeps/s390/gconv-modules: New file.
5041         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5042         Deleted.
5043         ($(objpfx)gconv-modules-s390): Deleted.
5044         (sysdeps-gconv-modules): New variable.
5046 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5048         [BZ #15479]
5049         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5050         of immediate operand to rounding instruction.
5051         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5052         Likewise.
5053         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5054         Likewise.
5055         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5056         Likewise.
5058 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5060         * math/libm-test.inc (MIN_EXP): Directly define as
5061         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5063 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5065         * math/libm-test.inc (MANT_DIG): Directly define as
5066         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5068 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5070         * stdlib/gen-tst-strtod-round.c (main):
5071           Change usage to more closely match the generated
5072           output.  Add usage and compilation instructions.
5073           (string_to_fp): Add and use FILE* parameter as
5074           output target.
5075           (print_fp): Likewise.
5076           (round_str): Likewise.
5077           (round_for_all): Likewise.
5078         * stdlib/tst-strtod-round.c (tests): Move into
5079         * stdlib/tst-strtod-round-data.h: New file.
5081 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5083         [BZ #15479]
5084         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5085         (__round): Do not force "inexact" exception.
5086         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5087         variable.
5088         (__round): Do not force "inexact" exception.
5089         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5090         (__roundf): Do not force "inexact" exception.
5091         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5092         (__roundl): Do not force "inexact" exception.
5093         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5094         (__roundl): Do not force "inexact" exception.
5095         * math/libm-test.inc (round_test_data): Do not allow spurious
5096         "inexact" exceptions.
5098         [BZ #15479]
5099         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5100         exception in comment.
5101         (huge): Remove variable.
5102         (__floor): Do not force "inexact" exception.
5103         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5104         "inexact" exception in comment.
5105         (huge): Remove variable.
5106         (__floor): Do not force "inexact" exception.
5107         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5108         exception in comment.
5109         (huge): Remove variable.
5110         (__floorf): Do not force "inexact" exception.
5111         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5112         exception in comment.
5113         (huge): Remove variable.
5114         (__floorl): Do not force "inexact" exception.
5116         [BZ #15479]
5117         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5118         exception in comment.
5119         (huge): Remove variable.
5120         (__ceil): Do not force "inexact" exception.
5121         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5122         "inexact" exception in comment.
5123         (huge): Remove variable.
5124         (__ceil): Do not force "inexact" exception.
5125         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5126         (__ceilf): Do not force "inexact" exception.
5127         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5128         exception in comment.
5129         (huge): Remove variable.
5130         (__ceill): Do not force "inexact" exception.
5132 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5134         * config.h.in (BIND_NOW): New.
5135         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5136         * configure: Regenerated.
5137         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5138         indirect branch via the GOT slot.
5140 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5142         [BZ #19765]
5143         * sysdeps/s390/mempcpy.S: New File.
5144         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5145         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5146         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5147         Add mempcpy variants.
5148         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5149         (memcpy): Adjust to be usable from mempcpy entry point.
5150         (__memcpy_mvcle): Likewise.
5151         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5152         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5153         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5154         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5155         (__memcpy_z10): Likewise.
5156         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5158 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5160         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5161         Remove __GI_ symbol.
5162         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5163         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5164         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5165         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5166         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5167         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5169 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5171         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5172         Use cghi instead of chi to compare 64bit value.
5174 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5176         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5177         Jump to 1MB check before executing mvc-loop.
5179 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5181         [BZ #6527]
5182         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5183         unconditionally.
5184         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5186 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5188         * stdlib/tst-strtod6.c (do_test): Use new type generic
5189         invocation of the test function.
5190         (test): Refactor into ...
5191         (TEST_STRTOD): New macro base function.
5193 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5195         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5196         (TEST_STRTOD): New macro.
5197         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5199 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5201         * stdlib/tst-strtod6.c (do_test): Use new type generic
5202         invocation of the test function.
5203         (test): Refactor into ...
5204         (TEST_STRTOD): New macro base function.
5206 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5208         CVE-2016-4429
5209         [BZ #20112]
5210         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5211         payload.
5213 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5215         [BZ #20111]
5216         * bits/sockaddr.h (_SS_SIZE): Define.
5217         * bits/socket.h (_SS_SIZE): Remove.
5218         (_SS_PADSIZE): Adjust to account for all padding.
5219         (struct sockaddr_storage): Update comment.  Avoid implicit
5220         padding.
5221         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5222         (_SS_PADSIZE): Adjust to account for all padding.
5223         (struct sockaddr_storage): Update comment.  Avoid implicit
5224         padding.
5225         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5226         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5227         (_SS_PADSIZE): Adjust to account for all padding.
5228         (struct sockaddr_storage): Update comment.  Avoid implicit
5229         padding.
5230         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5231         __SS_SIZE is 126 in this version.
5232         * inet/tst-sockaddr.c: New file.
5233         * inet/Makefile (tests): Add tst-sockaddr.c
5234         (tst-sockaddr.c): Compile with non-strict aliasing.
5236 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5238         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5239         [XPG3 || XPG4].
5240         (NL_ARGMAX): Also expect for [XPG3].
5241         (NL_LANGMAX): Likewise.
5242         (NL_MSGMAX): Likewise.
5243         (NL_NMAX): Likewise.
5244         (NL_SETMAX): Likewise.
5245         (NL_TEXTMAX): Likewise.
5246         (NZERO): Likewise.
5247         (TMP_MAX): Likewise.
5248         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5249         variable.
5251         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5252         (PF_MAX): Update value.
5253         (AF_KCM): New macro.
5254         (SOL_NETBEUI): Likewise.
5255         (SOL_LLC): Likewise.
5256         (SOL_DCCP): Likewise.
5257         (SOL_NETLINK): Likewise.
5258         (SOL_TIPC): Likewise.
5259         (SOL_RXRPC): Likewise.
5260         (SOL_PPPOL2TP): Likewise.
5261         (SOL_BLUETOOTH): Likewise.
5262         (SOL_PNPIPE): Likewise.
5263         (SOL_RDS): Likewise.
5264         (SOL_IUCV): Likewise.
5265         (SOL_CAIF): Likewise.
5266         (SOL_ALG): Likewise.
5267         (SOL_NFC): Likewise.
5268         (SOL_KCM): Likewise.
5269         (MSG_BATCH): New enum value and macro.
5271 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5273         [BZ #18185]
5274         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5275         sharing L2 cache to 2 for Knights Landing.
5277 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5279         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5280         (FTW_DP): Do not expect for [XPG3 || XPG4].
5281         (FTW_SL): Do not expect for [XPG3].
5282         (FTW_SLN): Likewise.
5283         (FTW_PHYS): Likewise.
5284         (FTW_MOUNT): Likewise.
5285         (FTW_DEPTH): Likewise.
5286         (FTW_CHDIR): Likewise.
5287         (nftw): Likewise.
5288         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5289         variable.
5291 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5293         * manual/errno.texi: Fix various typos & grammar errors.
5295 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5297         * manual/intro.texi: Fix duplicated typo.
5299 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5301         [BZ #13304]
5302         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5303         <float.h>, <math_private.h> and <stdlib.h>.
5304         (add_split): New function.
5305         (mul_split): Likewise.
5306         (ext_val): New typedef.
5307         (store_ext_val): New function.
5308         (mul_ext_val): New function.
5309         (compare): New function.
5310         (add_split_ext): New function.
5311         (__fmal): After checking for Inf, NaN and zero, compute result as
5312         an exact sum of scaled double values in round-to-nearest before
5313         adding those up and adjusting for other rounding modes.
5314         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5315         tests of fma.
5316         * math/auto-libm-test-out: Regenerated.
5318 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5320         [BZ #20119]
5321         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5322         processor level type mask for CPUID with EAX == 11.
5324 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5326         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5327         logical threads if the HTT bit is 0.
5328         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5329         (index_cpu_HTT): Likewise.
5330         (reg_HTT): Likewise.
5332 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5334         [BZ #20115]
5335         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5336         Remove alignments on jump targets.
5338 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5340         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5341         (getpwent): Likewise.
5342         (setpwent): Likewise.
5343         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5344         variable.
5346         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5347         (remque): Likewise.
5348         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5349         variable.
5351 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5353         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5354         not being tested.
5356 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5358         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5359         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5360         call.
5361         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5362         (__condvar_cleanup1): Likewise.
5364 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5366         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5367         New
5368         (__pthread_unwind): Renamed to ...
5369         (PTHREAD_UNWIND): This.
5370         (__pthread_enable_asynccancel): Replace
5371         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5373 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5375         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5376         (CLONE_NEWCGROUP): New macro.
5378         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5379         (Q_GETNEXTQUOTA): New macro.
5381 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5383         [BZ #19907]
5384         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5385         buffer updated by the previous run.
5386         * string/test-memcpy.c (do_one_test): Likewise.
5387         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5388         * string/test-memmove.c (do_one_test): Likewise.
5390 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5392         [BZ #20094]
5393         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5394         not [__USE_XOPEN].
5395         (unlockpt): Likewise.
5396         (ptsname): Likewise.
5397         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5398         variable.
5400         [BZ #20076]
5401         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5402         instead of [__USE_UNIX98].
5403         (S_ISSOCK): Likewise.
5404         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5405         variable.
5407         [BZ #20074]
5408         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5409         [__USE_POSIX].
5410         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5411         variable.
5413         [BZ #20051]
5414         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5415         (ttyslot): Do not declare.
5416         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5417         (ttyslot): New prototype.
5418         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5419         variable.
5420         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5422 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5424         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5426 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5428         Fix race condition in tst-mallocfork2, use fewer resources.
5429         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5430         to current process group.
5431         (signal_sender): Yield in the non-sleeping case.
5433 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5435         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5436         (ecvt): Likewise.
5437         (fcvt): Likewise.
5438         (gcvt): Likewise.
5439         (getsubopt): Likewise.
5440         (grantpt): Likewise.
5441         (initstate): Likewise.
5442         (l64a): Likewise.
5443         (mktemp): Likewise.
5444         (mkstemp): Likewise.
5445         (ptsname): Likewise.
5446         (random): Likewise.
5447         (realpath): Likewise.
5448         (setstate): Likewise.
5449         (srandom): Likewise.
5450         (ttyslot): Likewise.
5451         (unlockpt): Likewise.
5452         (valloc): Likewise.
5454         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5455         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5456         variable.
5458 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5460         [BZ #20072]
5461         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5462         init_cpu_features only if SHARED is defined.
5463         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5465 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5467         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5468         non-inclusive caches on Intel processors.
5470 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5472         * malloc/malloc.c (dumped_main_arena_start)
5473         (dumped_main_arena_end): New variables.
5474         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5475         (do_check_chunk): Skip dumped fake mmapped chunks.
5476         (munmap_chunk): Likewise.
5477         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5478         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5479         mmapped chunks.
5480         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5481         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5482         and dumped_main_arena_end to cover the dumped heap.
5484 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5486         * conform/data/time.h-data (getdate_err): Do not expect for
5487         [XPG3].
5488         (getdate): Likewise.
5489         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5490         variable.
5492         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5493         (F_ULOCK): Likewise.
5494         (F_TEST): Likewise.
5495         (F_TLOCK): Likewise.
5496         (useconds_t): Likewise.
5497         (intptr_t): Do not expect for [XPG3] or [XPG4].
5498         (brk): Do not expect for [XPG3]
5499         (fchown): Likewise.
5500         (fchdir): Likewise.
5501         (ftruncate): Likewise.
5502         (getdtablesize): Likewise.
5503         (gethostid): Likewise.
5504         (getpagesize): Likewise.
5505         (getpgid): Likewise.
5506         (getsid): Likewise.
5507         (getwd): Likewise.
5508         (lchown): Likewise.
5509         (lockf): Likewise.
5510         (readlink): Likewise.
5511         (sbrk): Likewise.
5512         (setpgrp): Likewise.
5513         (setregid): Likewise.
5514         (setreuid): Likewise.
5515         (symlink): Likewise.
5516         (sync): Likewise.
5517         (truncate): Likewise.
5518         (ualarm): Likewise.
5519         (usleep): Likewise.
5520         (vfork): Likewise.
5521         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5522         variable.
5524         [BZ #20054]
5525         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5526         not [__USE_UNIX98].
5527         * conform/data/unistd.h-data (gethostname): Do not expect for
5528         [XPG3].
5530         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5531         [!POSIX] (S_IFBLK): Likewise.
5532         [!POSIX] (S_IFCHR): Likewise.
5533         [!POSIX] (S_IFIFO): Likewise.
5534         [!POSIX] (S_IFREG): Likewise.
5535         [!POSIX] (S_IFDIR): Likewise.
5536         [!POSIX] (S_IFLNK): Likewise.
5537         [!POSIX] (S_IFSOCK): Likewise.
5538         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5539         variable.
5540         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5542 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5544         * sysdeps/aarch64/memset.S (__memset):
5545         Rewrite of optimized memset.
5547 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5549         [BZ #19703]
5550         Partially async-signal-safe fork for single-threaded processes.
5551         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5552         variable.  Do not acquire and reset/release malloc and libio locks
5553         in single-threaded processes.
5554         * malloc/tst-mallocfork2.c: New file.
5555         * malloc/Makefile (tests): Add it.
5557 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5559         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5560         argument.  Use scratch buffer instead of extend_alloca.
5561         (gethosts): Use scratch buffer instead of extend_alloca.
5562         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5563         extend_alloca.
5564         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5566 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5568         [BZ #20055]
5569         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5570         instead of [__USE_UNIX98].
5571         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5572         [__USE_UNIX98].
5573         * conform/data/termios.h-data (tcgetsid): Do not expect for
5574         [XPG3].
5575         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5576         variable.
5577         (test-xfail-XPG4/termios.h/conform): Likewise.
5579 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5581         Do not use mcheck in localedef.
5582         * locale/programs/localedef.c (turn_on_mcheck)
5583         (__malloc_initialize_hook): Remove.
5585 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5587         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5588         * sysdeps/s390/s390-64/Makefile: Likewise.
5590 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5592         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5593         Remove ifunc-defines.sym.
5594         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5595         Likewise.
5596         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5597         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5598         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5599         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5600         rtld-global-offsets.sym.
5601         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5602         * sysdeps/x86/cpu-features-offsets.sym: This.
5603         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5604         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5606 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5608         [BZ #20073]
5609         * io/sys/stat.h (fchmod): Declare for
5610         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5611         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5612         variable.
5614         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5615         [XPG3] (S_IFSOCK): Likewise.
5616         [XPG3] (S_ISVTX): Likewise.
5617         [XPG3] (S_ISLNK): Likewise.
5618         [XPG3] (S_ISSOCK): Likewise.
5619         [XPG3] (fchmod): Likewise.
5620         [XPG3] (lstat): Likewise.
5621         [XPG3] (mknod): Likewise.
5623         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5624         [XPG3].  Expect type long and XFAIL for [XPG4].
5625         (st_blocks): Likewise.
5627         [BZ #20044]
5628         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5629         (pthread_atfork): New prototype.
5630         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5631         variable.
5633         [BZ #20043]
5634         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5635         prototype.
5637 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5639         [BZ #20017]
5640         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5641         gmtime.
5643 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5645         [BZ #19994]
5646         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5647         flag in _res.options.
5649 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5651         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5652         [XPG3 || XPG4].
5653         (blksize_t): Likewise.
5654         (clockid_t): Likewise.
5655         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5656         variable.
5657         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5659 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5661         * sysdeps/unix/sysv/linux/s390/init-first.c:
5662         Add VDSO_SYMBOL(getcpu).
5663         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5664         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5665         Add VDSO_SYMBOL(getcpu).
5666         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5667         New define HAVE_GETCPU_VSYSCALL.
5668         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5670 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5672         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5673         instead of <sysdeps/x86_64/cacheinfo.c>.
5674         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5675         * sysdeps/x86/cacheinfo.c: Here.
5677 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5679         * malloc/malloc-internal.h: Adjust header file guard.
5681 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5683         [BZ #19787]
5684         * inet/getnameinfo.c (check_sprintf_result): New function.
5685         (CHECKED_SNPRINTF): New macro.
5686         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5687         to the host buffer.
5688         (gni_host_local): Use checked_copy to copy the host name.
5689         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5690         (gni_serv_local): Use checked_copy to copy the service name.
5691         (getnameinfo): Remove unnecessary truncation of result buffers.
5693 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5695         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5696         in case of inet_ntop failure.
5698 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5700         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5701         avoid long lines.
5702         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5703         variables.
5704         (gni_host_inet, gni_host_local): Add comment.
5705         (gni_host): Add comment.  Use temporary to avoid long lines.
5707 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5709         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5710         registers specifiers where general purpose registers specifiers should
5711         have been used.
5713 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5715         [BZ #19779]
5716         CVE-2016-1234
5717         Avoid copying names of directory entries.
5718         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5719         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5720         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5721         (struct readdir_result): New type.
5722         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5723         (GL_READDIR): New macros.
5724         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5725         (convert_dirent, convert_dirent64): New functions.
5726         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5727         convert_dirent64.  Adjust references to the readdir result.
5728         * sysdeps/unix/sysv/linux/i386/glob64.c:
5729         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5730         * posix/bug-glob2.c (LONG_NAME): Define.
5731         (filesystem): Add LONG_NAME.
5732         (my_DIR): Increase the size of room_for_dirent.
5734 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5736         [BZ #20041]
5737         * misc/sys/select.h (__need_timespec): Only define if
5738         [__USE_XOPEN2K].
5739         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5740         variable.
5741         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5742         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5743         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5745 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5746             Segher Boessenkool  <segher@gcc.gnu.org>
5748         [BZ #20004]
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5750         (__novec_swapcontext): Add missing load.
5752 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5754         [BZ #20023]
5755         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5756         <time.h>.
5757         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5758         variable.
5759         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5761 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5764         flags CLONE_VM compare.
5766 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5768         [BZ #20031]
5769         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5770         completely empty.
5772 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5774         [BZ #19573]
5775         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5776         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5777         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5778         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5779         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5780         (hesiod_free_list): Mark as hidden.
5781         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5782         res_set, res_get.
5783         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5784         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5785         (hesiod_init): Remove obsolete res_ninit call.
5786         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5787         (hesiod_bind): Do not call init.
5788         (get_txt_records): Use res_mkquery, res_send instead of
5789         res_nmkquery, res_nsend.
5790         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5791         instead of _nss_hesiod_init.
5792         (_nss_hesiod_initgroups_dyn): Likewise.
5793         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5794         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5795         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5797 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5799         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5800         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5802 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5804         * hesiod/hesiod.h: Remove RCS keyword.
5805         * hesiod/hesiod_p.h: Likewise.
5807         * hesiod/hesiod.c: Likewise.
5809 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5811         [BZ #12450]
5812         * locale/iso-639.def: Add Samogitian/sgs.
5814 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5816         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5818         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5820 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5821             Carlos O'Donell  <carlos@redhat.com>
5823         [BZ #19072]
5824         * grp/Makefile (headers): Add grp-merge.h
5825         (routines): Add grp-merge.
5826         * grp/getgrgid_r.c: Include grp-merge.h.
5827         (DEEPCOPY_FN): Define.
5828         (MERGE_FN): Define.
5829         * grp/getgrname_r.c: Include grp-merge.h.
5830         (DEEPCOPY_FN): Define.
5831         (MERGE_FN): Define.
5832         * grp/grp-merge.c: New file.
5833         * grp/grp-merge.h: New file.
5834         * include/grp-merge.h: New file.
5835         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5836         __copy_grp@GLIBC_PRIVATE.
5837         * manual/nss.texi (Actions in the NSS configuration): Describe
5838         return, continue, and merge.
5839         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5840         (DEEPCOPY_FN): Define.
5841         (MERGE_FN): Define.
5842         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5843         (DEEPCOPY_FN): Define.
5844         (MERGE_FN): Define.
5845         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5846         [!MERGE_FN]: Define __merge_einval.
5847         (CHECK_MERGE): Define.
5848         (REENTRANT_NAME): Process merge if do_merge is true.
5849         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5850         (__nss_getent_r): Likewise.
5851         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5852         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5854 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5856         [BZ #20012]
5857         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5858         length to calculate the buffer to read.
5859         (fmemopen_write): Set the buffer position based on bytes written.
5860         (fmemopen_seek): Return EINVAL for invalid whence modes.
5862         [BZ #19957]
5863         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5864         tst-getpid2.
5865         (test): Add tst-clone2.
5866         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5867         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5868         pid/tid fields for CLONE_VM.
5869         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5870         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5871         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5872         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5873         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5874         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5875         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5876         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5880         Likewise.
5881         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5882         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5883         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5884         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5885         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5886         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5887         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5888         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5890 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5892         [BZ #19642]
5893         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5894         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5895         (gni_serv_local, gni_serv): New functions extracted from
5896         getnameinfo.
5897         (getnameinfo): Call gni_host and gni_serv to perform the
5898         processing.  Always free scratch buffer.
5900 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5902         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5903         remaining bytes in the dest string, with zeros.
5905 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5907         [BZ #20010]
5908         CVE-2016-3706
5909         * sysdeps/posix/getaddrinfo.c
5910         (convert_hostent_to_gaih_addrtuple): New function.
5911         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5912         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5913         AF_INET data.
5915 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5917         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5918         callback function gl_readdir.
5919         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5920         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5921         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5922         memcpy to copy the name.
5923         * manual/pattern.texi (Calling Glob): Document requirements for
5924         implementations of the gl_readdir callback function.
5925         * manual/examples/mkdirent.c: New example.
5926         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5927         per the manual guidance.
5928         * posix/tst-gnuglob.c (my_readdir): Likewise.
5930 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5932         [BZ #20014]
5933         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5934         not [__USE_POSIX].
5935         (getchar_unlocked): Likewise.
5936         (putc_unlocked): Likewise.
5937         (putchar_unlocked): Likewise.
5938         (flockfile): Likewise.
5939         (ftrylockfile): Likewise.
5940         (funlockfile): Likewise.
5941         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5942         variable.
5943         (test-xfail-XPG4/stdio.h/conform): Likewise.
5945         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5946         Expect constant.
5947         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5948         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5949         variable.
5950         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5951         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5953         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5954         [__USE_LARGEFILE64] (off64_t): Likewise.
5955         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5956         variable.
5958 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5960         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5962 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5964         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5965         * resolv/res_init.c: Likewise.
5966         * resolv/res_mkquery.c: Likewise.
5968 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5970         * resolv/res_init.c (isascii): Do not define.  Use definition in
5971         <ctype.h>.
5972         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5973         (LOG_AUTH): Remove.
5974         (SPRINTF): Remove, adjust caller.
5975         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5977 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5979         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5980         SUNSECURITY conditional.
5981         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5983 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5985         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5986         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5987         Remove BSD-related preprocessor conditionals.
5988         * conf/portability.h: Remove.
5990 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5992         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5993         * resolv/res_data.c: Likewise.
5995 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5997         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5998         * resolv/res_data.c: Remove code conditional on ultrix.
6000 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6002         * resolv/res_init.c (RFC1535): Do not define.  Remove
6003         RFC1535 preprocessor conditionals.
6004         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6005         because there configuration options which make the resolver
6006         behavior different.
6008 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6010         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6011         RESOLVSORT preprocessor conditionals.
6012         * resolv/nss_dns/dns-host.c: Likewise.
6013         * resolv/res_init.c: Likewise.
6015 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6017         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6018         is never defined.
6020 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6022         * inet/inet_lnaof.c: Remove SCSS keyword.
6023         * inet/inet_mkadr.c: Likewise.
6024         * inet/inet_net.c: Likewise.
6025         * inet/inet_netof.c: Likewise.
6026         * inet/rcmd.c: Likewise.
6027         * inet/rexec.c: Likewise.
6028         * inet/ruserpass.c: Likewise.
6030 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6032         * resolv/inet_addr.c: Remove _LIBC conditionals.
6033         * resolv/res_data.c: Likewise.
6034         * resolv/res_init.c: Likewise.
6035         * resolv/res_mkquery.c: Likewise.
6036         * resolv/res_libc.c: Update comment.
6037         * resolv/README: Update.
6039 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6041         * resolv/gethnamaddr.c: Remove SCSS keyword.
6042         * resolv/herror.c: Likewise.
6043         * resolv/inet_addr.c: Likewise.
6044         * resolv/inet_net_ntop.c: Likewise.
6045         * resolv/inet_net_pton.c: Likewise.
6046         * resolv/inet_neta.c: Likewise.
6047         * resolv/inet_ntop.c: Likewise.
6048         * resolv/inet_pton.c: Likewise.
6049         * resolv/ns_date.c: Remove RCS keyword.
6050         * resolv/ns_name.c: Likewise.
6051         * resolv/ns_netint.c: Likewise.
6052         * resolv/ns_parse.c: Likewise.
6053         * resolv/ns_print.c: Likewise.
6054         * resolv/ns_samedomain.c: Likewise.
6055         * resolv/ns_ttl.c: Likewise.
6056         * resolv/nsap_addr.c: Likewise.
6057         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6058         * resolv/res_data.c: Remove RCS keyword.
6059         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6060         * resolv/res_init.c: Likewise.
6061         * resolv/res_mkquery.c: Likewise.
6062         * resolv/res_query.c: Likewise.
6063         * resolv/res_send.c: Likewise.
6065 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6067         * conform/data/stdio.h-data (fdopen): Expect also for
6068         [XPG3 || XPG4].
6070         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6071         (fseeko): Likewise.
6072         (ftello): Likewise.
6073         (ftrylockfile): Likewise.
6074         (funlockfile): Likewise.
6075         (getc_unlocked): Likewise.
6076         (getchar_unlocked): Likewise.
6077         (putc_unlocked): Likewise.
6078         (putchar_unlocked): Likewise.
6080 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6082         [BZ #19868]
6083         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6084         DNS packet syntax checks (which were not needed before).  Skip
6085         over non-PTR records.
6087 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6089         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6090         definition.  Include <stddef.h> instead.
6092 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6094         [BZ #19831]
6095         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6096         function.
6097         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6098         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6100 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6102         [BZ #19862]
6103         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6104         (getanswer_r): Do not call syslog.
6105         (gaih_getanswer_slice): Likewise.
6106         * resolv/gethnamaddr.c (AskedForGot): Remove.
6107         (getanswer): Do not call syslog.
6108         (gethostbyaddr): Likewise.
6110 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6112         * conform/data/signal.h-data (union sigval): Expect also if
6113         [XOPEN2K].
6114         (struct sigevent): Likewise.
6115         (SIGEV_NONE): Likewise.
6116         (SIGEV_SIGNAL): Likewise.
6117         (SIGEV_THREAD): Likewise.
6118         (SIGRTMIN): Likewise.
6119         (SIGRTMAX): Likewise.
6120         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6121         variable.
6122         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6124 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6126         [BZ #19830]
6127         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6128         (gaih_getanswer_slice): Likewise.
6129         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6130         Also check for availability of RR metadata.
6132 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6134         [BZ #19825]
6135         * resolv/res_send.c (send_vc): Remove early *resplen2
6136         initialization.  Set *resplen2 on socket error.  Call
6137         close_and_return_error for other errors.
6139 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6141         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6142         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6143         (SCM_IUCV_TRGCLS): New define.
6145 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6147         [BZ #20005]
6148         * libio/fmemopen.c (fmemopen_write): Update internal position after
6149         write.
6150         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6151         * stdio-common/tst-fmemopen4.c: New file..
6153 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6155         [BZ #19996]
6156         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6157         not [__USE_XOPEN2K].
6158         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6159         variable.
6161         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6162         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6163         variable.
6165         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6166         [__USE_XOPEN2K8].
6167         [__USE_LARGEFILE64] (off64_t): Likewise.
6168         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6169         variable.
6171 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6173         [BZ #19989]
6174         * libio/stdio.h (cuserid): Do not declare if
6175         [__USE_XOPEN2K && !__USE_GNU].
6176         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6177         variable.
6179 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6181         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6182         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6184         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6185         ifunc'ed strcspn.
6186         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6187         [EALIGN]: Removed.
6188         [END]: Likewise
6189         [STRSPN]: Define instead of the above to control symbol name.
6190         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6191         New file.
6192         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6193         Likewise.
6194         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6195         Likewise.
6196         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6197         Likewise.
6198         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6199         [INITIAL_MASK]: New macro.
6200         [STRCSPN]: Likewise.
6201         [UPDATE_MASK]: Likewise.
6202         [USE_AS_STRCSPN]: Lisewise.
6204 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6206         [BZ #19931]
6207         * stdio-common/tst-vfprintf-width-prec.c: New file.
6208         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6209         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6210         (generated): Add mtrace-related files.
6211         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6212         (tst-%-mem.out): New pattern rule, replaces
6213         tst-printf-bz18872-mem.out.
6214         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6215         specifier, deallocate any previously allocated work buffer.
6217 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6219         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6220         Add nop before __startcontext, add explaining comments.
6222 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6224         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6225         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6226         completely different API.
6228         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6229         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6230         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6231         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6232         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6233         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6234         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6235         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6236         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6237         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6239 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6241         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6243 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6245         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6246         when it is the default of 0.
6248 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6250         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6251         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6252         (sysdep_routines): Add new strcasestr targets.
6253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6254         (__libc_ifunc_impl_list): Likewise.
6255         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6256         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6257         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6258         * sysdeps/powerpc/powerpc64/power8/Makefile:
6259         New file to add strcasestr-ppc64 to sysdep_routines.
6260         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6261         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6263 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6265         * benchtests/Makefile (wcsmbs-benchset): Include only for
6266         native builds and runs.
6267         (LOCALES): Likewise.
6268         (bench-build): Build timing-type here instead of the bench
6269         target.  Generate locale only for native builds.
6270         * benchtests/README: Add note for cross-building.
6272         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6274         * benchtests/README: Update README to include instructions on
6275         using bench-build.
6277         * Makefile.in (bench-build): New target.
6278         * Rules (PHONY): Add bench-build target.
6279         * benchtests/Makefile (bench): Depend on bench-build.
6280         (bench-build): New target.
6282 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6284         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6285         profil_reply_port.
6286         (profile_waiter): Do not initialize profil_reply_port.
6287         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6288         frequency instead of tick length in us.
6290 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6292         [BZ #18712]
6293         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6294         (__old_mempcpy_small): Likewise.
6295         (__old_strcpy_small): Likewise.
6296         (__old_stpcpy_small): Likewise.
6297         (__old_strpbrk_c2): Fix compat symbol name.
6298         (__old_strpbrk_c3): Likewise.
6299         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6300         (__mempcpy_small): Remove.
6301         (__strcpy_small): Remove.
6302         (__stpcpy_small): Remove.
6304 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6306         [BZ #19400]
6307         * locale/iso-639.def: Add the Talossan/tzl language.
6309 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6311         [BZ #16983]
6312         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6313         comment.  Add "ln" to strchr check on postal_fmt.
6315 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6317         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6318         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6319         tel_dom_fmt.
6321 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6323         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6324         (sysdep_routines): Added __strlen_power8.
6325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6326         __strlen_power8 entry.
6327         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6328         Implementation for POWER8.
6329         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6330         for __strlen_power8.
6331         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6332         Implementation for POWER8.
6334 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6336         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6338 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6340         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6341         Goldmont and Airmont processors.
6343 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6345         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6346         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6347         (__STRING2_SMALL_GET32): Remove.
6348         (memset): Remove.
6349         (__memset_1): Remove.
6350         (__memset_gc): Remove.
6351         (__mempcpy): Remove.
6352         (mempcpy): Remove.
6353         (__mempcpy_args): Remove.
6354         (strchr): Remove.
6355         (strcpy): Remove.
6356         (strcpy_args): Remove.
6357         (__stpcpy_args): Remove.
6358         (__strcmp_cc): Remove.
6359         (__strcmp_gc): Remove.
6360         (strstr): Remove.
6362 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6364         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6365         * nis/nis_call.c (nis_server_cache_add): Likewise.
6367 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6369         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6371 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6373         * malloc/arena.c (__malloc_fork_lock_parent)
6374         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6375         internal_function attribute.
6377 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6379         * stdio-common/printf_fp.c (__printf_fp_l):
6380         Rename ___printf_fp_l to __printf_fp_l and
6381         remove strong alias. Use libc_hidden_def instead
6382         of ldbl_hidden_def macro.
6384 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6386         Remove malloc hooks from fork handler.  They are no longer needed
6387         because malloc runs right before fork, and no malloc calls from
6388         other fork handlers are not possible anymore.
6389         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6390         declarations.
6391         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6392         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6393         (atfork_recursive_cntr): Remove.
6394         (__malloc_fork_lock_parent): Do not override malloc hooks and
6395         thread_arena.
6396         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6397         thread_arena.
6398         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6399         thread_arena instead of save_arena.
6401 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6403         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6404         (thread_atfork, thread_atfork_static): Remove.
6405         * sysdeps/mach/hurd/malloc-machine.h:
6406         (thread_atfork, thread_atfork_static): Remove.
6408 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6410         [BZ #19431]
6411         Run the malloc fork handler as late as possible to avoid deadlocks.
6412         * malloc/malloc-internal.h: New file.
6413         * malloc/malloc.c: Include it.
6414         * malloc/arena.c (ATFORK_MEM): Remove.
6415         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6416         Update comment.
6417         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6418         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6419         Remove outdated comment.
6420         (ptmalloc_init): Do not call thread_atfork.  Remove
6421         thread_atfork_static.
6422         * malloc/tst-malloc-fork-deadlock.c: New file.
6423         * Makefile (tests): Add tst-malloc-fork-deadlock.
6424         (tst-malloc-fork-deadlock): Link against libpthread.
6425         * manual/memory.texi (Aligned Memory Blocks): Update safety
6426         annotation comments.
6427         * sysdeps/nptl/fork.c (__libc_fork): Call
6428         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6429         __malloc_fork_unlock_child.
6430         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6432 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6434         [BZ #19613]
6435         Remove union wait.
6436         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6437         (w_stopsig, w_stopval): Remove.
6438         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6439         stat_loc argument.
6440         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6441         (__WAIT_STATUS_DEFN): Remove.
6442         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6443         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6444         (wait, wait3, wait4): Use int * for the stat_loc argument.
6445         * posix/wait.c (__wait): Likewise.
6446         * posix/wait3.c (__wait3): Likewise.
6447         * posix/wait4.c (__wait4): Likewise.
6448         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6449         (__WAIT_STATUS_DEFN): Remove.
6450         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6451         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6452         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6453         argument.
6454         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6455         * sysdeps/posix/wait3.c (__wait3): Likewise.
6456         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6457         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6458         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6459         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6460         stat_loc argument.
6461         * manual/process.texi (BSD Wait Functions): Remove union wait.
6463 2016-04-13  Andreas Schwab  <schwab@suse.de>
6465         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6466         (test-extras): Add tst-tlsalign-vars.
6467         * math/Makefile: Wrap long lines.
6468         (libm-vec-test-wrappers): Define.
6469         (test-extras): Add $(libm-vec-test-wrappers).
6470         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6471         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6472         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6473         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6474         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6475         (extra-test-objs): Add corresponding objects.
6477 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6479         [BZ #19928]
6480         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6481         New.
6482         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6483         times of shared cache size.
6484         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6485         (VMOVNT): New.
6486         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6487         (VMOVNT): Likewise.
6488         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6489         (VMOVNT): Likewise.
6490         (VMOVU): Changed to movups for smaller code sizes.
6491         (VMOVA): Changed to movaps for smaller code sizes.
6492         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6493         comments.
6494         (PREFETCH): New.
6495         (PREFETCH_SIZE): Likewise.
6496         (PREFETCHED_LOAD_SIZE): Likewise.
6497         (PREFETCH_ONE_SET): Likewise.
6498         Rewrite to use forward and backward loops, which move 4 vector
6499         registers at a time, to support overlapping addresses and use
6500         non temporal store if size is above the threshold and there is
6501         no overlap between destination and source.
6503 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6505         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6506         Include dl-vdso.
6507         * sysdeps/unix/sysv/linux/mips/Versions: Add
6508         __vdso_clock_gettime.
6509         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6510         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6511         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6512         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6513         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6514         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6515         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6516         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6517         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6519 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6521         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6522         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6524         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6525         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6526         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6529         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6530         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6531         syscalls generation.
6532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6533         [__NR_pwrite64] (__NR_write): Remove define.
6534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6535         [__NR_pwrite64] (__NR_write): Remove define.
6536         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6537         Remove define.
6538         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6539         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6540         Remove define.
6541         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6542         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6543         Linux implementation as base.
6544         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6546         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6547         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6552         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6553         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6554         syscall generation.
6555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6556         [__NR_pread64] (__NR_pread): Remove define.
6557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6558         [__NR_pread64] (__NR_pread): Likewise.
6559         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6560         define.
6561         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6562         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6563         Remove define.
6564         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6565         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6566         Linux implementation as base.
6567         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6568         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6569         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6571         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6572         definition.
6573         (__ALIGNMENT_COUNT): Likewise.
6574         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6575         (__ALIGNMENT_COUNT): Likewise.
6576         (SYSCALL_LL): New define.
6577         (SYSCALL_LL64): Likewise.
6578         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6579         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6580         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6581         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6583         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6584         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6585         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6586         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6587         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6588         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6590 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6592         [BZ #19865]
6593         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6594         original buffer before retry.
6596 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6598         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6599         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6600         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6601         GLRO(dl_auxv) list.
6602         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6603         including <ldsodefs.h>.
6604         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6606 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6608         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6609         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6610         $(CPPFLAGS).
6612 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6614         [BZ #17950]
6615         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6616         Add -mfpmath=387.
6618 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6620         * sysdeps/i386/configure.ac: Change == to = when calling test.
6621         * sysdeps/x86_64/configure.ac: Likewise.
6622         * sysdeps/i386/configure: Regenerated.
6623         * sysdeps/x86_64/configure: Likewise.
6625 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6627         [BZ #16137]
6628         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6629         * benchtests/bench-strcoll.c (input_files): Likewise.
6630         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6631         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6632         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6634 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6636         [BZ #19929]
6637         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6638         [__USE_XOPEN2K8 && !__USE_GNU].
6639         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6640         variable.
6642         [BZ #19925]
6643         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6644         define if [!__USE_MISC && __USE_XOPEN2K].
6645         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6646         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6647         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6648         Likewise.
6649         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6650         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6651         variable.
6652         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6654 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6656         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6657         (sysdep_routines): Add new strspn targets.
6658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6659         (__libc_ifunc_impl_list): Add strspn.
6660         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6661         New file.
6662         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6663         Likewise.
6664         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6665         Likewise.
6666         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6667         Likewise.
6669 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6671         * misc/hsearch_r.c: Include <limits.h>.
6673 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6675         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6677 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6679         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6680         (MEMCPY_SYMBOL): New.
6681         (MEMPCPY_SYMBOL): Likewise.
6682         (MEMMOVE_CHK_SYMBOL): Likewise.
6683         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6684         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6685         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6686         Provide alias for memcpy in libc.a and ld.so.
6688 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6690         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6691         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6692         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6693         Disabled fro now.
6694         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6695         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6697 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6699         * benchtests/Makefile (string-benchset): Add memcpy-large,
6700         memmove-large and memset-large.
6701         * benchtests/bench-memcpy-large.c: New file.
6702         * benchtests/bench-memmove-large.c: Likewise.
6703         * benchtests/bench-memmove-large.c: Likewise.
6704         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6706 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6708         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6709         32-bit displacement to avoid long nop between instructions.
6711 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6713         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6714         a comment on VMOVU and VMOVA.
6716 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6718         [BZ #19633]
6719         Use specified locale for number formatting in strfmon_l.
6720         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6721         (__nl_lookup_word): New inline functions.
6722         * include/printf.h (__print_fp_l): Declare.
6723         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6724         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6725         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6726         (___printf_fp): New function.
6727         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6728         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6729         * stdlib/tst-strfmon_l.c (do_test): New test.
6730         * stdlib/Makefile (tests): Add kt.
6731         (LOCALES): Build additional locales.
6732         (tst-strfmon_l.out): Require locales.
6734 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6736         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6737         if not in libc.
6738         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6739         Likewise.
6740         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6741         Likewise.
6742         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6743         Likewise.
6745 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6747         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6748         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6749         with unaligned_erms.
6750         (__memmove_erms): Skip if source == destination.
6751         (__memmove_unaligned_erms): Don't check source == destination
6752         first.
6754 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6756         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6757         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6759 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6761         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6762         * string/strspn.c (strspn): Likewise.
6764 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6766         * benchtests/bench-memset.c (do_test): Support 64-byte
6767         alignment.
6768         (test_main): Test 64-byte alignment.
6770 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6772         * benchtests/bench-memmove.c (test_main): Test 64-byte
6773         alignment.
6775 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6777         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6779 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6781         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6782         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6783         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6785         * string/strpbrk.c (strpbrk): Rewrite function.
6786         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6787         (__strpbrk_c2): Likewise.
6788         (__strpbrk_c3): Likewise.
6789         * string/string-inlines.c
6790         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6791         Likewise.
6792         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6793         Likewise.
6795         * string/strspn.c (strcspn): Rewrite function.
6796         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6797         (__strspn_c1): Remove inline function.
6798         (__strspn_c2): Likewise.
6799         (__strspn_c3): Likewise.
6800         * string/string-inlines.c
6801         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6802         compatibility symbol.
6803         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6804         Likewise.
6805         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6806         Likewise.
6807         * string/string-inlines.c: Include generic version.
6809 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6810             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6812         * string/Version (libc): Add GLIBC_2.24.
6813         * string/strcspn.c (strcspn): Rewrite function.
6814         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6815         (__strcspn_c1): Remove inline function.
6816         (__strcspn_c2): Likewise.
6817         (__strcspn_c3): Likewise.
6818         * string/string-inline.c
6819         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6820         compatibility symbol.
6821         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6822         Likewise.
6823         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6824         Likewise.
6825         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6827 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6829         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6830         Use ahi instead of aghi to adjust stack pointer.
6832 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6834         [BZ #19853]
6835         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6836         TEST to take significant digits as second parameter.
6837         [TEST]: Redefine in terms of TEST_N taking 30
6838         significant digits.
6839         (do_test): Add test case to demonstrate precision
6840         failure in the ldbl-128ibm printf.
6841         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6842         (__mpn_extract_long_double): Carry 7 extra intermediate
6843         bits of precision to aide computing difference when
6844         signs differ.
6846 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6848         [BZ #19881]
6849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6850         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6851         memset-avx512-unaligned-erms.
6852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6853         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6854         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6855         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6856         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6857         __memset_sse2_unaligned_erms, __memset_erms,
6858         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6859         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6860         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6861         file.
6862         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6863         Likewise.
6864         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6865         Likewise.
6866         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6867         Likewise.
6869 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6871         [BZ #19776]
6872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6873         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6874         memmove-avx512-unaligned-erms.
6875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6876         (__libc_ifunc_impl_list): Test
6877         __memmove_chk_avx512_unaligned_2,
6878         __memmove_chk_avx512_unaligned_erms,
6879         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6880         __memmove_chk_sse2_unaligned_2,
6881         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6882         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6883         __memmove_avx512_unaligned_erms, __memmove_erms,
6884         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6885         __memcpy_chk_avx512_unaligned_2,
6886         __memcpy_chk_avx512_unaligned_erms,
6887         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6888         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6889         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6890         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6891         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6892         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6893         __mempcpy_chk_avx512_unaligned_erms,
6894         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6895         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6896         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6897         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6898         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6899         __mempcpy_erms.
6900         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6901         file.
6902         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6903         Likwise.
6904         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6905         Likwise.
6906         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6907         Likwise.
6909 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6911         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6912         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6913         (La_s390_64_regs): Likewise.
6914         (La_s390_32_retval): Append vector register lrv_v24.
6915         (La_s390_64_retval): Likeweise.
6916         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6917         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6918         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6919         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6921 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6923         [BZ #19916]
6924         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6925         to create a non-vector/vector version for _dl_runtime_resolve and
6926         _dl_runtime_profile. Move implementation to ...
6927         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6928         (_dl_runtime_resolve) Save and restore fpr/vrs.
6929         (_dl_runtime_profile) Save and restore vrs and fix some issues
6930         if _dl_call_pltexit is called.
6931         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6932         Choose the correct resolver function if running on a machine with vx.
6933         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6934         to create a non-vector/vector version for _dl_runtime_resolve and
6935         _dl_runtime_profile. Move implementation to ...
6936         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6937         (_dl_runtime_resolve) Save and restore fpr/vrs.
6938         (_dl_runtime_profile) Save and restore vrs and fix some issues
6939         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6940         Choose the correct resolver function if running on a machine with vx.
6942 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6944         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6946 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6948         [BZ #19509]
6949         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6950         skip_map != NULL.
6951         * elf/tst-dlsym-error.c: New file.
6952         * elf/Makefile (tests): Add tst-dlsym-error.
6953         (tst-dlsym-error): Link against libdl.
6955 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6958         (__ASSUME_FUTIMESAT): Remove macro.
6959         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6961 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6963         [BZ #19879]
6964         CVE-2016-3075
6965         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6966         copy name.
6968 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6970         [BZ #19837]
6971         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6972         error if parse_line fails.
6974 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6976         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6977         (index_cpu_ERMS): Likewise.
6978         (reg_ERMS): Likewise.
6980 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6982         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6983         PER_LINUX_FDPIC): Add.
6985 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6988         memcpy-avx512-no-vzeroupper.
6989         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6990         to ...
6991         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6992         (MEMCPY): Don't define.
6993         (MEMCPY_CHK): Likewise.
6994         (MEMPCPY): Likewise.
6995         (MEMPCPY_CHK): Likewise.
6996         (MEMPCPY_CHK): Renamed to ...
6997         (__mempcpy_chk_avx512_no_vzeroupper): This.
6998         (MEMPCPY_CHK): Renamed to ...
6999         (__mempcpy_chk_avx512_no_vzeroupper): This.
7000         (MEMCPY_CHK): Renamed to ...
7001         (__memmove_chk_avx512_no_vzeroupper): This.
7002         (MEMCPY): Renamed to ...
7003         (__memmove_avx512_no_vzeroupper): This.
7004         (__memcpy_avx512_no_vzeroupper): New alias.
7005         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7007 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7009         [BZ #18858]
7010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7011         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7012         and mempcpy-avx512-no-vzeroupper.
7013         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7014         New.
7015         (MEMPCPY): Likewise.
7016         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7017         (MEMPCPY_CHK): New.
7018         (MEMPCPY): Likewise.
7019         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7020         (MEMPCPY): Likewise.
7021         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7022         (MEMPCPY): Likewise.
7023         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7024         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7025         Likewise.
7026         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7027         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7029 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7030              Amit Pawar  <Amit.Pawar@amd.com>
7032         [BZ #19583]
7033         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7034         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7035         processors.  Set Fast_Copy_Backward for AMD Excavator
7036         processors.
7037         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7038         New.
7039         (index_arch_Fast_Unaligned_Copy): Likewise.
7040         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7041         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7043 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7045         [BZ #19791]
7046         * resolv/res_send.c (close_and_return_error): New function.
7047         (send_dg): Initialize *resplen2 after reopen failure.  Call
7048         close_and_return_error for error returns.  On error paths without
7049         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7050         successful return.
7052 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7054         [BZ# 19860]
7055         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7056         zero if the compiler does not provide the AVX512F bit.
7058 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7060         [BZ #19848]
7061         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7062         from 8 to 4.
7063         (__ieee754_powl): Compare integer exponent against 4 not 8.
7064         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7065         from 8 to 4.
7066         (__ieee754_powl): Compare integer exponent against 4 not 8.
7067         * math/auto-libm-test-in: Add more tests of pow.
7068         * math/auto-libm-test-out: Regenerated.
7069         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7072 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7074         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7075         Make code unconditional.
7076         [!__NR_utimensat]: Remove conditional code.
7077         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7078         Make code unconditional.
7079         [!__NR_utimensat]: Remove conditional code.
7080         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7081         Make code unconditional.
7082         [!__NR_utimensat]: Remove conditional code.
7084 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7086         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7087         Make code unconditional.
7089 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7091         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7092         call-clobbered %eax on retry path.
7093         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7095 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7097         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7098         Don't set %rcx twice before "rep movsb".
7100 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7102         [BZ #19583]
7103         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7104         inline.  Check family before setting family, model and
7105         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7106         bits here.
7107         (init_cpu_features): Replace HAS_CPU_FEATURE and
7108         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7109         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7110         for Intel processors with usable AVX2.  Call get_common_indeces
7111         for other processors with family == NULL.
7112         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7113         (CPU_FEATURES_ARCH_P): Likewise.
7114         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7115         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7117 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7119         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7120         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7121         $(shared-thread-library) instead of hardcoding the path to libpthread.
7123 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7125         * sysdeps/unix/sysv/linux/kernel-features.h
7126         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7127         * sysdeps/unix/sysv/linux/getdents.c
7128         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7129         [!have_no_getdents64_defined]: Likewise.
7130         (__GETDENTS): Remove __have_no_getdents64 conditional.
7132 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7134         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7135         Remove macro.
7136         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7137         <kernel-features.h>.
7138         (signalfd) [__NR_signalfd4]: Make code unconditional.
7139         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7141 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7143         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7144         style.
7146 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7148         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7149         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7150         __pthread_unwind.
7151         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7152         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7153         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7154         (__condvar_cleanup1): Likewise.
7156 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7158         [BZ #19822]
7159         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7160         move it to the final $@ location.
7162 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7164         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7165         access where posix_spawn success and pid argument is null.
7166         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7167         success case.
7169 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7171         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7173         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7175         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7176         and __fcntl.
7177         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7178         __fcntl only.
7179         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7180         adding attribute_hidden to __open and __fcntl.
7182         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7183         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7184         depend on libc-modules.h,
7185         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7187 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7190         Remove macro.
7191         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7192         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7193         entry.
7195         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7196         Remove macro.
7197         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7198         include <kernel-features.h>.
7199         [!__ASSUME_FALLOCATE]: Remove conditional code.
7200         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7202 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7204         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7205         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7206         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7207         (_ZGVdN4v_cos_avx2): Likewise.
7208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7209         (_ZGVdN4v_cos): Likewise.
7210         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7211         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7212         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7213         (_ZGVdN4v_exp_avx2): Likewise.
7214         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7215         (_ZGVdN4v_exp): Likewise.
7216         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7217         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7218         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7219         (_ZGVdN4v_log_avx2): Likewise.
7220         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7221         (_ZGVdN4v_log): Likewise.
7222         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7223         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7224         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7225         (_ZGVdN4vv_pow_avx2): Likewise.
7226         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7227         (_ZGVdN4vv_pow): Likewise.
7228         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7229         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7230         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7231         (_ZGVdN4v_sin_avx2): Likewise.
7232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7233         (_ZGVdN4v_sin): Likewise.
7234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7235         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7237         (_ZGVdN4vvv_sincos_avx2): Likewise.
7238         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7239         (_ZGVdN4vvv_sincos): Likewise.
7240         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7241         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7242         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7243         (_ZGVbN4v_cosf_sse4): Likewise.
7244         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7245         (_ZGVdN8v_cosf_avx2): Likewise.
7246         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7247         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7248         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7249         (_ZGVbN4v_expf_sse4): Likewise.
7250         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7251         (_ZGVdN8v_expf_avx2): Likewise.
7252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7253         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7254         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7255         (_ZGVbN4v_logf_sse4): Likewise.
7256         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7257         (_ZGVdN8v_logf_avx2): Likewise.
7258         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7259         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7260         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7261         (_ZGVbN4vv_powf_sse4): Likewise.
7262         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7263         (_ZGVdN8vv_powf_avx2): Likewise.
7264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7265         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7267         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7269         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7270         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7271         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7272         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7273         (_ZGVbN4v_sinf_sse4): Likewise.
7274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7275         (_ZGVdN8v_sinf_avx2): Likewise.
7276         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7277         Use JUMPTARGET to call callee.
7278         (WRAPPER_IMPL_SSE2_ff): Likewise.
7279         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7280         (WRAPPER_IMPL_AVX): Likewise.
7281         (WRAPPER_IMPL_AVX_ff): Likewise.
7282         (WRAPPER_IMPL_AVX_fFF): Likewise.
7283         (WRAPPER_IMPL_AVX512): Likewise.
7284         (WRAPPER_IMPL_AVX512_ff): Likewise.
7285         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7286         Likewise.
7287         (WRAPPER_IMPL_SSE2_ff): Likewise.
7288         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7289         (WRAPPER_IMPL_AVX): Likewise.
7290         (WRAPPER_IMPL_AVX_ff): Likewise.
7291         (WRAPPER_IMPL_AVX_fFF): Likewise.
7292         (WRAPPER_IMPL_AVX512): Likewise.
7293         (WRAPPER_IMPL_AVX512_ff): Likewise.
7294         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7296 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7298         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7299         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7300         qualifier.
7301         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7302         internal_function qualifiers.
7304 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7306         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7307         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7308         * math/atest-exp.c (exp_mpn): Mark chk unused.
7309         * math/atest-exp2.c (exp_mpn): Likwise.
7310         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7311         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7313 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7316         Remove macro.
7317         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7318         <kernel-features.h>.
7319         [__NR_ppoll]: Make code unconditional.
7320         [!__ASSUME_PPOLL]: Remove conditional code.
7322         * sysdeps/unix/sysv/linux/kernel-features.h
7323         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7324         (__ASSUME_ACCEPT4): Likewise.
7325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7326         Define.
7327         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7328         Likewise.
7329         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7330         Likewise.
7331         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7332         Likewise.
7333         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7334         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7335         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7336         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7337         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7338         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7339         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7340         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7341         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7342         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7343         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7344         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7345         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7347         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7348         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7349         Likewise.
7350         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7351         Likewise.
7352         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7353         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7354         0x040300].
7355         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7356         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7357         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7358         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7359         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7360         0x030300].
7361         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7362         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7363         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7364         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7365         0x040300].
7366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7367         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7368         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7369         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7370         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7371         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7372         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7373         0x030300].
7374         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7375         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7376         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7378         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7379         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7380         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7382         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7383         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7384         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7385         0x040300].
7386         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7387         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7388         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7389         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7390         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7392         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7393         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7395         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7396         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7397         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7398         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7399         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7400         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7401         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7402         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7403         Likewise.
7404         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7405         Likewise.
7407 2016-03-15  Andreas Schwab  <schwab@suse.de>
7409         [BZ #19257]
7410         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7411         statp->_u._ext.nscount as loop count.
7413 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7415         * math/test-signgam-finite-c99.c: Also #undef
7416         __LIBC_INTERNAL_MATH_INLINES.
7417         * math/test-signgam-main.c: Likewise.
7419 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7421         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7422         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7423         (MADV_FREE): Likewise.
7424         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7425         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7426         EPOLLEXCLUSIVE.
7428 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7430         * timezone/README: Remove mention of checktab.awk. Mention wiki
7431         SharedSourceFiles.
7433 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7435         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7436         WUNTRACED.
7438 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7440         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7441         order to match the type of p when calling atomic_exchange_acq().
7443 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7445         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7446         cfi_offset calls.
7447         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7448         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7449         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7450         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7451         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7453 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7455         * timezone/checktab.awk: Removed.
7457 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7459         * manual/math.texi (Errors in Math Functions): Document relaxed
7460         accuracy goals for IBM long double.
7461         * math/libm-test.inc (test_exceptions): Always allow spurious
7462         "underflow" and "inexact" exceptions for IBM long double.
7464 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7466         [BZ #19762]
7467         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7468         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7469         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7470         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7471         (bit_arch_*): This for feature array.
7472         (bit_*): Renamed to ...
7473         (bit_cpu_*): This for cpu array.
7474         (index_*): Renamed to ...
7475         (index_arch_*): This for feature array.
7476         (index_*): Renamed to ...
7477         (index_cpu_*): This for cpu array.
7478         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7479         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7480         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7481         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7482         bit_##name with index_cpu_##name and bit_cpu_##name.
7483         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7484         bit_##name with index_arch_##name and bit_arch_##name.
7486 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7488         [BZ #19792]
7489         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7490         Terminate FDE before return label.
7492 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7494         [BZ #19790]
7495         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7496         (rintl): Define as macro.
7497         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7498         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7499         of fesetround.  Ensure results are evaluated before end of scope.
7500         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7501         USE_AS_NEARBYINTL and include s_rintl.c.
7502         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7503         Disable exception traps in new environment.
7504         (libc_feholdsetround_ppc_ctx): Likewise.
7506 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7508         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7509         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7510         (tst_audit10_aux) [__AVX512F__]: ... here.
7512 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7514         * include/sys/auxv.h: New file.
7516 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7518         [BZ #19759]
7519         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7521 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7523         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7524         operand modifier.
7525         (feclearexcept): Likewise.
7527 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7529         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7530         to reflect the entire 32-bit HWCAP.
7531         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7532         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7534 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7536         [BZ #19783]
7537         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7538         $(test-via-rtld-prefix).
7539         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7541 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7543         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7544         union wait.  Report any non-zero exit status as error.
7546 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7548         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7549         configured with --enable-hardcoded-path-in-tests.
7551 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7553         [BZ #19677]
7554         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7555         (__ieee754_remainderl): Put zero low parts in canonical form.
7556         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7557         file.  Based on
7558         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7559         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7560         with wrapper round test-fmodrem-ldbl-128ibm.c.
7561         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7562         file.
7563         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7564         Likewise.
7565         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7566         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7568 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7570         [BZ #19610]
7571         * elf/ldconfig.c (opt_link): Update comment.
7572         (options): Update help string for option -X.
7573         (search_dir): Unlink stale symbolic link only if updating symbolic
7574         links.
7575         * elf/tst-ldconfig-X.sh: New file.
7576         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7577         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7579 2016-03-07  Andreas Schwab  <schwab@suse.de>
7581         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7582         needed arguments.
7584 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7586         [BZ #15333]
7587         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7588         to lstat64.
7590 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7592         * libio/filedoalloc.c (isatty): Remove.
7593         (local_isatty): Add comment.  Call __isatty directly.
7594         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7595         * libio/wfiledoalloc.c (isatty): Remove.
7596         (_IO_wfile_doallocate): Update comment.
7598 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7600         [BZ #19269]
7601         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7602         tst-audit4-aux.o.
7603         (tst-audit10): Depend on tst-audit10-aux.o.
7604         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7605         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7606         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7607         instead of inline AVX code.
7608         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7609         instead of inline AVX512 code.
7610         * sysdeps/x86_64/tst-audit4-aux.c: New file
7611         * sysdeps/x86_64/tst-audit10-aux.c: New file
7613         [BZ #19648]
7614         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7616 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7618         [BZ #14750]
7619         [BZ #10354]
7620         [BZ #18433]
7621         * include/sched.h (__clone): Add hidden prototype.
7622         (__clone2): Likewise.
7623         * include/unistd.h (__dup): Likewise.
7624         * posix/Makefile (tests): Add tst-spawn2.
7625         * posix/tst-spawn2.c: New file.
7626         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7627         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7628         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7629         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7630         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7631         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7632         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7633         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7634         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7635         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7636         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7638         Likewise.
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7640         Likewise.
7641         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7642         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7643         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7644         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7645         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7646         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7647         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7648         * sysdeps/unix/sysv/linux/nptl-signals.h
7649         (____nptl_is_internal_signal): New function.
7650         * sysdeps/unix/sysv/linux/spawni.c: New file.
7652         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7653         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7654         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7655         * posix/tst-execvp2.c (do_test): Likewise.
7656         * posix/tst-execvp3.c (do_test): Likewise.
7657         * posix/tst-execvp4.c (do_test): Likewise.
7658         * posix/tst-execvpe1.c: New file.
7659         * posix/tst-execvpe2.c: Likewise.
7660         * posix/tst-execvpe3.c: Likewise.
7661         * posix/tst-execvpe4.c: Likewise.
7662         * posix/tst-execvpe5.c: Likewise.
7663         * posix/tst-execvpe6.c: Likewise.
7665         [BZ #19534]
7666         * posix/execl.c (execl): Remove dynamic memory allocation.
7667         * posix/execle.c (execle): Likewise.
7668         * posix/execlp.c (execlp): Likewise.
7670 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7672         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7673         Replace .text with .text.avx512.
7674         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7675         Likewise.
7677 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7679         * sysdeps/generic/libnsl.abilist: New file.
7680         * sysdeps/generic/libutil.abilist: New file.
7682 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7684         [BZ #19762]
7685         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7686         HAS_ARCH_FEATURE with Fast_Rep_String.
7687         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7688         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7689         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7690         Likewise.
7691         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7692         Likewise.
7693         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7694         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7695         Likewise.
7696         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7697         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7698         Likewise.
7700 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7702         [BZ #19745]
7703         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7704         with *%rax in call.
7706 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7708         [BZ #19745]
7709         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7710         with *__libc_start_main@GOTPCREL(%rip) in call.
7712 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7714         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7715         inside conditional for nonempty $(CXX).
7717         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7718         nonempty.
7720         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7721         to test for empty $(CXX) rather than $(CXX) of "no".
7723 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7725         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7727 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7728             H.J. Lu  <hongjiu.lu@intel.com>
7730         [BZ #18880]
7731         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7732         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7733         enable __memcpy_ssse3_back.
7735 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7737         [BZ #19758]
7738         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7739         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7741 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7743         [BZ #19490]
7744         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7745         (__fentry__): Likewise.
7747 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7749         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7750         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7752 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7754         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7755         __mcount_internal directly.
7756         (C_LABEL(__fentry__)): Likewise.
7757         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7758         directly.
7760 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7762         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7763         (__start_context): Call __setcontext directly.
7765 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7767         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7768         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7769         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7770         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7772         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7773         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7774         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7775         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7776         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7777         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7778         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7779         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7780         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7781         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7782         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7783         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7785         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7786         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7787         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7789         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7790         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7791         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7792         Remove conditional code.
7793         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7794         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7795         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7796         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7797         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7798         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7799         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7800         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7801         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7802         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7803         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7804         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7806 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7808         * NEWS (2.23): Fix typo in bug 19048 text.
7810 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7812         [BZ #14259]
7813         * Makeconfig: Rename msgcatdir to localedir.
7814         Rename inst_msgcatdir to inst_localedir.
7815         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7816         * config.make.in: Add localedir.
7817         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7818         (ldd-rewrite): Likewise.
7819         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7820         (install-others): Use inst_localedir.
7821         (CPPFLAGS): Use localedir.
7822         * locale/Makefile (locale-CPPFLAGS): Likewise.
7823         * po/Makefile (mo-installed): Use inst_localedir.
7825         [BZ #19575]
7826         * localedata/charmaps/GB18030: Update comments regarding PAU to
7827         non-PUA mappings.
7829 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7831         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7832         test for header.
7833         * sysdeps/unix/sysv/linux/configure: Regenerated.
7834         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7835         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7836         Remove conditional code.
7837         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7839         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7840         Define to 3.2.0.
7841         (arch_minimum_kernel): Likewise.
7842         * sysdeps/unix/sysv/linux/configure: Regenerated.
7843         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7844         Define to 2.6.32.
7845         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7846         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7847         (arch_minimum_kernel): Define to 2.6.32.
7848         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7849         * README: Document Linux 3.2 requirement.
7850         * manual/install.texi (Linux): Document Linux 3.2 headers
7851         requirement.
7852         * INSTALL: Regenerated.
7854 2016-02-24  Andreas Schwab  <schwab@suse.de>
7856         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7857         if !NO_LONG_DOUBLE.
7859 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7861         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7862         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7864 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7866         [BZ #19512]
7867         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7869 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7871         * posix/tst-dir.c: Include libc-internal.h.
7873 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7875         [BZ #19056]
7876         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7877         * manual/filesys.texi (Reading/Closing Directory): Mention
7878         deprecaion.
7879         * posix/tst-dir.c (main): Disable deprecation warning in test.
7881 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7883         [BZ #19679]
7884         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7885         Renamed to ...
7886         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7887         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7888         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7889         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7890         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7891         * sysdeps/x86_64/dl-trampoline.h
7892         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7893         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7895 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7897         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7899 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7901         * elf/elf.h (R_386_GOT32X): New.
7902         (R_386_NUM): Update.
7903         (R_X86_64_GOTPCRELX: New.
7904         (R_X86_64_REX_GOTPCRELX): New.
7905         (R_X86_64_NUM): Update.
7907 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7909         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7911 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7913         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7914         assign attr->stackaddr to it, and adjust it down when
7915         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7916         [_STACK_GROWS_UP]: Delete assert.
7917         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7918         Implement stack grows up logic.
7919         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7920         stack grows up logic.
7922 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7924         * NEWS: Update with 2.24 template.
7926 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7928         [BZ #19678]
7929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7930         Ensure +0.0 is returned when taking the next value below the least
7931         positive value.
7933 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7935         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7936         available.  Do not define NO_THREADS.
7937         * malloc/malloc.c: Do not check NO_THREADS.
7938         * malloc/arena.c: Likewise.
7940 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7942         * malloc/malloc.c (__libc_mallinfo): Update comment.
7943         (struct malloc_par): Remove max_total_mem member, it was always 0.
7944         (int_mallinfo): Store 0 into usmblks (no functional change).
7945         * malloc/hooks.c (struct malloc_state): Document that
7946         max_total_mem is always 0.
7947         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7948         always 0.
7949         * manual/memory.texi (Statistics of Malloc): Likewise.
7951 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7953         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7954         * malloc/arena.c (arena_max): Remove.
7955         (heap_trim, _int_new_arena): Do not update arena_max.
7957 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7959         * resolv/res_init.c (res_ninit): Update comment.
7961 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7963         [BZ #19505]
7964         * posix/spawn_int.h: Add headers and include guard.
7965         (__spawn_valid_fd): New function.
7966         * posix/spawn_faction_addopen.c
7967         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7968         * posix/spawn_faction_addclose.c
7969         (posix_spawn_file_actions_addclose): Likewise.
7970         * posix/spawn_faction_adddup2.c
7971         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7972         second file descriptor.
7973         * posix/spawn_valid_fd.c: New file.
7974         * posix/tst-posix_spawn-fd.c: New file.
7975         * posix/Makefile (routines): Add spawn_valid_fd.
7976         (tests): Add tst-posix_spawn-fd.
7978 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7980         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7981         (do_test): Limit the number of arenas, so that we can use fewer
7982         outer threads.  Limit timeout to 3 seconds, in preparation for a
7983         larger TIMEOUT value.
7985 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7987         [BZ #19674]
7988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7989         sign in overflowing and underflowing results when overflow or
7990         underflow is detected early.  Include sign in result before rather
7991         than after scaling.
7993         [BZ #19603]
7994         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7995         (__ieee754_remainderl): Adjust sign of integer version of low part
7996         when taking absolute value of high part.
7997         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7998         * math/libm-test.inc (remainder_test_data): Add another test.
7999         (remquo_test_data): Likewise.
8001 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8003         [BZ #19602]
8004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8005         equal high parts and both low parts zero specially.
8006         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8007         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8008         Add test-fmodl-ldbl-128ibm.
8010         [BZ #19595]
8011         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8012         common logic for all cases of shifting subnormal results.  Do not
8013         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8014         exponent to ldbl_insert_mantissa in subnormal case.
8016         [BZ #19594]
8017         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8018         on high and low parts then adjust result and use
8019         ldbl_canonicalize_int if needed.
8021         [BZ #19593]
8022         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8023         on high part and __floor or __ceil on low part then use
8024         ldbl_canonicalize_int if needed.
8026         [BZ #19592]
8027         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8028         high and low parts then use ldbl_canonicalize_int if needed.
8030         [BZ #17899]
8031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8032         New function.
8033         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8034         on high and low parts then use ldbl_canonicalize_int if needed.
8036 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8038         * configure: Regenerated.
8040         * po/libc.pot: Regenerated.
8042         * po/be.po: Updated translation.
8043         * po/bg.po: Likewise.
8044         * po/ca.po: Likewise.
8045         * po/cs.po: Likewise.
8046         * po/da.po: Likewise.
8047         * po/el.po: Likewise.
8048         * po/eo.po: Likewise.
8049         * po/es.po: Likewise.
8050         * po/fi.po: Likewise.
8051         * po/fr.po: Likewise.
8052         * po/gl.po: Likewise.
8053         * po/hr.po: Likewise.
8054         * po/hu.po: Likewise.
8055         * po/ia.po: Likewise.
8056         * po/id.po: Likewise.
8057         * po/it.po: Likewise.
8058         * po/ja.po: Likewise.
8059         * po/lt.po: Likewise.
8060         * po/nb.po: Likewise.
8061         * po/nl.po: Likewise.
8062         * po/pt_BR.po: Likewise.
8063         * po/rw.po: Likewise.
8064         * po/sk.po: Likewise.
8065         * po/sl.po: Likewise.
8066         * po/sv.po: Likewise.
8067         * po/tr.po: Likewise.
8068         * po/zh_CN.po: Likewise.
8069         * po/zh_TW.po: Likewise.
8071         * version.h (RELEAES): Set to "development".
8072         (VERSION): Set to 2.23.90.
8074         * version.h (RELEASE): Set to "stable".
8075         (VERSION): Set to 2.23.
8076         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8078         * NEWS: Updated fixed bugs.
8080 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8081             Wilco Dijkstra  <wdijkstr@arm.com>
8083         [BZ #19462]
8084         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8085         (_STRING_INLINE_unaligned): This.
8086         * include/string.h: Include <string_private.h>.
8087         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8088         _STRING_INLINE_unaligned.
8089         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8090         (_STRING_INLINE_unaligned): New.
8091         * sysdeps/aarch64/string_private.h: New file.
8092         * sysdeps/generic/string_private.h: Likewise.
8093         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8094         * sysdeps/s390/string_private.h: Likewise.
8095         * sysdeps/x86/string_private.h: Likewise.
8096         * sysdeps/m68k/m680x0/m68020/bits/string.h
8097         (_STRING_ARCH_unaligned): Renamed to ...
8098         (_STRING_INLINE_unaligned): This.
8099         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8100         to ...
8101         (_STRING_INLINE_unaligned): This.
8102         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8103         to ...
8104         (_STRING_INLINE_unaligned): This.
8105         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8106         to ...
8107         (_STRING_INLINE_unaligned): This.
8109 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8110             H.J. Lu  <hongjiu.lu@intel.com>
8112         [BZ #19590]
8113         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8114         relocation.
8116 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8118         [BZ #18665]
8119         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8120         *herrno_p.
8121         (gaih_getanswer): Document functional behviour. Return tryagain
8122         if any result is tryagain.
8123         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8124         when freed.
8125         * resolv/res_send.c: Add copyright text.
8126         (__libc_res_nsend): Document that MAXPACKET is expected.
8127         (send_vc): Document. Remove buffer reuse.
8128         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8129         size of the buffer. Add Dprint for truncated UDP buffer.
8131 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8133         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8134         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8135         * INSTALL: Regenerate.
8137 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8138             Jonathan Wakely  <jwakely@redhat.com>
8139             Carlos O'Donell  <carlos@redhat.com>
8141         [BZ 19439]
8142         * math/Makefile (tests): Add test-math-isinff.
8143         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8144         * math/bits/mathcalls.h [__USE_MISC]: Use
8145         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8146         functions not in C++11 and which don't conflict e.g. isinff,
8147         isinfl etc.
8148         * math/test-math-isinff.cc: New file.
8150 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8152         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8154 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8156         [BZ #19529]
8157         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8159 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8161         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8163 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8165         [BZ #19550]
8166         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8167         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8168         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8169         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8170         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8171         New syscall entry.
8172         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8173         New syscall entry.
8174         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8175         syscall entry.
8177 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8179         [BZ #18240]
8180         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8181         unsigned int wraparound.
8183 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8185         [BZ #18240]
8186         * misc/bug18240.c: New test.
8187         * misc/Makefile (tests): Add it.
8189 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8190             Joseph Myers  <joseph@codesourcery.com>
8192         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8193         load in branch delay slot when less than a word of input left.
8195 2016-01-27  Andreas Schwab  <schwab@suse.de>
8197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8198         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8199         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8200         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8202 2016-01-26  David S. Miller  <davem@davemloft.net>
8204         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8206 2016-01-25  David S. Miller  <davem@davemloft.net>
8208         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8209         __sqrtl_finite.
8210         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8211         instead using versioned_symbol.
8212         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8213         of entries.
8215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8216         __sqrtl_finite to GLIBC_2.23
8218 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8220         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8222 2016-01-25  Andreas Schwab  <schwab@suse.de>
8224         [BZ #17514]
8225         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8226         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8227         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8228         * nptl/tst-mutex-errorcheck.c: New file.
8230 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8232         [BZ #18560]
8233         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8234         (IPCOP_semop): Likewise.
8235         (IPCOP_semget): Likewise.
8236         (IPCOP_semctl): Likewise.
8237         (IPCOP_msgsnd): Likewise.
8238         (IPCOP_msgrcv): Likewise.
8239         (IPCOP_msgget): Likewise.
8240         (IPCOP_msgctl): Likewise.
8241         (IPCOP_shmat): Likewise.
8242         (IPCOP_shmdt): Likewise.
8243         (IPCOP_shmget): Likewise.
8244         (IPCOP_shmctl): Likewise.
8246 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8248         * string/tst-endian.c: Include <libc-internal.h>.
8249         (do_test): Ignore tautological-compare warnings around
8250         "htobeXX (beXXtoh (i)) != i" and
8251         "htoleXX (leXXtoh (i)) != i" if-statements.
8253 2016-01-24  David S. Miller  <davem@davemloft.net>
8255         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8256         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8257         alias.
8258         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8259         __sqrtl_finite.
8261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8263 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8265         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8266         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8267         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8269 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8271         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8272         (thread_func): Use new function to simplify barrier check.
8273         (do_test): Use new function to simplify checking barrier exit
8274         code, and actually join the child thread.
8276 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8278         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8279         semicolon.
8280         (__libc_tend): Likewise.
8281         (__libc_tabort): Likewise.
8283 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8285         * sysdeps/nios2/libm-test-ulps: Update.
8286         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8287         (__gtsf2): Likewise.
8288         (__unorddf2): Likewise.
8289         (__unordsf2): Likewise.
8290         (__ledf2): Likewise.
8292 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8294         * nis/nis_table.c (__follow_path): Disable diagnostic for
8295         uninitialized variable that is a false positive for gcc 4.7.
8296         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8298 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8300         * sysdeps/nacl/lowlevellock-futex.h
8301         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8302         Always evaluate PRIVATE argument.
8304 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8306         [BZ #19490]
8307         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8308         (pthread_cond_broadcast): Use ENTRY/END
8309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8310         (pthread_cond_signal): Likewise.
8311         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8312         Likewise.
8313         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8314         Likewise.
8315         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8316         Likewise.
8318 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8320         * sysdeps/ieee754/dbl-64/s_finite.c
8321         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8322         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8323         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8324         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8325         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8328         (__gtsf2): Add as optional for libc.so.
8329         (__unordsf2): Likewise.
8330         (__signbit): Remove for libc.so.
8331         (__signbitl): Likewise.
8333 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8335         * iconvdata/bug-iconv11.c (test_ibm93x):
8336         Use %zu printf format specifier for size_t argument.
8338 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8340         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8341         already-recorded ulps.
8342         * sysdeps/arm/libm-test-ulps: Regenerated.
8343         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8344         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8345         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8347 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8348             Paul Pluzhnikov  <ppluzhnikov@google.com>
8350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8351         assembler not supporting AVX-512.
8353 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8355         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8357 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8359         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8360         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8362         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8364         * sysdeps/arm/libm-test-ulps: Regenerated.
8366 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8368         [BZ #19451]
8369         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8371 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8373         [BZ #19486]
8374         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8375         * sysdeps/generic/fix-fp-int-convert-overflow.h
8376         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8377         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8378         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8379         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8380         Likewise.
8381         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8382         Avoid conversions to long int where inexact exceptions
8383         could be raised.
8384         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8385         Likewise.
8386         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8387         Avoid conversions to long long int where inexact exceptions
8388         could be raised.
8389         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8390         Likewise.
8392 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8394         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8395         * configure: Regenerated.
8397 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8399         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8401 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8404         outside of comment.
8406 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8408         * nptl/tst-barrier1.c: Add description on first line.
8409         * nptl/tst-barrier2.c: Likewise.
8410         * nptl/tst-barrier3.c: Likewise.
8411         * nptl/tst-barrier4.c: Likewise.
8412         * nptl/tst-barrier5.c: Likewise.
8414 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8416         [BZ #18868]
8417         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8419 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8423         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8424         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8425         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8426         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8427         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8428         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8429         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8430         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8431         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8433 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8435         [BZ #13065]
8436         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8437         new implementation.
8438         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8439         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8440         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8441         (BARRIER_IN_THRESHOLD): New macro.
8442         * nptl/pthread_barrierattr_setpshared.c
8443         (pthread_barrierattr_setpshared): Clean up.
8444         * nptl/tst-barrier4.c: Correct comment.
8445         * nptl/tst-barrier5.c: New file.
8446         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8447         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8448         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8449         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8450         * nptl/lowlevelbarrier.sym: Remove.
8451         * nptl/DESIGN-barrier.txt: Remove.
8452         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8453         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8454         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8455         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8456         error.
8457         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8458         implementation.
8460 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8462         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8463         (do_child): Mask SIGRTMIN while thr is running.
8465 2016-01-15  Martin Sebor  <msebor@redhat.com>
8467         [BZ #19432]
8468         * iconvdata/Makefile: Add bug-iconv11.
8469         * iconvdata/bug-iconv11.c: New test.
8470         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8471         * iconvdata/ibm933.c: Same.
8472         * iconvdata/ibm935.c: Same.
8473         * iconvdata/ibm937.c: Same.
8474         * iconvdata/ibm939.c: Same.
8476 2016-01-15  Martin Sebor  <msebor@redhat.com>
8478         [BZ #19443]
8479         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8480         [DEBUG] (_ufc_set_bits): Declare used.
8481         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8482         [DEBUG] (print_all): Declare used.
8483         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8484         operands of the ternary ?: expression to target type.
8485         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8486         calling the undeclared abort.
8487         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8489 2016-01-15  Martin Sebor  <msebor@redhat.com>
8491         [BZ #18755]
8492         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8493         warnings.
8494         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8495         (__gai_create_helper_thread): Same.
8496         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8497         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8498         to suppress -Wmaybe-uninitialized warnings.
8500 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8502         [BZ #19465]
8503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8504         inside if.
8505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8506         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8507         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8509 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8511         [BZ #19466]
8512         * time/tst-mktime2.c (time_t_max): Removed.
8513         (time_t_min): Likewise.
8514         (TYPE_SIGNED): New.
8515         (TYPE_MINIMUM): Likewise.
8516         (TYPE_MAXIMUM): Likewise.
8517         (TIME_T_MIN): Likewise.
8518         (TIME_T_MAX): Likewise.
8519         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8520         and TIME_T_MIN.
8521         (do_test): Likewise.
8523 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8525         [BZ #19467]
8526         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8527         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8529 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8531         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8533 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8535         * benchtests/Makefile (PYTHON): Define.
8536         (bench-func): Use $(PYTHON) to run python scripts.
8537         ($(objpfx)bench-%.c): Likewise.
8539 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8541         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8542         leading slash when `file_name' is "/".
8544 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8546         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8547         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8548         Likewise.
8549         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8550         Likewise.
8551         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8552         Likewise.
8553         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8554         enum constant and macro.
8555         (PTRACE_SETSIGMASK): Likewise.
8556         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8557         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8558         (PTRACE_GETSIGMASK): Likewise.
8559         (PTRACE_SETSIGMASK): Likewise.
8560         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8561         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8562         Likewise.
8563         (PTRACE_SETSIGMASK): Likewise.
8564         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8565         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8566         (PTRACE_GETSIGMASK): Likewise.
8567         (PTRACE_SETSIGMASK): Likewise.
8568         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8569         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8570         Likewise.
8571         (PTRACE_SETSIGMASK): Likewise.
8572         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8573         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8574         Likewise.
8575         (PTRACE_SETSIGMASK): Likewise.
8576         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8577         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8578         Likewise.
8579         (PTRACE_SETSIGMASK): Likewise.
8580         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8582 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8583             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8585         [BZ #19439]
8586         * math/bits/mathcalls.h
8587         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8588         prototype.
8589         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8591 2016-01-11  Andreas Schwab  <schwab@suse.de>
8593         [BZ #19253]
8594         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8595         cache when TZDEFRULES was used.
8596         * time/tst-tzname.c: New file.
8597         * time/Makefile (test): Add tst-tzname.
8598         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8599         * timezone/Makefile (test-zones): Add $(posixrules-file).
8600         ($(testdata)/$(posixrules-file)): New rule.
8602 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8604         Fix doc quoting problems with Texinfo 5
8605         Without this change, in the info file output, Texinfo 5 quotes code
8606         in text with undirected single quotes 'like this' and generates
8607         code examples that with many PDF readers cannot be cut out of PDFs
8608         and pasted into code.
8609         * manual/libc.texinfo: Configure the libc manual like the GNU
8610         Emacs manual, by using @documentencoding and setting
8611         txicodequoteundirected and txicodequotebacktick.  This way,
8612         Texinfo 5 quotes code in text with directed single quotes ‘like
8613         this’ and produces examples that can be cut out of PDFs.  This
8614         change causes Texinfo 5 to generate info files that contain UTF-8
8615         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8616         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8618 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8620         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8621         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8622         barriers to their respective compiler built-ins.
8623         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8624         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8625         * sysdeps/powerpc/sysdep.h: Likewise.
8626         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8627         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8628         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8630 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8632         * scripts/config.guess: Revert previous shebang change.
8633         * scripts/config.sub: Likewise.
8634         * scripts/mkinstalldirs: Likewise.
8636 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8638         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8639         PPC_FEATURE2_HAS_IEEE128.
8640         * sysdeps/powerpc/dl-procinfo.c:
8641         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8643 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8645         [BZ #19415]
8646         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8647         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8648         (_dl_lookup_address): Rewrite using function resolver trampoline.
8649         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8650         two bits in address.
8652 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8654         * longlong.h: Change !__SHMEDIA__ to
8655         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8656         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8658 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8659             Joseph Myers  <joseph@codesourcery.com>
8660             Mark Shinwell  <shinwell@codesourcery.com>
8661             Andrew Stubbs  <ams@codesourcery.com>
8662             Rich Felker <dalias@libc.org>
8664         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8666 2016-01-07  Richard Henderson  <rth@redhat.com>
8668         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8670 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8672         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8673         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8674         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8675         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8676         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8678 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8679             Joseph Myers  <joseph@codesourcery.com>
8681         * timezone/private.h: Update from tzcode 2015g.
8682         * timezone/tzfile.h: Likewise.
8683         * timezone/tzselect.ksh: Likewise.
8684         * timezone/zdump.c: Likewise.
8685         * timezone/zic.c: Likewise.
8686         * timezone/ialloc.c: Remove file.
8687         * timezone/scheck.c: Likewise.
8688         * timezone/Makefile (extra-objs): Remove variable.
8689         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8690         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8691         -Wno-maybe-uninitialized.
8692         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8693         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8694         (CFLAGS-ialloc.c): Remove variable.
8695         (CFLAGS-scheck.c): Likewise.
8696         * timezone/README: Update list of files from tzcode.
8698 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8700         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8701         instead of __fxprintf when _LIBC is undefined.
8703 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8705         * catgets/test-gencat.sh: Remove space after shebang.
8706         * conform/GlibcConform.pm: Likewise.
8707         * conform/check-header-lists.sh: Likewise.
8708         * conform/conformtest.pl: Likewise.
8709         * conform/linknamespace.pl: Likewise.
8710         * conform/list-header-symbols.pl: Likewise.
8711         * debug/catchsegv.sh: Likewise.
8712         * elf/genrtldtbl.awk: Likewise.
8713         * elf/tst-pathopt.sh: Likewise.
8714         * elf/tst-rtld-load-self.sh: Likewise.
8715         * grp/tst_fgetgrent.sh: Likewise.
8716         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8717         * iconvdata/gen-8bit-gap.sh: Likewise.
8718         * iconvdata/gen-8bit.sh: Likewise.
8719         * iconvdata/run-iconv-test.sh: Likewise.
8720         * intl/tst-gettext.sh: Likewise.
8721         * intl/tst-gettext2.sh: Likewise.
8722         * intl/tst-gettext4.sh: Likewise.
8723         * intl/tst-gettext6.sh: Likewise.
8724         * intl/tst-translit.sh: Likewise.
8725         * io/ftwtest-sh: Likewise.
8726         * libio/test-freopen.sh: Likewise.
8727         * locale/gen-translit.pl: Likewise.
8728         * malloc/tst-mtrace.sh: Likewise.
8729         * manual/check-safety.sh: Likewise.
8730         * manual/libc-texinfo.sh: Likewise.
8731         * manual/tsort.awk: Likewise.
8732         * manual/xtract-typefun.awk: Likewise.
8733         * nptl/tst-cancel-wrappers.sh: Likewise.
8734         * nptl/tst-tls6.sh: Likewise.
8735         * posix/globtest.sh: Likewise.
8736         * posix/tst-getconf.sh: Likewise.
8737         * posix/wordexp-tst.sh: Likewise.
8738         * scripts/check-c++-types.sh: Likewise.
8739         * scripts/check-local-headers.sh: Likewise.
8740         * scripts/config.guess: Likewise.
8741         * scripts/config.sub: Likewise.
8742         * scripts/cpp: Likewise.
8743         * scripts/cross-test-ssh.sh: Likewise.
8744         * scripts/documented.sh: Likewise.
8745         * scripts/evaluate-test.sh: Likewise.
8746         * scripts/gen-libc-abis: Likewise.
8747         * scripts/gen-sorted.awk: Likewise.
8748         * scripts/list-fixed-bugs.py: Likewise.
8749         * scripts/merge-test-results.sh: Likewise.
8750         * scripts/mkinstalldirs: Likewise.
8751         * scripts/rellns-sh: Likewise.
8752         * scripts/test-installation.pl: Likewise.
8753         * scripts/update-copyrights: Likewise.
8754         * stdio-common/tst-printf.sh: Likewise.
8755         * stdio-common/tst-unbputc.sh: Likewise.
8756         * stdlib/tst-fmtmsg.sh: Likewise.
8757         * stdlib/tst-setcontext3.sh: Likewise.
8758         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8759         * sysdeps/unix/make-syscalls.sh: Likewise.
8761 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8763         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8764         asm stw with atomic_exchange_rel.  Add explanatory comment.
8765         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8766         Likewise.
8768 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8770         [BZ #19122]
8771         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8772         * sysdeps/generic/dl-unistd.h: New file.
8773         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8775 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8777          [BZ #19122]
8778          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8779          * sysdeps/generic/dl-mman.h: New file.
8780          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8782 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8784         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8785         trailing whitespace removed.
8786         * scripts/config.guess: Update to version 2016-01-01.
8787         * scripts/config.sub: Update to version 2016-01-01.
8788         * scripts/move-if-change: Update from gnulib.
8790 2016-01-04  Anton Blanchard  <anton@samba.org>
8792         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8793         for array indices.
8794         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8796 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8798         * NEWS: Update copyright dates.
8799         * catgets/gencat.c (print_version): Likewise.
8800         * csu/version.c (banner): Likewise.
8801         * debug/catchsegv.sh: Likewise.
8802         * debug/pcprofiledump.c (print_version): Likewise.
8803         * debug/xtrace.sh (do_version): Likewise.
8804         * elf/ldconfig.c (print_version): Likewise.
8805         * elf/ldd.bash.in: Likewise.
8806         * elf/pldd.c (print_version): Likewise.
8807         * elf/sotruss.sh: Likewise.
8808         * elf/sprof.c (print_version): Likewise.
8809         * iconv/iconv_prog.c (print_version): Likewise.
8810         * iconv/iconvconfig.c (print_version): Likewise.
8811         * locale/programs/locale.c (print_version): Likewise.
8812         * locale/programs/localedef.c (print_version): Likewise.
8813         * login/programs/pt_chown.c (print_version): Likewise.
8814         * malloc/memusage.sh (do_version): Likewise.
8815         * malloc/memusagestat.c (print_version): Likewise.
8816         * malloc/mtrace.pl: Likewise.
8817         * manual/libc.texinfo: Likewise.
8818         * nptl/version.c (banner): Likewise.
8819         * nscd/nscd.c (print_version): Likewise.
8820         * nss/getent.c (print_version): Likewise.
8821         * nss/makedb.c (print_version): Likewise.
8822         * posix/getconf.c (main): Likewise.
8823         * scripts/test-installation.pl: Likewise.
8824         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8826         * All files with FSF copyright notices: Update copyright dates
8827         using scripts/update-copyrights.
8828         * intl/plural.c: Regenerated.
8829         * locale/programs/charmap-kw.h: Likewise.
8830         * locale/programs/locfile-kw.h: Likewise.
8832 2016-01-02  Helge Deller  <deller@gmx.de>
8834         [BZ #19285]
8835         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8836         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8837         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8838         (MADV_xxK_PAGES): Remove.
8840 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8842         [BZ #15421]
8843         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8844         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8845         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8846         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8848 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8850         [BZ #19408]
8851         * sysdeps/unix/sysv/linux/personality.c: New file.
8852         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8853         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8854         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8855         (sysdep_routines): Add personality.
8856         (tests): Add tst-personality.
8857         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8858         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8859         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8860         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8861         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8862         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8863         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8864         Likewise.
8865         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8866         Likewise.
8867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8868         Likewise.
8869         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8870         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8871         Likewise.
8873 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8875         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8876         (PATH_ARM_SYSTYPE): Remove.
8877         (PATH_CPUINFO): Likewise.
8878         (IO_BASE_FOOTBRIDGE): Likewise.
8879         (IO_SHIFT_FOOTBRIDGE): Likewise.
8880         (struct platform): Likewise.
8881         (init_iosys): Remove compatibility code for 2.4 kernels.
8882         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8884 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8886         * malloc/tst-malloc-thread-fail.c: New file.
8887         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8888         (tst-malloc-thread-fail): Link against libpthread.
8890 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8892         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8893         (get_parser): New function.
8894         (main): New function.
8896 2015-12-29  Rob Wu  <rob@robwu.nl>
8898         [BZ #19369]
8899         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8901 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8903         [BZ #19270]
8904         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8906 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8908         [BZ #15421]
8909         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8911 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8913         [BZ #13690]
8914         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8915         after releasing it.
8916         (__lll_robust_unlock): Likewise.
8917         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8918         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8919         (lll_robust_unlock): Likewise.
8920         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8921         Prevent warnings in callers.
8923 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8925         * malloc/arena.c (list_lock): Update comment.
8927 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8929         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8930         __parse_hwcap_and_convert_at_platform to libc.a.
8932 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8934         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8935         platform and feature support for POWER9.
8936         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8937         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8938         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8939         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8940         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8941         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8942         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8943         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8945 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8947         Harmonize generic stdio-lock support with nptl
8949         This fixes build when _IO_funlockfile is a macro, fixes build where
8950         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8951         stack unwind.
8953         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8954         _IO_release_lock ): Use cleanup attribute on new
8955         _IO_acquire_lock_file variable instead of assuming that
8956         _IO_release_lock will be called.
8957         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8958         _IO_acquire_lock_needs_exceptions_enabled.
8959         (_IO_acquire_lock_clear_flags2): New macro.
8961 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8963         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8965 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8967         [BZ #19182]
8968         * malloc/arena.c (list_lock): Document lock ordering requirements.
8969         (free_list_lock): New lock.
8970         (ptmalloc_lock_all): Comment on free_list_lock.
8971         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8972         (detach_arena): Update comment.  free_list_lock is now needed.
8973         (_int_new_arena): Use free_list_lock around detach_arena call.
8974         Acquire arena lock after list_lock.  Add comment, including FIXME
8975         about incorrect synchronization.
8976         (get_free_list): Switch to free_list_lock.
8977         (reused_arena): Acquire free_list_lock around detach_arena call
8978         and attached threads counter update.  Add two FIXMEs about
8979         incorrect synchronization.
8980         (arena_thread_freeres): Switch to free_list_lock.
8981         * malloc/malloc.c (struct malloc_state): Update comments to
8982         mention free_list_lock.
8984 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8986         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8987         Remove functions.
8988         (sloww, sloww1): Accept argument to offset quadrant.
8989         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8990         quadrant.
8991         (__sin, __cos): Consolidate common code into new functions.
8992         (reduce_sincos_1, do_sincos_1): New functions.
8993         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8996         code to new functions.
8997         (reduce_sincos_2, do_sincos_2): New functions.
8998         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9000         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9001         common code for sincos.
9002         (__cos) [!IN_SINCOS]: Likewise.
9003         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9004         New function.
9005         (__sincos): Use it.
9007 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9009         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9010         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9011         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9013 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9015         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9018         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9019         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9020         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9021         index_Prefer_No_VZEROUPPER): New feature.
9022         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9023         Prefer_No_VZEROUPPER for Knights Landing.
9025 015-12-18  Torvald Riegel  <triegel@redhat.com>
9027         * math/atest-exp2.c (mp_exp_m1): Remove.
9029 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9031         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9032         syscalls.
9033         (__SYSCALL0): New macro.
9034         (__SYSCALL1): Likewise.
9035         (__SYSCALL2): Likewise.
9036         (__SYSCALL3): Likewise.
9037         (__SYSCALL4): Likewise.
9038         (__SYSCALL5): Likewise.
9039         (__SYSCALL6): Likewise.
9040         (__SYSCALL_CONCAT_X): Likewise.
9041         (__SYSCALL_CONCAT): Likewise.
9042         (__SYSCALL_DIST): Likewise.
9043         (__SYSCALL_CALL): Likewise.
9045 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9047         [BZ #19363]
9048         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9050 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9052         [BZ #19375]
9053         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9054         negative subnormals.
9056 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9059         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9060         (INTERNAL_SYSCALL_NCS): Use it.
9061         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9063 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9065         [BZ #19243]
9066         * malloc/arena.c (get_free_list): Remove assert and adjust
9067         reference count handling.  Add comment about reused_arena
9068         interaction.
9069         (reused_arena): Add comments abount get_free_list interaction.
9070         * malloc/tst-malloc-thread-exit.c: New file.
9071         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9072         (tst-malloc-thread-exit): Link against libpthread.
9074 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9076         [BZ #19367]
9077         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9078         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9079         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9080         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9081         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9083 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9085         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9086         Silvermont optimizations for Knights Landing.
9088 2015-12-15  Andreas Schwab  <schwab@suse.de>
9090         [BZ #17197]
9091         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9092         immediately after emitting SI.
9093         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9094         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9095         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9096         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9097         * iconvdata/bug-iconv10.c: New file.
9098         * iconvdata/Makefile (tests): Add bug-iconv10.
9099         ($(objpfx)bug-iconv10.out): New rule.
9101 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9103         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9104         aliasing violation.
9106 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9108         [BZ #18472]
9109         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9110         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9111         conditionals for them.
9112         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9113         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9115         sys/kdaemon.h.
9116         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9117         compat-only syscall, obsoleted in glibc 2.23.
9118         (create_module): Likewise.
9119         (get_kernel_syms): Likewise.
9120         (query_module): Likewise.
9121         (uselib): Likewise.
9122         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9124 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9126         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9127         <linux/version.h>.
9128         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9129         conditional code.
9130         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9131         and ioshift_name initialization.
9133 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9135         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9136         Fix indentation.
9138 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9140         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9142 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9144         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9146 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9147             Jakub Wilk  <jwilk@debian.org>
9149         [BZ #19347]
9150         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9151         to change the group of the device to the tty group.
9153 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9155         Split large string section; add truncation advice
9156         * manual/examples/strncat.c: Remove.
9157         This example was misleading, as the code would have undefined
9158         behavior if "hello" was longer than SIZE.  Anyway, the manual
9159         shouldn't encourage strncpy+strncat for this sort of thing.
9160         * manual/string.texi (Copying Strings and Arrays): Split into
9161         three sections Copying Strings and Arrays, Concatenating Strings,
9162         and Truncating Strings, as this section was way too long.  All
9163         cross-referenced changed.  Add advice about string-truncation
9164         functions.  Remove misleading strncat example.
9166 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9168         * manual/nss.texi (NSS Modules Interface): Document
9169         NSS_STATUS_NOTFOUND and SUCCESS.
9171 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9173         [BZ 18568]
9174         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9175         201505L, for Unicode 8.
9177 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9179         * locale/C-translit.h: Regenerate.
9181 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9183         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9184         and U+0153.
9186 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9188         [BZ #19351]
9189         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9190         expanding log(1+z), compare z rather than its square with epsilon
9191         to determine when to avoid evaluating the expansion.
9193         [BZ #19350]
9194         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9195         Increase overflow threshold.
9197         [BZ #19349]
9198         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9199         when small.
9201         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9203         New macro.
9204         [__LINUX_KERNEL_VERSION >= 0x040300]
9205         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9207         Likewise.
9208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9209         Likewise.
9210         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9211         Likewise.
9212         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9213         Likewise.
9214         [__LINUX_KERNEL_VERSION >= 0x040300]
9215         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9216         [__LINUX_KERNEL_VERSION >= 0x040300]
9217         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9218         [__LINUX_KERNEL_VERSION >= 0x040300]
9219         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9220         [__LINUX_KERNEL_VERSION >= 0x040300]
9221         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9222         [__LINUX_KERNEL_VERSION >= 0x040300]
9223         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9225         Likewise.
9226         [__LINUX_KERNEL_VERSION >= 0x040300]
9227         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9229         Likewise.
9230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9231         Likewise.
9232         [__LINUX_KERNEL_VERSION >= 0x040300]
9233         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9235         Likewise.
9236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9237         Likewise.
9238         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9239         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9240         Likewise.
9241         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9242         Likewise.
9243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9244         Likewise.
9245         [__LINUX_KERNEL_VERSION >= 0x040300]
9246         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9248         Likewise.
9249         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9250         Likewise.
9251         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9252         Likewise.
9253         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9254         Likewise.
9255         [__LINUX_KERNEL_VERSION >= 0x040300]
9256         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9257         [__LINUX_KERNEL_VERSION >= 0x040300]
9258         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9259         [__LINUX_KERNEL_VERSION >= 0x040300]
9260         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9261         [__LINUX_KERNEL_VERSION >= 0x040300]
9262         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9263         [__LINUX_KERNEL_VERSION >= 0x040300]
9264         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9266         Likewise.
9267         [__LINUX_KERNEL_VERSION >= 0x040300]
9268         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9270         Likewise.
9271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9272         Likewise.
9273         [__LINUX_KERNEL_VERSION >= 0x040300]
9274         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9275         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9276         Likewise.
9277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9278         Likewise.
9279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9280         (__ASSUME_SOCKET_SYSCALL): Likewise.
9281         (__ASSUME_BIND_SYSCALL): Likewise.
9282         (__ASSUME_CONNECT_SYSCALL): Likewise.
9283         (__ASSUME_LISTEN_SYSCALL): Likewise.
9284         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9285         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9286         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9287         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9288         (__ASSUME_SEND_SYSCALL): Likewise.
9289         (__ASSUME_SENDTO_SYSCALL): Likewise.
9290         (__ASSUME_RECV_SYSCALL): Likewise.
9291         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9292         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9293         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9294         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9295         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9296         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9297         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9298         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9299         Likewise.
9300         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9301         Likewise.
9302         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9303         Likewise.
9304         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9305         Likewise.
9306         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9307         Likewise.
9308         [__LINUX_KERNEL_VERSION >= 0x020625]
9309         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9310         [__LINUX_KERNEL_VERSION >= 0x020625]
9311         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9312         [__LINUX_KERNEL_VERSION >= 0x020625]
9313         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9314         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9315         Likewise.
9316         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9317         Likewise.
9318         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9319         Likewise.
9320         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9321         Likewise.
9322         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9323         Likewise.
9324         [__LINUX_KERNEL_VERSION >= 0x020625]
9325         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9326         [__LINUX_KERNEL_VERSION >= 0x020625]
9327         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9328         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9329         Likewise.
9330         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9331         Likewise.
9333 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9335         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9336         record the current if the current ABI and CPU support the FP64
9337         extension.
9338         (has-modd-spreg): Define to record the current if the current ABI and
9339         CPU support 32-bit floating point values in odd FPU registers.
9340         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9341         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9342         $(has-modd-spreg) equals yes.
9343         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9344         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9345         $(has-modd-spreg) equal yes.
9347 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9349         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9350         basename.
9352 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9354         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9355         (bench-string): ... here.
9356         (bench): Add bench-string.
9357         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9358         to *-benchset to reflect what they are.
9359         (benchset): Adjust.
9361         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9362         cos-inputs.
9364 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9366         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9367         __attribute__ ((__simd__)) for vector math function declarations.
9369 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9371         Fix typo in strncat, wcsncat manual entries
9372         * manual/string.texi (Copying and Concatenation): Fix typos in
9373         sample implementations of strncat and wcsncat, by having them use
9374         the old value of the destination length, not the new one.
9376 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9378         [BZ #16961]
9379         [BZ #16962]
9380         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9381         string on the stack for strtod.
9382         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9383         a string on the stack for strtof.
9384         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9385         constructing a string on the stack for strtold.
9386         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9387         __strtold_nan to GLIBC_PRIVATE.
9388         * math/test-nan-overflow.c: New file.
9389         * math/test-nan-payload.c: Likewise.
9390         * math/Makefile (tests): Add test-nan-overflow and
9391         test-nan-payload.
9393 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9395         Consistency about byte vs character in string.texi
9396         * manual/string.texi (String and Array Utilities):
9397         Distinguish more carefully among bytes, multibyte characters,
9398         and wide characters.  Use "byte" when talking about C 'char',
9399         to distinguish it more clearly from multibyte characters.
9400         Say "wide character" or "multibyte character" instead of
9401         "character", when a wide or multibyte character is intended.
9402         Similarly for "multibyte string" versus "string".
9403         Define these terms more carefully.
9405 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9407         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9408         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9409         Likewise.
9410         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9411         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9412         * sysdeps/sh/math_private.h: New file.
9413         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9414         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9415         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9416         long double function name.
9417         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9418         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9419         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9423         Remove __finitel, __isinfl, and __isnanl.
9424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9425         Likewise.
9426         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9428         Remove __finitel.
9429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9430         Likewise.
9431         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9433 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9435         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9436         installed libmvec_nonshared.a.
9438 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9440         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9441         (sysdep_routines): Likewise.
9442         (sysdep-rtld-routines): Likewise.
9443         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9444         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9445         * sysdeps/powerpc/Versions: Added new
9446         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9447         * sysdeps/powerpc/hwcapinfo.c: New file.
9448         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9449         and parse hwcap, hwcap2 and platform number information.
9450         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9451         to store HWCAP+HWCAP2 and platform number.
9452         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9453         for HWCAP+HWCAP2 and platform number in the TCB.
9454         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9455         the HWCAP, HWCAP2 and platform number in the TCB.
9456         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9457         (TLS_INIT_TP): Included calls to add the hwcap and
9458         at_platform values in the TCB in TP initialization.
9459         (TLS_DEFINE_INIT_TP): Likewise.
9460         (THREAD_GET_HWCAP): New macro.
9461         (THREAD_SET_HWCAP): Likewise.
9462         (THREAD_GET_AT_PLATFORM): Likewise.
9463         (THREAD_SET_AT_PLATFORM): Likewise.
9464         * sysdeps/powerpc/powerpc32/dl-machine.h:
9465         (dl_platform_init): New function that calls
9466         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9467         powerpc32.
9468         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9469         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9470         this functionality, static linking case.
9471         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9472         linking case.
9473         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9474         __parse_hwcap_and_convert_at_platform for the static linking case.
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9476         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9477         ABI list for GLIBC 2.23.
9478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9479         Likewise.
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9481         Likewise.
9483 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9485         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9486         * configure: Regenerate.
9487         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9488         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9490 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9492         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9493         * iconvdata/ibm933.c: Likewise.
9494         * iconvdata/ibm935.c: Likewise.
9495         * iconvdata/ibm937.c: Likewise.
9496         * iconvdata/ibm939.c: Likewise.
9498 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9500         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9501         pthread_join.
9502         * nptl/tst-cancel21.c (tf): Likewise.
9504 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9506         [BZ #19313]
9507         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9508         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9509         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9510         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9511         Likewise.
9512         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9513         Likewise.
9514         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9515         Likewise.
9516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9517         Likewise.
9518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9519         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9520         unsigned long int with __CPU_MASK_TYPE.
9522 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9524         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9526 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9529         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9530         t512.x.
9531         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9533 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9535         [BZ #19214]
9536         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9537         argument to return extended model.  Update family and model
9538         with extended family and model when family == 0x0f.
9539         (init_cpu_features): Updated.
9541 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9543         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9544         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9546         * sysdeps/mach/hurd/mmap64.c: New file.
9548 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9550         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9551         rights for its main user thread in NEWTASK.
9553 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9555         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9556         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9558 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9560         [BZ #14259]
9561         * Makeconfig: Rename localedir to complocaledir.
9562         Rename inst_localedir to inst_complocaledir.
9563         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9564         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9565         * configure.ac: Use libc_cv_complocaledir.
9566         * configure: Regenerate.
9567         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9568         -DCOMPLOCALEDIR.
9569         * locale/findlocale.c: Use COMPLOCALEDIR.
9570         * locale/loadarchive.c: Likewise.
9571         * locale/programs/locale.c: Likewise.
9572         * locale/programs/localedef.c: Likewise.
9573         * locale/programs/locarchive.c: Likewise.
9574         * localedata/Makefile: Use inst_complocaledir.
9575         * sysdeps/gnu/configure: Regenerate.
9576         * sysdeps/hppa/configure: Regenerate.
9577         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9578         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9580         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9581         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9582         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9583         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9585 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9587         [BZ #19058]
9588         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9589         AS_NEEDED.
9590         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9591         workaround.
9592         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9593         libmvec-static-only-routines): Added new file.
9594         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9596 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9598         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9599         of interrupted RPC instead of restoring it.
9601         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9602         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9603         libc_hidden_def.
9604         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9605         into initialized data instead of common. Define rtld_hidden_data_def.
9606         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9607         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9608         libc_hidden_def.
9609         (if_freenameindex): Add libc_hidden_weak.
9610         (if_nameindex): Add libc_hidden_weak.
9611         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9612         __open64.
9613         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9614         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9615         * sysdeps/mach/nanosleep.c: Include <time.h>
9616         (__nanosleep): Rename to __libc_nanosleep.
9617         (__nanosleep): Add weak_alias.
9618         (nanosleep): Update alias.
9620 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9622         * stdlib/strtod_nan.c: New file.
9623         * stdlib/strtod_nan_double.h: Likewise.
9624         * stdlib/strtod_nan_float.h: Likewise.
9625         * stdlib/strtod_nan_main.c: Likewise.
9626         * stdlib/strtod_nan_narrow.h: Likewise.
9627         * stdlib/strtod_nan_wide.h: Likewise.
9628         * stdlib/strtof_nan.c: Likewise.
9629         * stdlib/strtold_nan.c: Likewise.
9630         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9631         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9632         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9633         * wcsmbs/wcstod_nan.c: Likewise.
9634         * wcsmbs/wcstof_nan.c: Likewise.
9635         * wcsmbs/wcstold_nan.c: Likewise.
9636         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9637         strtold_nan.
9638         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9639         wcstof_nan.
9640         * include/stdlib.h (__strtof_nan): Declare and use
9641         libc_hidden_proto.
9642         (__strtod_nan): Likewise.
9643         (__strtold_nan): Likewise.
9644         (__wcstof_nan): Likewise.
9645         (__wcstod_nan): Likewise.
9646         (__wcstold_nan): Likewise.
9647         * include/wchar.h (____wcstoull_l_internal): Declare.
9648         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9649         (____strtoull_l_internal): Remove declaration.
9650         (STRTOF_NAN): Define macro.
9651         (SET_MANTISSA): Remove macro.
9652         (STRTOULL): Likewise.
9653         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9654         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9655         (STRTOF_NAN): Define macro.
9656         (SET_MANTISSA): Remove macro.
9657         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9658         (SET_MANTISSA): Remove macro.
9659         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9660         macro.
9661         (SET_MANTISSA): Remove macro.
9662         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9663         macro.
9664         (SET_MANTISSA): Remove macro.
9665         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9666         (SET_MANTISSA): Remove macro.
9667         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9668         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9669         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9671         [BZ #19266]
9672         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9673         upper case and lower case letters inside NAN(), not using TOLOWER.
9674         * stdlib/tst-strtod-nan-locale-main.c: New file.
9675         * stdlib/tst-strtod-nan-locale.c: Likewise.
9676         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9677         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9678         Depend on $(gen-locales).
9679         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9680         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9681         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9682         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9683         Depend on $(gen-locales).
9684         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9686 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9688         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9690         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9692         __finitel, __isinfl, and __isnanl.
9693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9694         Likewise.
9695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9697         __finitel.
9698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9699         Likewise.
9700         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9702 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9704         * malloc/memusage.c (me): Remove redundant getenv call.
9706 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9708         [BZ #19143]
9709         [BZ #19164]
9710         * nptl/check-cpuset.h: Remove.
9711         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9712         Remove CPU set size check.
9713         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9714         Likewise.
9715         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9716         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9717         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9718         (__pthread_setaffinity_new): Remove CPU set size check.
9719         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9720         (__kernel_cpumask_size): Remove.
9721         (__sched_setaffinity_new): Remove CPU set size check.
9722         * manual/threads.texi (Default Thread Attributes): Remove stale
9723         reference to check_cpuset_attr, determine_cpumask_size in comment.
9724         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9725         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9726         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9727         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9728         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9729         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9730         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9731         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9732         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9733         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9734         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9735         skeleton test file.
9736         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9737         tst-affinity-pid.
9739 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9741         * scripts/update-abilist.sh: New file.
9742         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9743         * Makerules (update-all-abi-%, update-all-abi)
9744         (subdir_update-all-abi): New targets.
9745         * elf/Makefile (update-all-abi): New target.
9747 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9749         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9750         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9751         (__libc_lock_define_initialized): Use it.
9752         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9753         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9754         * malloc/malloc.c (main_arena): Likewise.
9755         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9756         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9758 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9760         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9761         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9762         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9763         (PTRACE_O_MASK): Update value.
9764         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9765         New value in enum __ptrace_setoptions.
9766         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9767         (PTRACE_O_MASK): Update value.
9768         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9769         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9770         (PTRACE_O_MASK): Update value.
9771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9772         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9773         (PTRACE_O_MASK): Update value.
9774         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9775         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9776         (PTRACE_O_MASK): Update value.
9777         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9778         New value in enum __ptrace_setoptions.
9779         (PTRACE_O_MASK): Update value.
9780         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9781         New value in enum __ptrace_setoptions.
9782         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9783         (PTRACE_O_MASK): Update value.
9785         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9786         New macro.
9787         (PACKET_AUXDATA): Likewise.
9788         (PACKET_ORIGDEV): Likewise.
9789         (PACKET_VERSION): Likewise.
9790         (PACKET_HDRLEN): Likewise.
9791         (PACKET_RESERVE): Likewise.
9792         (PACKET_TX_RING): Likewise.
9793         (PACKET_LOSS): Likewise.
9794         (PACKET_VNET_HDR): Likewise.
9795         (PACKET_TX_TIMESTAMP): Likewise.
9796         (PACKET_TIMESTAMP): Likewise.
9797         (PACKET_FANOUT): Likewise.
9798         (PACKET_TX_HAS_OFF): Likewise.
9799         (PACKET_QDISC_BYPASS): Likewise.
9800         (PACKET_ROLLOVER_STATS): Likewise.
9801         (PACKET_FANOUT_DATA): Likewise.
9802         (PACKET_MR_UNICAST): Likewise.
9804         [BZ #19242]
9805         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9806         (TOUPPER): Likewise.
9807         * stdlib/tst-strtol-locale-main.c: New file.
9808         * stdlib/tst-strtol-locale.c: Likewise.
9809         * stdlib/Makefile (tests): Add tst-strtol-locale.
9810         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9811         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9812         Depend on $(gen-locales).
9813         * wcsmbs/tst-wcstol-locale.c: New file.
9814         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9815         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9816         tr_TR.ISO-8859-9.
9817         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9818         Depend on $(gen-locales).
9820 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9822         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9823         __glibc_likely instead of __builtin_expect.  After falling back to
9824         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9825         system interface to register the code pages as occupied.
9827 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9829         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9830         [!ARM_MATH_PRIVATE_H].
9831         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9832         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9833         [!HPPA_MATH_PRIVATE_H].
9834         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9835         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9836         to [!I386_MATH_PRIVATE_H].
9837         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9838         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9839         Change guard to [!M68K_MATH_PRIVATE_H].
9840         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9841         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9842         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9843         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9844         macro.
9845         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9846         [!MIPS_MATH_PRIVATE_H].
9847         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9848         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9849         [!NIO2_MATH_PRIVATE_H].
9850         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9851         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9852         [!TILE_MATH_PRIVATE_H].
9853         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9855         [BZ #15421]
9856         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9857         initialize with 0 and define as weak alias of __signgam.
9858         * include/math.h [!_ISOMAC] (__signgam): Declare.
9859         * math/Makefile (libm-calls): Add w_lgamma_compat.
9860         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9861         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9862         test-signgam-ullong-init.
9863         (tests-static): Add test-signgam-uchar-static,
9864         test-signgam-uchar-init-static, test-signgam-uint-static,
9865         test-signgam-uint-init-static, test-signgam-ullong-static and
9866         test-signgam-ullong-init-static.
9867         (CFLAGS-test-signgam-uchar.c): New variable.
9868         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9869         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9870         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9871         (CFLAGS-test-signgam-uint.c): Likewise.
9872         (CFLAGS-test-signgam-uint-init.c): Likewise.
9873         (CFLAGS-test-signgam-uint-static.c): Likewise.
9874         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9875         (CFLAGS-test-signgam-ullong.c): Likewise.
9876         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9877         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9878         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9879         * math/Versions (libm): Add GLIBC_2.23.
9880         * math/lgamma-compat.h: New file.
9881         * math/test-signgam-main.c: Likewise.
9882         * math/test-signgam-uchar-init-static.c: Likewise.
9883         * math/test-signgam-uchar-init.c: Likewise.
9884         * math/test-signgam-uchar-static.c: Likewise.
9885         * math/test-signgam-uchar.c: Likewise.
9886         * math/test-signgam-uint-init-static.c: Likewise.
9887         * math/test-signgam-uint-init.c: Likewise.
9888         * math/test-signgam-uint-static.c: Likewise.
9889         * math/test-signgam-uint.c: Likewise.
9890         * math/test-signgam-ullong-init-static.c: Likewise.
9891         * math/test-signgam-ullong-init.c: Likewise.
9892         * math/test-signgam-ullong-static.c: Likewise.
9893         * math/test-signgam-ullong.c: Likewise.
9894         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9895         wrapper of w_lgamma_main.c.
9896         * math/w_lgamma_compat.c: New file.
9897         * math/w_lgamma_compatf.c: Likewise.
9898         * math/w_lgamma_compatl.c: Likewise.
9899         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9900         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9901         defining compatibility symbols.
9902         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9903         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9904         wrapper of w_lgammaf_main.c.
9905         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9906         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9907         defining compatibility symbols.
9908         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9909         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9910         wrapper of w_lgammal_main.c.
9911         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9912         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9913         defining compatibility symbols.
9914         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9915         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9916         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9917         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9918         <lgamma-compat.h>.
9919         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9920         (__ieee754_gamma): Define as alias.
9921         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9922         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9923         <lgamma-compat.h>.
9924         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9925         (__ieee754_gammaf): Define as alias.
9926         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9927         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9928         <lgamma-compat.h>.
9929         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9930         (__ieee754_gammal): Define as alias.
9931         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9932         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9933         <math/w_lgamma_compat.c>.
9934         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9935         Define as alias of __lgamma_compat and use in defining lgammal.
9936         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9937         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9938         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9939         (USE_AS_COMPAT): New macro.
9940         (LGAMMA_OLD_VER): Undefine and redefine.
9941         (lgammal): Do not define here.
9942         (gammal): Only define here if [GAMMA_ALIAS].
9943         * conform/linknamespace.pl (@whitelist): Remove signgam.
9944         * sysdeps/nacl/libm.abilist: Update.
9945         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9946         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9947         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9948         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9949         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9950         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9951         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9952         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9953         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9954         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9955         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9956         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9958         Likewise.
9959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9960         Likewise.
9961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9962         Likewise.
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9964         Likewise.
9965         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9966         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9967         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9968         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9969         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9971         Likewise.
9972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9973         Likewise.
9974         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9975         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9976         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9978 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9980         [BZ #16364]
9981         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9982         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9984 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9986         * sysdeps/s390/fpu/bits/mathinline.h:
9987         Use __asm__ [__volatile__] instead of asm [volatile].
9988         * sysdeps/s390/abort-instr.h: Likewise.
9989         * sysdeps/s390/atomic-machine.h: Likewise.
9990         * sysdeps/s390/bits/string.h: Likewise.
9991         * sysdeps/s390/dl-tls.h: Likewise.
9992         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9993         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9994         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9995         * sysdeps/s390/fpu/fesetround.c: Likewise.
9996         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9997         * sysdeps/s390/fpu/s_fma.c: Likewise.
9998         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9999         * sysdeps/s390/memusage.h: Likewise.
10000         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10001         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10002         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10003         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10004         * sysdeps/s390/nptl/tls.h: Likewise.
10005         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10006         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10007         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10008         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10009         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10010         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10011         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10012         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10013         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10014         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10015         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10016         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10017         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10018         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10019         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10020         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10021         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10022         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10023         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10025         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10027         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10029 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10030             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10032         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10033         Add lwarx hint, and use macro for acquire instruction.
10034         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10035         Likewise.
10036         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10037         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10038         update to use new atomic macros.
10040 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10042         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10043         (__lll_trylock_elision): Fix setting of adapt_count.
10044         * sysdeps/unix/sysv/linux/powerpc/htm.h
10045         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10046         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10047         (_ABORT_SYSCALL): Renumber, and clarify definition.
10048         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10050 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10052         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10053         after system headers to prevent MIN/MAX redefinition.  Define
10054         HAVE_ALLOCA to preserve builtin alloca usage.
10056 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10059         static and don't set or restore rounding.
10060         (__cos)[IN_SINCOS]: Likewise.
10061         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10062         (__sincos): Set and restore rounding mode.  Remove check for infinite
10063         or NaN input.
10065         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10067         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10068         as used.
10070 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10072         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10074 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10076         * config.make.in (have-glob-dat-reloc): New.
10077         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10078         target supports GLOB_DAT relocaton. AC_SUBST.
10079         * configure: Regenerated.
10080         * elf/Makefile (tests): Add tst-prelink.
10081         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10082         (tst-prelink-ENV): New.
10083         ($(objpfx)tst-prelink-conflict.out): Likewise.
10084         ($(objpfx)tst-prelink-cmp.out): Likewise.
10085         * sysdeps/x86/tst-prelink.c: Moved to ...
10086         * elf/tst-prelink.c: Here.
10087         * sysdeps/x86/tst-prelink.exp: Moved to ...
10088         * elf/tst-prelink.exp: Here.
10089         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10090         (tst-prelink-ENV): Removed.
10091         ($(objpfx)tst-prelink-conflict.out): Likewise.
10092         ($(objpfx)tst-prelink-cmp.out): Likewise.
10093         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10095 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10097         [BZ #14551]
10098         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10099         (__mpn_construct_long_double): If high part overflows to infinity,
10100         set errno and recompute overflowed result of the correct sign.
10101         * sysdeps/ieee754/ldbl-128ibm/Makefile
10102         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10103         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10104         $(libm).
10105         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10107 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10109         [BZ #15479]
10110         [BZ #19238]
10111         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10112         floating-point state after first operation on input.  Restore full
10113         state rather than just rounding mode.
10114         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10115         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10116         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10118         [BZ #19235]
10119         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10120         add 0.5 to integer arguments.
10121         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10122         Likewise.
10123         (.LC2): New object.
10125 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10127         * scripts/pylintrc (reports): Set to no.
10129 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10131         * elf/dl-load.c (open_verify): Take new argument FD.
10132         Skip __open call if passed FD is not -1.
10133         (_dl_map_object, open_path): Update callers.
10134         * elf/dl-sysdep-open.h: New file.
10135         * elf/dl-load.c: Include it.
10136         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10137         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10138         * sysdeps/nacl/dl-sysdep-open.h: New file.
10139         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10140         from libc to rtld.
10142 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10144         [BZ #19228]
10145         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10146         and restore full floating-point state.
10147         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10148         Likewise.
10149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10150         Likewise.
10151         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10152         Likewise.
10153         * math/test-nearbyint-except-2.c: New file.
10154         * math/Makefile (tests): Add test-nearbyint-except-2.
10156 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10158         [BZ #19178]
10159         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10160         (tst-prelink-ENV): New.
10161         ($(objpfx)tst-prelink-conflict.out): Likewise.
10162         ($(objpfx)tst-prelink-cmp.out): Likewise.
10163         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10164         * sysdeps/x86/tst-prelink.c: New file.
10165         * sysdeps/x86/tst-prelink.exp: Likewise.
10167 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10169         * math/auto-libm-test-in: Add another test of pow.
10170         * math/auto-libm-test-out: Regenerated.
10171         * math/libm-test.inc (pow_test_data): Add another test.
10173 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10175         [BZ #19219]
10176         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10177         weak_alias to nearbyintl.
10179 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10181         * sysdeps/aarch64/bits/string.h: New file.
10182         (_STRING_ARCH_unaligned): Define.
10184 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10186         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10187         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10188         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10189         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10192 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10194         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10195         for original name of the DSO.  Add it to the name list of the DSO
10196         if it is actually given.
10197         (_dl_map_object): Keep track of whether an audit module rewrote
10198         the file name.  If yes, pass the original name to
10199         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10200         debugging is enabled, log the change of the file name.
10201         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10202         _dl_map_object_from_fd.
10203         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10204         * elf/tst-audit11.c: New file
10205         * elf/tst-auditmod11.c: New file.
10206         * elf/tst-audit11mod1.c: New file.
10207         * elf/tst-audit11mod2.c: New file.
10208         * elf/tst-audit11mod2.map: New file.
10209         * elf/tst-audit12.c: New file
10210         * elf/tst-auditmod12.c: New file.
10211         * elf/tst-audit12mod1.c: New file.
10212         * elf/tst-audit12mod2.c: New file.
10213         * elf/tst-audit12mod2.map: New file.
10214         * elf/tst-audit12mod3.c: New file.
10216 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10218         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10219         Don't create weak aliases,
10220         because versioned symbols are created later.
10221         * sysdeps/s390/s390-32/setjmp.S
10222         (setjmp, _setjmp): Remove weak and rename to an unique name
10223         in SHARED case due to existing versioned symbols.
10224         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10225         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10226         (getcontext): Create weak alias only in non SHARED case.
10227         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10229 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10231         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10232         (__ASSUME_*_SYSCALL) Define new macros.
10233         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10234         Remove socketcall syscalls.
10235         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10236         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10237         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10238         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10239         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10240         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10242 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10244         [BZ #12926]
10245         Terminate process on invalid netlink response.
10246         * sysdeps/unix/sysv/linux/netlinkaccess.h
10247         (__netlink_assert_response): Declare.
10248         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10249         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10250         (sysdep_routines): Add netlink_assert_response.
10251         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10252         __netlink_assert_response.
10253         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10254         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10255         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10256         __netlink_assert_response.
10258 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10260         [BZ #19178]
10261         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10262         (RTYPE_CLASS_PLT): Likewise.
10263         (RTYPE_CLASS_COPY): Likewise.
10264         (RTYPE_CLASS_TLS): Likewise.
10265         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10266         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10267         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10268         DL_DEBUG_PRELINK.
10270 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10272         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10273         calls with argument -0.5.
10274         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10276         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10277         (libc_cv_z_nodlopen): Likewise.
10278         (libc_cv_z_initfirst): Likewise.
10279         * configure: Regenerated.
10281 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10283         Simplify abilist format to be line-based.
10284         * scripts/abilist.awk: Collect descriptors in the descs variable.
10285         (emit): Write descs variable and sort it
10286         externally, with sort.
10287         * sysdeps/**/*.abilist: Convert to new format.
10289 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10291         [BZ #11460]
10292         * io/Makefile (routines): Add fts64.
10293         (tests): Add tst-fts and tst-fts-lfs.
10294         (CFLAGS-fts64.c): New.
10295         * io/Versions (GLIBC_2.23): New.
10296         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10297         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10298         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10299         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10300         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10301         (FTSENT64): Likewise.
10302         (fts64_children): Likewise.
10303         (fts64_close): Likewise.
10304         (fts64_open): Likewise.
10305         (fts64_read): Likewise.
10306         (fts64_set): Likewise.
10307         * io/fts64.c: New file.
10308         * io/tst-fts.c: New test.
10309         * io/tst-fts-lfs.c: Likewise.
10310         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10311         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10312         fts64_set.
10313         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10314         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10315         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10316         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10317         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10318         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10319         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10320         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10327         Likewise.
10328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10329         Likewise.
10330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10333         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10339         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10340         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10341         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10342         * sysdeps/wordsize-64/fts.c: New file.
10343         * sysdeps/wordsize-64/fts64.c: Likewise.
10344         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10345         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10346         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10347         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10349 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10351         * math/libm-test.inc (NON_FINITE): New macro.
10352         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10353         * math/gen-libm-test.pl (show_exceptions): Add argument
10354         $non_finite.
10355         (parse_args): Update call to show_exceptions.
10356         * math/test-math-finite.h: New file.
10357         * math/test-math-no-finite.h: Likewise.
10358         * math/test-double-finite.c: Likewise.
10359         * math/test-float-finite.c: Likewise.
10360         * math/test-ldouble-finite.c: Likewise.
10361         * math/test-double.c: Include "test-math-no-finite.h".
10362         * math/test-float.c: Include "test-math-no-finite.h".
10363         * math/test-ldouble.c: Include "test-math-no-finite.h".
10364         * math/test-math-inline.h (TEST_FINITE): New macro.
10365         * math/test-math-vector.h (TEST_FINITE): Likewise.
10366         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10367         (libm-tests): Add test-float-finite and test-double-finite.
10368         ($(objpfx)test-float-finite.o): New dependency on
10369         $(objpfx)libm-test.stmp.
10370         ($(objpfx)test-double-finite.o): Likewise.
10371         ($(objpfx)test-ldouble-finite.o): Likewise.
10372         (libm-test-no-inline-cflags): New variable.
10373         (libm-test-finite-cflags): Likewise.
10374         (CFLAGS-test-float-finite.c): Likewise.
10375         (CFLAGS-test-double-finite.c): Likewise.
10376         (CFLAGS-test-ldouble-finite.c): Likewise.
10377         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10378         (CFLAGS-test-double.c): Likewise.
10379         (CFLAGS-test-ldouble.c): Likewise.
10381 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10383         * io/fcntl.c (__fcntl): Add ... to prototype.
10384         * misc/ioctl.c (__ioctl): Likewise.
10385         * misc/syscall.c (syscall): Likewise.
10387 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10389         * scripts/list-fixed-bugs.py: New file.
10391         [BZ #19213]
10392         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10393         returned for argument 1.
10394         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10395         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10396         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10397         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10398         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10399         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10401         [BZ #19211]
10402         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10403         __USE_XOPEN], not if [!__USE_ISOC99].
10404         (lgammaf): Likewise.
10405         (lgammal): Likewise.
10406         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10407         (gammaf): Likewise.
10408         (gammal): Likewise.
10409         * math/test-signgam-finite-c11.c: New file.
10410         * math/test-signgam-finite-c99.c: Likewise.
10411         * math/test-signgam-finite.c: Likewise.
10412         * math/Makefile (tests): Add test-signgam-finite,
10413         test-signgam-finite-c99 and test-signgam-finite-c11.
10414         (CFLAGS-test-signgam-finite.c): New variable.
10415         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10416         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10418         [BZ #19212]
10419         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10420         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10421         500].
10422         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10423         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10424         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10425         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10426         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10427         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10428         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10429         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10430         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10431         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10433         [BZ #19209]
10434         * math/bits/math-finite.h (ldexp): Remove declaration.
10435         (ldexpf): Likewise.
10436         (ldexpl): Likewise.
10438         [BZ #19205]
10439         * math/bits/math-finite.h (acosf): Condition declaration on
10440         [__USE_ISOC99].
10441         (acosl): Likewise.
10442         (acoshf): Likewise.
10443         (acoshl): Likewise.
10444         (asinf): Likewise.
10445         (asinl): Likewise.
10446         (atan2f): Likewise.
10447         (atan2l): Likewise.
10448         (atanhf): Likewise.
10449         (atanhl): Likewise.
10450         (coshf): Likewise.
10451         (coshl): Likewise.
10452         (expf): Likewise.
10453         (expl): Likewise.
10454         (fmodf): Likewise.
10455         (fmodl): Likewise.
10456         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10457         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10458         (j0l): Likewise.
10459         (y0f): Likewise.
10460         (y0l): Likewise.
10461         (j1f): Likewise.
10462         (j1l): Likewise.
10463         (y1f): Likewise.
10464         (y1l): Likewise.
10465         (jnf): Likewise.
10466         (jnl): Likewise.
10467         (ynf): Likewise.
10468         (ynl): Likewise.
10469         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10470         (lgammal_r): Likewise.
10471         (__lgamma_r_finite): New declaration.
10472         (__lgammaf_r_finite): Likewise.
10473         (__lgammal_r_finite): Likewise.
10474         (lgamma): Use __lgamma_r_finite.
10475         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10476         __lgammaf_r_finite.
10477         (lgammal): Condition definition on [__USE_ISOC99].  Use
10478         __lgammal_r_finite.
10479         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10480         __lgamma_r_finite.
10481         (gammaf): Condition definition on [__USE_ISOC99].  Use
10482         __lgammaf_r_finite.
10483         (gammal): Condition definition on [__USE_ISOC99].  Use
10484         __lgammal_r_finite.
10485         (logf): Condition declaration on [__USE_ISOC99].
10486         (logl): Likewise.
10487         (log10f): Likewise.
10488         (log10l): Likewise.
10489         (ldexpf): Likewise.
10490         (ldexpl): Likewise.
10491         (powf): Likewise.
10492         (powl): Likewise.
10493         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10494         __USE_ISOC99].
10495         (remainderf): Condition declaration on [__USE_ISOC99].
10496         (remainderl): Likewise.
10497         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10498         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10499         (scalbl): Likewise.
10500         (sinhf): Condition declaration on [__USE_ISOC99].
10501         (sinhl): Likewise.
10502         (sqrtf): Likewise.
10503         (sqrtl): Likewise.
10505 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10507         * sysdeps/arm/atomic-machine.h
10508         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10509         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10510         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10511         Remove conditional code.
10512         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10513         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10514         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10515         Change conditional to [__ASSEMBLER__].
10516         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10517         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10518         [!__ASSEMBLER__].
10519         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10520         code.
10521         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10522         conditional macro definitions.
10523         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10524         (__arch_compare_and_exchange_val_16_acq): Likewise.
10525         (__arch_compare_and_exchange_val_32_acq): Likewise.
10526         (atomic_exchange_and_add): Likewise.
10527         (atomic_add): Likewise.
10528         (atomic_add_negative): Likewise.
10529         (atomic_add_zero): Likewise.
10530         (atomic_bit_set): Likewise.
10531         (atomic_bit_test_set): Likewise.
10532         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10533         code unconditional.
10534         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10536         * math/test-math-errno.h: New file.
10537         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10538         empty.
10539         (TEST_ERRNO): New macro.
10540         (TEST_EXCEPTIONS): Likewise.
10541         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10542         (TEST_EXCEPTIONS): Likewise.
10543         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10544         * math/test-double.c: Include "test-math-errno.h".
10545         * math/test-float.c: Likewise.
10546         * math/test-ldouble.c: Likewise.
10547         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10548         code unconditional.
10549         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10550         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10551         unconditional.
10552         (test_errno): Only run code if TEST_ERRNO.
10553         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10555 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10557         * nptl/tst-once5.cc: Remove attribution.
10559 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10561         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10562         sqrt, tan, tanh, y0, y1 and yn.
10563         * math/auto-libm-test-out: Regenerated.
10564         * math/libm-test.inc (scalb_test_data): Add more tests.
10565         (scalbn_test_data): Likewise.
10566         (scalbln_test_data): Likewise.
10567         (signbit_test_data): Likewise.
10568         (sin_test_data): Likewise.
10569         (sincos_test_data): Likewise.
10570         (sinh_test_data): Likewise.
10571         (sqrt_test_data): Likewise.
10572         (tan_test_data): Likewise.
10573         (tanh_test_data): Likewise.
10574         (tgamma_test_data): Likewise.
10575         (y0_test_data): Likewise.
10576         (y1_test_data): Likewise.
10577         (yn_test_data): Likewise.
10578         (significand_test_data): Likewise.
10579         * sysdeps/i386/fpu/libm-test-ulps: Update.
10581 2015-11-03  David Kastrup  <dak@gnu.org>
10583         [BZ #18604]
10584         * assert/assert.h (assert): Don't macro-expand failed assertion
10585         expression in error message.
10586         * malloc/malloc.c (assert): Likewise.
10588 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10590         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10591         test.
10592         * configure: Regenerated.
10594 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10596         * math/libm-test.inc (modf_test_data): Add more tests.
10597         (nearbyint_test_data): Likewise.
10598         (nextafter_test_data): Likewise.
10599         (nexttoward_test_data): Likewise.
10600         (pow_test_data): Likewise.
10601         (remainder_test_data): Likewise.
10602         (remquo_test_data): Likewise.
10603         (rint_test_data): Likewise.
10605         [BZ #19201]
10606         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10607         Check for zero remainder in case of large exponents and ensure
10608         correct sign of result in that case.
10609         * math/libm-test.inc (remainder_test_data): Add more tests.
10611         [BZ #6799]
10612         * math/s_nextafter.c: Include <errno.h>.
10613         (__nextafter): Set errno on overflow and underflow.
10614         * math/s_nexttowardf.c: Include <errno.h>.
10615         (__nexttowardf): Set errno on overflow and underflow.
10616         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10617         (__nextafterl): Set errno on overflow and underflow.
10618         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10619         (__nexttoward): Set errno on overflow and underflow.
10620         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10621         (__nexttowardf): Set errno on overflow and underflow.
10622         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10623         (__nextafterf): Set errno on overflow and underflow.
10624         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10625         (__nextafterl): Set errno on overflow and underflow.
10626         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10627         (__nexttoward): Set errno on overflow and underflow.
10628         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10629         (__nexttowardf): Set errno on overflow and underflow.
10630         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10631         (__nextafterl): Set errno on overflow and underflow.
10632         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10633         (__nexttoward): Set errno on overflow and underflow.
10634         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10635         (__nexttowardf): Set errno on overflow and underflow.
10636         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10637         (__nexttoward): Set errno on overflow and underflow.
10638         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10639         (__nexttowardf): Set errno on overflow and underflow.
10640         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10641         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10642         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10643         (__nextafterl): Set errno on overflow and underflow.
10644         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10645         setting to be missing on overflow.  Add more tests.
10646         (nexttoward_test_data): Likewise.
10648         * configure.ac (libc_cv_initfini_array): Remove configure test.
10649         * configure: Regenerated.
10651 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10653         [BZ #19189]
10654         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10655         non-finite argument handle arguments with negative sign.
10657         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10658         result from infinite argument.
10659         (j1_test_data): Likewise.
10660         (jn_test_data): Likewise.
10661         (y0_test_data): Likewise.
10662         (y1_test_data): Likewise.
10663         (yn_test_data): Likewise.
10665         [BZ #16171]
10666         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10667         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10668         * math/w_remainderf.c (dremf): Define as weak alias of
10669         __remainderf.
10670         * math/w_remainderl.c (dreml): Define as weak alias of
10671         __remainderl.
10672         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10673         __remainder.
10674         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10675         __remainderf.
10676         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10677         __remainderl.
10678         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10679         weak alias of remainderl.
10680         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10681         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10682         alias of __remainder.
10683         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10684         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10685         strong alias of __remainderl.
10686         (dreml): Use long_double_symbol.
10687         * math/Makefile (libm-calls): Remove w_drem.
10688         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10689         (CFLAGS-nldbl-drem.c): Remove variable.
10690         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10691         * math/w_drem.c: Remove file.
10692         * math/w_dremf.c: Likewise.
10693         * math/w_dreml.c: Likewise.
10694         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10695         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10696         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10698         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10699         * sysdeps/i386/configure: Regenerated.
10700         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10701         * sysdeps/x86_64/configure: Regenerated.
10703         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10704         test.
10705         (libc_cv_visibility_attribute): Likewise.
10706         (libc_cv_protected_data): Test unconditionally.
10707         (libc_cv_broken_visibility_attribute): Remove configure test.
10708         (libc_cv_have_sdata_section): Test unconditionally.
10709         * configure: Regenerated.
10711         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10712         * include/scratch_buffer.h: Include <stddef.h> instead of
10713         <libc-internal.h>.
10714         (struct scratch_buffer): Use max_align_t instead of
10715         libc_max_align_t.
10717 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10719         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10720         instead of extend_alloca.  Change control flow to avoid a goto.
10721         Remove assert which is trivially always true.
10723 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10725         [BZ #16068]
10726         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10727         (FE_ALL_EXCEPT_X86): New macro.
10728         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10729         FE_ALL_EXCEPT.  Ensure precision control is included in
10730         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10731         handle "denormal operand exception" and clear FZ and DAZ bits.
10732         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10733         (FE_ALL_EXCEPT_X86): New macro.
10734         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10735         FE_ALL_EXCEPT.  Ensure precision control is included in
10736         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10737         handle "denormal operand exception" and clear FZ and DAZ bits.
10738         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10739         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10740         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10741         test-fenv-x87 and test-fenv-sse-2.
10742         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10744         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10745         * math/test-double.h (BUILD_COMPLEX): New macro.
10746         * math/test-float.h (BUILD_COMPLEX): Likewise.
10747         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10749         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10750         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10751         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10753         instead of DBL_DENORM_MIN in comment.
10754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10755         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10757         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10758         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10759         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10761 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10763         [BZ# 19048]
10764         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10765         attached_threads member.
10766         (main_arena): Initialize attached_threads.
10767         * malloc/arena.c (list_lock): Update comment.
10768         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10769         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10770         (deattach_arena): New function.
10771         (_int_new_arena): Initialize arena reference count and deattach
10772         replaced arena.
10773         (get_free_list, reused_arena): Update reference count and deattach
10774         replaced arena.
10775         (arena_thread_freeres): Update arena reference count and only put
10776         unreferenced arenas on the free list.
10778 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10780         [BZ #19181]
10781         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10782         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10783         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10784         * math/test-fenv-clear-main.c: New file.
10785         * math/test-fenv-clear.c: Likewise.
10786         * math/Makefile (tests): Add test-fenv-clear.
10787         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10788         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10789         test-fenv-clear-sse.
10790         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10792         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10793         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10794         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10796 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10798         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10799         static libc.
10801 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10803         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10804         test.
10805         * sysdeps/i386/configure: Regenerated.
10806         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10807         test.
10808         * sysdeps/x86_64/configure: Regenerated.
10809         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10811         memset-avx2 unconditionally instead of conditionally on
10812         [$(config-cflags-avx2) = yes].
10813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10814         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10815         unconditional.
10816         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10817         * sysdeps/x86_64/multiarch/memset_chk.S
10818         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10819         to [IS_IN (libc) && SHARED].
10821 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10823         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10824         configure test.
10825         * sysdeps/arm/configure: Regenerated.
10826         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10827         Define variable if not already defined.
10829         [BZ #17404]
10830         * sysdeps/mips/atomic-machine.h
10831         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10832         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10833         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10835         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10836         unconditional.
10837         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10838         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10839         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10840         unconditional.
10841         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10842         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10843         unconditional.
10844         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10845         * stdlib/setenv.c
10846         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10847         code unconditional.
10848         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10849         Remove conditional code.
10850         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10851         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10852         unconditional.
10853         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10854         code.
10855         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10856         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10857         unconditional.
10858         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10859         code.
10860         * sysdeps/ieee754/ldbl-128/k_tanl.c
10861         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10862         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10863         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10864         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10865         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10866         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10867         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10868         unconditional.
10869         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10870         code.
10871         * sysdeps/ieee754/ldbl-96/k_tanl.c
10872         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10873         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10875         * nptl/tst-initializers1-c11.c: New file.
10876         * nptl/tst-initializers1-gnu11.c: Likewise.
10877         * nptl/Makefile (tests): Add these new tests.
10878         (CFLAGS-tst-initializers1-c11.c): New variable.
10879         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10881         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10882         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10883         instead of -std=gnu99.
10884         * configure.ac (systemtap): Test with -std=gnu11 instead of
10885         -std=gnu99.
10886         * configure: Regenerated.
10887         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10888         in compilation command in comment.
10890         * sysdeps/nptl/configure.ac: Remove file.
10891         * sysdeps/nptl/configure: Remove generated file.
10892         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10893         * configure: Regenerated.
10894         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10895         * config.make.in (have-forced-unwind): Remove variable.
10896         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10897         unconditional.
10898         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10899         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10900         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10901         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10902         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10903         unconditional.
10905 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10907         [BZ #19174]
10908         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10909         .skip_lock_out_of_tbegin_retries.
10910         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10911         (__lll_lock_elision): Likewise, and respect a value of
10912         try_tbegin <= 0.
10914 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10916         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10917         statement.
10919 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10921         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10922         variable.
10923         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10924         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10926         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10927         of -std=c1x -D_ISOC11_SOURCE.
10929         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10930         * configure: Regenerated.
10931         * manual/install.texi (Tools for Compilation): Document
10932         requirement for GCC 4.7 or later.
10933         * INSTALL: Regenerated.
10935 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10937         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10938         on CNT to a conditional jump to 'puntdata'.
10940 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10942         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10943         (libc_cv_gcc_tls_model_attr): Likewise.
10944         * configure: Regenerated.
10946         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10947         * configure: Regenerated.
10948         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10950 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10952         * configure.ac (old_glibc_headers): Remove configure test.
10953         * configure: Regenerated.
10954         * config.make.in (old-glibc-headers): Remove variable.
10955         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10956         (install): Remove dependency on remove-old-headers.
10957         (headers2_0): Remove variable.
10958         (remove-old-headers): Remove rule.
10960         * configure.ac (libc_cv_dot_text): Remove configure test.
10961         (libc_cv_asm_set_directive): Use .text instead of
10962         ${libc_cv_dot_text} in configure test.
10963         * configure: Regenerated.
10965 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10967         [BZ #19168]
10968         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10970 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10972         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10973         not support static linking.
10974         * configure: Regenerate.
10976 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10978         * math/libm-test.inc (check_float_internal): Do not special-case
10979         errors up to 0.5 ulp.
10981         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10982         log2.
10983         * math/auto-libm-test-out: Regenerated.
10984         * math/libm-test.inc (MAX_EXP): New macro.
10985         (ilogb_test_data): Add more tests.
10986         (isfinite_test_data): Likewise.
10987         (isgreater_test_data): Likewise.
10988         (isgreaterequal_test_data): Likewise.
10989         (isinf_test_data): Likewise.
10990         (isless_test_data): Likewise.
10991         (islessequal_test_data): Likewise.
10992         (islessgreater_test_data): Likewise.
10993         (isnan_test_data): Likewise.
10994         (isnormal_test_data): Likewise.
10995         (issignaling_test_data): Likewise.
10996         (isunordered_test_data): Likewise.
10997         (j0_test_data): Likewise.
10998         (j1_test_data): Likewise.
10999         (jn_test_data): Likewise.
11000         (lgamma_test_data): Likewise.
11001         (log_test_data): Likewise.
11002         (log10_test_data): Likewise.
11003         (log1p_test_data): Likewise.
11004         (log2_test_data): Likewise.
11005         (logb_test_data): Likewise.
11006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11008         [BZ #18611]
11009         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11010         avoid excess range and precision on underflow.
11011         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11012         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11013         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11014         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11015         underflow.
11016         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11017         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11018         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11019         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11020         * math/auto-libm-test-in: Do not allow missing errno setting for
11021         tests of j1 and jn.
11022         * math/auto-libm-test-out: Regenerated.
11024 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11026         [BZ #15491]
11027         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11028         floating-point environment instead of clearing all exceptions.
11029         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11030         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11031         merging in "invalid" exceptions from frndint.
11032         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11033         * math/test-nearbyint-except.c: New file.
11034         * math/Makefile (tests): Add test-nearbyint-except.
11036 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11038         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11040         * sysdeps/tile/libm-test-ulps: Regenerated.
11042 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11045         (__NR_sync_file_range2): Assume it is always defined.
11046         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11047         (__NR_sync_file_range): Assume it is always defined.
11049 2015-10-22  Andreas Schwab  <schwab@suse.de>
11051         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11052         INTERNAL_SYSCALL_ERRNO.
11053         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11054         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11055         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11056         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11057         Likewise.
11058         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11060 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11062         * io/tst-fcntl.c (fd): New static variable.
11063         (do_prepare): Open temporary file here....
11064         (do_test): ...not here.
11066         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11068 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11070         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11071         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11072         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11073         Moved before "#ifdef __ASSEMBLER__".
11075 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11077         [BZ #19156]
11078         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11079         arguments very close to 0.
11081 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11083         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11084         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11086 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11088         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11089         New.  Defined for GCC 5 and above when not compiling for
11090         profiling.
11091         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11093         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11094         Renamed to ...
11095         (CFLAGS-epoll_pwait.o): This.
11096         (CFLAGS-mmap.c): Renamed to ...
11097         (CFLAGS-mmap.o): This.
11098         (CFLAGS-mmap64.c): Renamed to ...
11099         (CFLAGS-mmap64.o): This.
11100         (CFLAGS-epoll_pwait.os): New.
11101         (CFLAGS-mmap.os): Likewise.
11102         (CFLAGS-mmap64.os): Likewise.
11103         (CFLAGS-semtimedop.os): Likewise.
11104         (CFLAGS-semtimedop.c): Renamed to ...
11105         (CFLAGS-semtimedop.o): This.
11107 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11109         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11110         warning message.
11112 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11114         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11115         * Makefile ($(objpfx)c++-types-check.out): Filter out
11116         $(+gccwarn-c) instead of -Wstrict-prototypes.
11118         * io/fts.c (fts_open): Convert to prototype-style function
11119         definition.
11120         * malloc/mcheck.c (mcheck): Likewise.
11121         (mcheck_pedantic): Likewise.
11122         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11123         internal_function.
11124         (re_search_internal): Likewise.
11125         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11126         prototype-style function definition.
11127         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11128         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11129         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11130         (xdr_utmpptr): Likewise.
11131         (xdr_utmparr): Likewise.
11132         (xdr_utmpidle): Likewise.
11133         (xdr_utmpidleptr): Likewise.
11134         (xdr_utmpidlearr): Likewise.
11136         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11137         log, log10 and log2.
11138         * math/auto-libm-test-out: Regenerated.
11139         * math/libm-test.inc (fmod_test_data): Add more tests.
11140         (fpclassify_test_data): Likewise.
11141         (frexp_test_data): Likewise.
11142         (hypot_test_data): Likewise.
11143         (ilogb_test_data): Likewise.
11145 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11147         * debug/fortify_fail.c (__fortify_fail): Convert to
11148         prototype-style function definition.  Use internal_function.
11149         * libio/genops.c (save_for_backup): Convert to prototype-style
11150         function definition.
11151         * libio/wgenops.c (save_for_wbackup): Likewise.
11152         * login/grantpt.c (grantpt): Likewise.
11153         * login/ptsname.c (ptsname): Likewise.
11154         (__ptsname_r): Likewise.
11155         * login/unlockpt.c (unlockpt): Likewise.
11156         * mach/msgserver.c (__mach_msg_server): Likewise.
11157         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11158         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11159         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11160         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11161         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11162         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11163         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11164         Likewise.
11165         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11166         internal_function.
11167         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11168         prototype-style function definition.
11169         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11170         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11171         (__pthread_create_2_0): Likewise.
11172         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11173         * nptl/register-atfork.c (__register_atfork): Likewise.
11174         * posix/glob.c (glob): Likewise.
11175         * posix/regcomp.c (re_comp): Likewise.
11176         * posix/regexec.c (re_exec): Likewise.
11177         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11178         [!__STDC__]: Remove conditional code.
11179         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11180         [!__STDC__]: Remove conditional code.
11181         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11182         [!__STDC__]: Remove conditional code.
11183         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11184         [!__STDC__]: Remove conditional code.
11185         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11186         [!__STDC__]: Remove conditional code.
11187         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11188         [!__STDC__]: Remove conditional code.
11189         * stdlib/mul.c [__STDC__]: Make code unconditional.
11190         [!__STDC__]: Remove conditional code.
11191         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11192         [!__STDC__]: Remove conditional code.
11193         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11194         [!__STDC__]: Remove conditional code.
11195         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11196         function definition.
11197         (STRTOF): Likewise.
11198         * stdlib/strtod_l.c (__STRTOF): Likewise.
11199         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11200         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11201         (__strtol_l): Likewise.
11202         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11203         [!__STDC__]: Remove conditional code.
11204         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11205         definition.
11206         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11207         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11208         type.
11209         (__strcasecmp): Convert to prototype-style function definition.
11210         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11211         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11212         type.
11213         (__strncasecmp): Convert to prototype-style function definition.
11214         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11215         * sunrpc/xdr.c (xdr_union): Likewise.
11216         * sunrpc/xdr_array.c (xdr_array): Likewise.
11217         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11218         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11219         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11220         Likewise.
11221         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11222         Likewise.
11223         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11224         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11225         Likewise.
11226         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11227         (LOCALE_PARAM_PROTO): Likewise.
11228         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11229         argument type.
11230         (ut_argument_spec): Remove macro.
11231         (ut_argument_spec_iso): Rename to ut_argument_spec.
11232         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11233         prototype-style function definition.
11234         (memcpy_uppcase): Likewise.
11235         (__strftime_internal): Likewise.
11236         (my_strftime): Likewise.
11237         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11238         (LOCALE_PARAM_DECL): Likewise.
11239         [_LIBC] (LOCALE_PARAM): Include argument type.
11240         (__strptime_internal): Convert to prototype-style function
11241         definition.
11242         (strptime): Likewise.
11243         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11244         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11245         type.
11246         (__wcscasecmp): Convert to prototype-style function definition.
11247         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11248         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11249         type.
11250         (__wcsncasecmp): Convert to prototype-style function definition.
11252         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11253         function definition.
11254         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11255         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11256         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11257         * elf/dl-minimal.c (_itoa): Likewise.
11258         * hurd/hurdmalloc.c (malloc): Likewise.
11259         (free): Likewise.
11260         (realloc): Likewise.
11261         * inet/inet6_option.c (inet6_option_space): Likewise.
11262         (inet6_option_init): Likewise.
11263         (inet6_option_append): Likewise.
11264         (inet6_option_alloc): Likewise.
11265         (inet6_option_next): Likewise.
11266         (inet6_option_find): Likewise.
11267         * io/ftw.c (FTW_NAME): Likewise.
11268         (NFTW_NAME): Likewise.
11269         (NFTW_NEW_NAME): Likewise.
11270         (NFTW_OLD_NAME): Likewise.
11271         * libio/iofwide.c (_IO_fwide): Likewise.
11272         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11273         (_IO_str_init_static): Likewise.
11274         (_IO_str_init_readonly): Likewise.
11275         (_IO_str_overflow): Likewise.
11276         (_IO_str_underflow): Likewise.
11277         (_IO_str_count): Likewise.
11278         (_IO_str_seekoff): Likewise.
11279         (_IO_str_pbackfail): Likewise.
11280         (_IO_str_finish): Likewise.
11281         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11282         (_IO_wstr_overflow): Likewise.
11283         (_IO_wstr_underflow): Likewise.
11284         (_IO_wstr_count): Likewise.
11285         (_IO_wstr_seekoff): Likewise.
11286         (_IO_wstr_pbackfail): Likewise.
11287         (_IO_wstr_finish): Likewise.
11288         * locale/programs/localedef.c (normalize_codeset): Likewise.
11289         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11290         (add_locales_to_archive): Likewise.
11291         (delete_locales_from_archive): Likewise.
11292         * malloc/malloc.c (__libc_mallinfo): Likewise.
11293         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11294         * misc/tsearch.c (__tfind): Likewise.
11295         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11296         * nptl/pthread_attr_getdetachstate.c
11297         (__pthread_attr_getdetachstate): Likewise.
11298         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11299         Likewise.
11300         * nptl/pthread_attr_getinheritsched.c
11301         (__pthread_attr_getinheritsched): Likewise.
11302         * nptl/pthread_attr_getschedparam.c
11303         (__pthread_attr_getschedparam): Likewise.
11304         * nptl/pthread_attr_getschedpolicy.c
11305         (__pthread_attr_getschedpolicy): Likewise.
11306         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11307         Likewise.
11308         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11309         Likewise.
11310         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11311         Likewise.
11312         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11313         Likewise.
11314         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11315         (__pthread_attr_init_2_0): Likewise.
11316         * nptl/pthread_attr_setdetachstate.c
11317         (__pthread_attr_setdetachstate): Likewise.
11318         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11319         Likewise.
11320         * nptl/pthread_attr_setinheritsched.c
11321         (__pthread_attr_setinheritsched): Likewise.
11322         * nptl/pthread_attr_setschedparam.c
11323         (__pthread_attr_setschedparam): Likewise.
11324         * nptl/pthread_attr_setschedpolicy.c
11325         (__pthread_attr_setschedpolicy): Likewise.
11326         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11327         Likewise.
11328         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11329         Likewise.
11330         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11331         Likewise.
11332         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11333         Likewise.
11334         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11335         Likewise.
11336         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11337         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11338         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11339         use internal_function.
11340         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11341         prototype-style function definition.
11342         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11343         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11344         internal_function.
11345         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11346         Convert to prototype-style function definition.
11347         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11348         Likewise.
11349         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11350         Likewise.
11351         (__pthread_mutex_unlock): Likewise.
11352         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11353         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11354         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11355         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11356         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11357         * nss/makedb.c (process_input): Likewise.
11358         * posix/fnmatch.c (__strchrnul): Likewise.
11359         (__wcschrnul): Likewise.
11360         (fnmatch): Likewise.
11361         * posix/fnmatch_loop.c (FCT): Likewise.
11362         * posix/glob.c (globfree): Likewise.
11363         (__glob_pattern_type): Likewise.
11364         (__glob_pattern_p): Likewise.
11365         * posix/regcomp.c (re_compile_pattern): Likewise.
11366         (re_set_syntax): Likewise.
11367         (re_compile_fastmap): Likewise.
11368         (regcomp): Likewise.
11369         (regerror): Likewise.
11370         (regfree): Likewise.
11371         * posix/regexec.c (regexec): Likewise.
11372         (re_match): Likewise.
11373         (re_search): Likewise.
11374         (re_match_2): Likewise.
11375         (re_search_2): Likewise.
11376         (re_search_stub): Likewise.  Use internal_function
11377         (re_copy_regs): Likewise.
11378         (re_set_registers): Convert to prototype-style function
11379         definition.
11380         (prune_impossible_nodes): Likewise.  Use internal_function.
11381         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11382         prototype-style function definition.
11383         (inet_net_pton_ipv4): Likewise.
11384         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11385         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11386         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11387         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11388         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11389         Make variadic.
11390         * time/strptime_l.c (localtime_r): Convert to prototype-style
11391         function definition.
11392         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11393         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11394         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11395         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11397         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11398         definition.
11399         (_ufc_doit_r): Likewise.
11400         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11401         (_ufc_output_conversion_r): Likewise.
11402         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11403         * inet/rcmd.c (rcmd_af): Likewise.
11404         (rcmd): Likewise.
11405         (ruserok_af): Likewise.
11406         (ruserok): Likewise.
11407         (ruserok2_sa): Likewise.
11408         (ruserok_sa): Likewise.
11409         (iruserok_af): Likewise.
11410         (iruserok): Likewise.
11411         (__ivaliduser): Likewise.
11412         (__validuser2_sa): Likewise.
11413         * inet/rexec.c (rexec_af): Likewise.
11414         (rexec): Likewise.
11415         * inet/ruserpass.c (ruserpass): Likewise.
11416         * locale/programs/xmalloc.c (xcalloc): Likewise.
11417         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11418         * math/w_drem.c (__drem): Likewise.
11419         * math/w_dremf.c (__dremf): Likewise.
11420         * math/w_dreml.c (__dreml): Likewise.
11421         * misc/daemon.c (daemon): Likewise.
11422         * resolv/res_debug.c (p_fqnname): Likewise.
11423         * stdlib/div.c (div): Likewise.
11424         * string/memcmp.c (memcmp_bytes): Likewise.
11425         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11426         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11428         * crypt/cert.c (main): Convert to prototype-style function
11429         definition.
11430         * io/pipe.c (__pipe): Likewise.
11431         * io/pipe2.c (__pipe2): Likewise.
11432         * misc/futimesat.c (futimesat): Likewise.
11433         * misc/utimes.c (__utimes): Likewise.
11434         * posix/execve.c (__execve): Likewise.
11435         * posix/execvp.c (execvp): Likewise.
11436         * posix/execvpe.c (__execvpe): Likewise.
11437         * posix/fexecve.c (fexecve): Likewise.
11438         * socket/socketpair.c (socketpair): Likewise.
11439         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11440         * stdlib/erand48.c (erand48): Likewise.
11441         * stdlib/erand48_r.c (__erand48_r): Likewise.
11442         * stdlib/jrand48.c (jrand48): Likewise.
11443         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11444         * stdlib/lcong48.c (lcong48): Likewise.
11445         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11446         * stdlib/nrand48.c (nrand48): Likewise.
11447         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11448         * stdlib/seed48.c (seed48): Likewise.
11449         * stdlib/seed48_r.c (__seed48_r): Likewise.
11450         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11451         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11452         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11454 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11456         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11457         * configure: Regenerated.
11458         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11459         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11460         unconditional.
11461         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11462         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11463         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11464         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11465         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11466         unconditional.
11467         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11469         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11470         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11472         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11473         function definition.
11474         * crypt/crypt_util.c (__encrypt_r): Likewise.
11475         * libio/genops.c (_IO_no_init): Likewise.
11476         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11477         (_IO_old_fopencookie): Likewise.
11478         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11479         * libio/iogetline.c (_IO_getline): Likewise.
11480         (_IO_getline_info): Likewise.
11481         * libio/iogetwline.c (_IO_getwline): Likewise.
11482         (_IO_getwline_info): Likewise.
11483         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11484         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11485         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11486         (find_entry): Likewise.
11487         (iterate_table): Likewise.
11488         (lookup): Likewise.
11489         * login/forkpty.c (forkpty): Likewise.
11490         * misc/hsearch_r.c (__hsearch_r): Likewise.
11491         * misc/select.c (__select): Likewise.
11492         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11493         Likewise.
11494         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11495         Likewise.
11496         * nptl/old_pthread_cond_timedwait.c
11497         (__pthread_cond_timedwait_2_0): Likewise.
11498         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11499         * nptl/pthread_barrierattr_getpshared.c
11500         (pthread_barrierattr_getpshared): Likewise.
11501         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11502         Likewise.
11503         * nptl/pthread_mutex_setprioceiling.c
11504         (pthread_mutex_setprioceiling): Likewise.
11505         * nptl/pthread_mutexattr_getprioceiling.c
11506         (pthread_mutexattr_getprioceiling): Likewise.
11507         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11508         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11509         Likewise.
11510         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11511         Likewise.
11512         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11513         Likewise.
11514         * socket/recvfrom.c (__recvfrom): Likewise.
11515         * socket/sendto.c (__sendto): Likewise.
11516         * socket/setsockopt.c (__setsockopt): Likewise.
11517         * stdio-common/_itoa.c (_itoa): Likewise.
11518         * stdio-common/_itowa.c (_itowa): Likewise.
11519         * stdio-common/reg-printf.c (__register_printf_specifier):
11520         Likewise.
11521         (__register_printf_function): Likewise.
11522         * stdio-common/tempname.c (__path_search): Likewise.
11523         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11524         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11525         * stdlib/random_r.c (__initstate_r): Likewise.
11526         * stdlib/setenv.c (__add_to_environ): Likewise.
11527         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11528         * streams/getpmsg.c (getpmsg): Likewise.
11529         * streams/putmsg.c (putmsg): Likewise.
11530         * streams/putpmsg.c (putpmsg): Likewise.
11531         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11532         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11533         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11534         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11535         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11536         * sunrpc/svc_udp.c (cache_get): Likewise.
11537         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11538         * sysdeps/mach/hurd/getcwd.c
11539         (__canonicalize_directory_name_internal): Likewise.
11540         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11541         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11542         * sysdeps/mach/hurd/select.c (__select): Likewise.
11543         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11544         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11545         * sysdeps/sparc/nptl/pthread_barrier_init.c
11546         (__pthread_barrier_init): Likewise.
11547         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11548         (__pthread_cond_timedwait): Likewise.
11549         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11550         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11551         Likewise.
11552         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11553         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11554         Likewise.
11555         * sysvipc/semtimedop.c (semtimedop): Likewise.
11556         * time/setitimer.c (__setitimer): Likewise.
11557         * time/strftime_l.c (emacs_strftime): Likewise.
11559 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11561         * config.make.in (have-ssp): Delete.
11562         (stack-protector): New variable.
11563         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11564         cache test for -fstack-protector-strong.  Export stack_protector to
11565         the best ssp flag.
11566         * configure: Regenerated.
11567         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11568         * nscd/Makefile (CFLAGS-nscd): Likewise.
11569         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11571 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11573         [BZ #19122]
11574         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11575         attribute_hidden.
11577 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11579         [BZ #18743]
11580         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11581         code to...
11582         (ELIDE_LOCK): ...here.
11583         (__get_new_count): New function with part of the code from
11584         __elide_lock that updates the value of adapt_count after a
11585         transaction abort.
11586         (__elided_trylock): Moved this code to...
11587         (ELIDE_TRYLOCK): ...here.
11589 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11591         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11592         * configure: Regenerate.
11593         * INSTALL: Regenerate.
11594         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11595         and tweak grammar.
11597 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11599         * login/programs/pt_chown.c: Include signal.h
11600         (main): Clear any signal mask from the parent process.
11602 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11604         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11605         * configure: Regenerated.
11606         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11607         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11608         $(gnu89-inline-CFLAGS).
11610         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11611         test.
11612         (libc_cv_asm_weakext_directive): Likewise.
11613         * configure: Regenerated.
11614         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11615         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11616         * include/libc-symbols.h
11617         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11618         #error.
11619         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11620         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11622         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11623         prototype-style function definition.
11624         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11625         * sysdeps/i386/ffs.c (__ffs): Likewise.
11626         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11627         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11628         Likewise.
11629         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11630         Likewise.
11631         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11632         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11633         Likewise.
11634         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11635         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11636         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11637         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11638         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11639         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11640         * sysdeps/mach/hurd/access.c (__access): Likewise.
11641         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11642         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11643         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11644         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11645         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11646         (cthread_getspecific): Likewise.
11647         (cthread_setspecific): Likewise.
11648         (__libc_getspecific): Likewise.
11649         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11650         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11651         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11652         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11653         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11654         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11655         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11656         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11657         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11658         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11659         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11660         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11661         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11662         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11663         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11664         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11665         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11666         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11667         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11668         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11669         * sysdeps/mach/hurd/link.c (__link): Likewise.
11670         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11671         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11672         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11673         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11674         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11675         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11676         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11677         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11678         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11679         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11680         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11681         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11682         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11683         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11684         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11685         * sysdeps/mach/hurd/send.c (__send): Likewise.
11686         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11687         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11688         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11689         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11690         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11691         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11692         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11693         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11694         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11695         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11696         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11697         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11698         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11699         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11700         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11701         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11702         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11703         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11704         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11705         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11706         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11707         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11708         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11709         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11710         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11711         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11712         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11713         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11714         * sysdeps/posix/alarm.c (alarm): Likewise.
11715         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11716         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11717         * sysdeps/posix/dup.c (__dup): Likewise.
11718         * sysdeps/posix/dup2.c (__dup2): Likewise.
11719         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11720         (main): Likewise.
11721         * sysdeps/posix/flock.c (__flock): Likewise.
11722         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11723         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11724         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11725         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11726         * sysdeps/posix/isatty.c (__isatty): Likewise.
11727         * sysdeps/posix/killpg.c (killpg): Likewise.
11728         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11729         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11730         * sysdeps/posix/raise.c (raise): Likewise.
11731         * sysdeps/posix/remove.c (remove): Likewise.
11732         * sysdeps/posix/rename.c (rename): Likewise.
11733         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11734         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11735         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11736         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11737         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11738         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11739         * sysdeps/posix/sigset.c (sigset): Likewise.
11740         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11741         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11742         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11743         * sysdeps/posix/time.c (time): Likewise.
11744         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11745         (ttyname): Likewise.
11746         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11747         * sysdeps/posix/utime.c (utime): Likewise.
11748         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11749         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11750         Likewise.
11751         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11752         (pthread_spin_trylock): Likewise.
11753         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11754         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11755         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11756         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11757         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11758         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11759         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11760         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11761         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11762         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11763         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11764         * sysdeps/s390/ffs.c (__ffs): Likewise.
11765         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11766         Likewise.
11767         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11768         Likewise.
11769         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11770         Likewise.
11771         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11772         (pthread_barrier_destroy): Likewise.
11773         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11774         (__pthread_barrier_wait): Likewise.
11775         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11776         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11777         (__pthread_barrier_wait): Likewise.
11778         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11779         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11780         (memcmp_not_common_alignment): Likewise.
11781         (MEMCMP): Likewise.
11782         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11783         (_wordcopy_fwd_dest_aligned): Likewise.
11784         (_wordcopy_bwd_aligned): Likewise.
11785         (_wordcopy_bwd_dest_aligned): Likewise.
11786         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11787         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11788         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11789         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11790         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11791         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11792         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11793         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11794         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11795         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11796         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11797         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11798         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11799         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11800         * sysdeps/unix/stime.c (stime): Likewise.
11801         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11802         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11803         Likewise.  Use internal_function.
11804         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11805         Convert to prototype-style function definition.
11806         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11807         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11808         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11809         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11810         Likewise.  Use internal_function.
11811         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11812         prototype-style function definition
11813         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11814         Likewise.
11815         (__getlogin_r): Likewise.
11816         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11818         (__pthread_cond_broadcast): Likewise.
11819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11820         (__pthread_cond_destroy): Likewise.
11821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11822         (__pthread_cond_init): Likewise.
11823         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11824         (__pthread_cond_signal): Likewise.
11825         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11826         (__pthread_cond_wait): Likewise.
11827         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11828         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11829         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11830         Likewise.
11831         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11832         Likewise.
11833         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11834         Likewise.
11835         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11836         Likewise.
11837         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11839         (__ftruncate64): Likewise.
11840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11841         (truncate64): Likewise.
11842         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11843         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11844         (pthread_getcpuclockid): Likewise.
11845         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11846         Likewise.
11847         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11848         Likewise.
11849         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11850         Likewise.
11851         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11852         Likewise.
11853         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11854         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11855         (__libc_sigaction): Likewise.
11856         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11859         (__sigprocmask): Likewise.
11860         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11861         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11862         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11863         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11864         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11865         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11866         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11867         Likewise.
11868         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11869         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11870         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11871         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11872         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11873         Likewise.
11874         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11875         (__sigprocmask): Likewise.
11876         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11877         (cfgetispeed): Likewise.
11878         (cfsetospeed): Likewise.
11879         (cfsetispeed): Likewise.
11880         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11881         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11882         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11883         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11884         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11885         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11886         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11887         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11888         Likewise.
11889         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11890         Likewise.
11891         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11892         Likewise.
11893         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11894         Likewise.
11895         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11897 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11899         sunrpc: Rewrite with explicit TLS access using __thread.
11900         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11901         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11902         directly.
11903         (__rpc_thread_variables): Access thread_rpc_vars directly.
11904         Eliminate redundant assignment of the tvp variable.
11906 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11908         malloc: Rewrite with explicit TLS access using __thread.
11909         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11910         (tsd_setspecific, tsd_getspecific): Remove.
11911         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11912         (tsd_setspecific, tsd_getspecific): Likewise.
11913         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11914         (tsd_setspecific, tsd_getspecific): Likewise.
11915         * malloc/arena.c (thread_arena): New TLS variable.
11916         (arena_key): Remove variable.
11917         (arena_get): Use thread_arena.
11918         (arena_lookup): Remove macro.
11919         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11920         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11921         (_int_new_arena, get_free_list, reused_arena)
11922         (arena_thread_freeres): Use thread_arena.
11923         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11924         tsd_getspecific, tsd_setspecific from safety annotations.
11925         (Allocating Cleared Space): Remove arena_lookup from safety
11926         annotations.
11928 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11930         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11931         struct scratch_buffer instead of extend_alloca.
11933 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11935         * sysdeps/unix/sysv/linux/kernel-features.h
11936         (__ASSUME_SOCK_CLOEXEC): Remove.
11937         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11938         (__have_paccept): Remove unused macro.
11939         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11940         * misc/syslog.c (openlog_internal): Remove fallback code for
11941         !__ASSUME_SOCK_CLOEXEC.
11942         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11943         missing SOCK_CLOEXEC.
11944         * nscd/connections.c (have_sock_cloexec): Remove definition.
11945         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11946         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11947         !__ASSUME_SOCK_CLOEXEC.
11948         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11949         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11950         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11951         definition.
11952         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11953         code for !__ASSUME_SOCK_CLOEXEC.
11955 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11957         [BZ #18982]
11958         * manual/stdio.texi (Variable Arguments Output): Add portability
11959         note, explaining that vfprintf clobbers the va_list pointer.
11961 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11963         * math/libm-test.inc (fabs_test_data): Add more tests.
11964         (fdim_test_data): Likewise.
11965         (fma_test_data): Likewise.
11966         (fmax_test_data): Likewise.
11967         (fmin_test_data): Likewise.
11968         (fmod_test_data): Likewise.
11970 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11972         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11973         data.
11975 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11977         * math/libm-test.inc (ceil_test_data): Add more tests and more
11978         expectations for "inexact".
11979         (floor_test_data): Add more tests.
11980         (round_test_data): Likewise.
11981         (trunc_test_data): Likewise.
11983         * crypt/cert.c (good_bye): Convert to prototype-style function
11984         definition.
11985         (get8): Likewise.
11986         (put8): Likewise.
11987         * crypt/crypt-entry.c (crypt): Likewise.
11988         (__fcrypt): Likewise.
11989         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11990         (_ufc_set_bits): Likewise.
11991         (_ufc_clearmem): Likewise.
11992         (__init_des_r): Likewise.
11993         (shuffle_sb): Likewise.
11994         (shuffle_sb): Likewise.
11995         (_ufc_setup_salt_r): Likewise.
11996         (_ufc_mk_keytab_r): Likewise.
11997         (_ufc_dofinalperm_r): Likewise.
11998         (encrypt): Likewise.
11999         (__setkey_r): Likewise.
12000         (setkey): Likewise.
12001         * crypt/md5.c (md5_init_ctx): Likewise.
12002         (md5_read_ctx): Likewise.
12003         (md5_finish_ctx): Likewise.
12004         (md5_stream): Likewise.
12005         (md5_buffer): Likewise.
12006         (md5_process_bytes): Likewise.
12007         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12008         (__sha256_finish_ctx): Likewise.
12009         (__sha256_process_bytes): Likewise.
12010         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12011         (__sha512_finish_ctx): Likewise.
12012         (__sha512_process_bytes): Likewise.
12013         * ctype/isctype.c (__isctype): Likewise.
12014         * debug/backtrace.c (__backtrace): Likewise.
12015         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12016         * debug/fgets_chk.c (__fgets_chk): Likewise.
12017         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12018         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12019         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12020         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12021         * debug/memset_chk.c (__memset_chk): Likewise.
12022         * debug/strcat_chk.c (__strcat_chk): Likewise.
12023         * debug/strncat_chk.c (__strncat_chk): Likewise.
12024         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12025         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12026         * dirent/dirfd.c (dirfd): Likewise.
12027         * dirent/getdents.c (__getdirentries): Likewise.
12028         * dirent/getdents64.c (getdirentries64): Likewise.
12029         * dirent/rewinddir.c (__rewinddir): Likewise.
12030         * dirent/seekdir.c (seekdir): Likewise.
12031         * dirent/telldir.c (telldir): Likewise.
12032         * elf/sln.c (makesymlinks): Likewise.
12033         (makesymlink): Likewise.
12034         * gmon/gmon.c (__moncontrol): Likewise.
12035         (__monstartup): Likewise.
12036         (write_hist): Likewise.
12037         (write_call_graph): Likewise.
12038         (write_bb_counts): Likewise.
12039         * grp/setgroups.c (setgroups): Likewise.
12040         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12041         * inet/inet_net.c (inet_network): Likewise.
12042         * inet/inet_netof.c (inet_netof): Likewise.
12043         * inet/rcmd.c (rresvport_af): Likewise.
12044         (rresvport): Likewise.
12045         * io/access.c (__access): Likewise.
12046         * io/chdir.c (__chdir): Likewise.
12047         * io/chmod.c (__chmod): Likewise.
12048         * io/chown.c (__chown): Likewise.
12049         * io/close.c (__close): Likewise.
12050         * io/creat.c (creat): Likewise.
12051         * io/creat64.c (creat64): Likewise.
12052         * io/dup.c (__dup): Likewise.
12053         * io/dup2.c (__dup2): Likewise.
12054         * io/dup3.c (__dup3): Likewise.
12055         * io/euidaccess.c (__euidaccess): Likewise.
12056         * io/faccessat.c (faccessat): Likewise.
12057         * io/fchmod.c (__fchmod): Likewise.
12058         * io/fchmodat.c (fchmodat): Likewise.
12059         * io/fchown.c (__fchown): Likewise.
12060         * io/fchownat.c (fchownat): Likewise.
12061         * io/fcntl.c (__fcntl): Likewise.
12062         * io/flock.c (__flock): Likewise.
12063         * io/fts.c (fts_load): Likewise.
12064         (fts_close): Likewise.
12065         (fts_read): Likewise.
12066         (fts_set): Likewise.
12067         (fts_children): Likewise.
12068         (fts_build): Likewise.
12069         (fts_stat): Likewise.
12070         (fts_sort): Likewise.
12071         (fts_alloc): Likewise.
12072         (fts_lfree): Likewise.
12073         (fts_palloc): Likewise.
12074         (fts_padjust): Likewise.
12075         (fts_maxarglen): Likewise.
12076         (fts_safe_changedir): Likewise.
12077         * io/getwd.c (getwd): Likewise.
12078         * io/isatty.c (__isatty): Likewise.
12079         * io/lchown.c (__lchown): Likewise.
12080         * io/link.c (__link): Likewise.
12081         * io/linkat.c (linkat): Likewise.
12082         * io/lseek.c (__libc_lseek): Likewise.
12083         * io/mkdir.c (__mkdir): Likewise.
12084         * io/mkdirat.c (mkdirat): Likewise.
12085         * io/mkfifo.c (mkfifo): Likewise.
12086         * io/mkfifoat.c (mkfifoat): Likewise.
12087         * io/open.c (__libc_open): Likewise.
12088         * io/open64.c (__libc_open64): Likewise.
12089         * io/readlink.c (__readlink): Likewise.
12090         * io/readlinkat.c (readlinkat): Likewise.
12091         * io/rmdir.c (__rmdir): Likewise.
12092         * io/symlink.c (__symlink): Likewise.
12093         * io/symlinkat.c (symlinkat): Likewise.
12094         * io/ttyname.c (ttyname): Likewise.
12095         * io/ttyname_r.c (__ttyname_r): Likewise.
12096         * io/umask.c (__umask): Likewise.
12097         * io/unlink.c (__unlink): Likewise.
12098         * io/unlinkat.c (unlinkat): Likewise.
12099         * io/utime.c (utime): Likewise.
12100         * libio/clearerr.c (clearerr): Likewise.
12101         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12102         * libio/feof.c (_IO_feof): Likewise.
12103         * libio/feof_u.c (feof_unlocked): Likewise.
12104         * libio/ferror.c (_IO_ferror): Likewise.
12105         * libio/ferror_u.c (ferror_unlocked): Likewise.
12106         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12107         * libio/fileno.c (__fileno): Likewise.
12108         * libio/fputc.c (fputc): Likewise.
12109         * libio/fputc_u.c (fputc_unlocked): Likewise.
12110         * libio/fputwc.c (fputwc): Likewise.
12111         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12112         * libio/freopen.c (freopen): Likewise.
12113         * libio/freopen64.c (freopen64): Likewise.
12114         * libio/fseek.c (fseek): Likewise.
12115         * libio/fseeko.c (fseeko): Likewise.
12116         * libio/fseeko64.c (fseeko64): Likewise.
12117         * libio/ftello.c (__ftello): Likewise.
12118         * libio/ftello64.c (ftello64): Likewise.
12119         * libio/fwide.c (fwide): Likewise.
12120         * libio/genops.c (_IO_un_link): Likewise.
12121         (_IO_link_in): Likewise.
12122         (_IO_least_marker): Likewise.
12123         (_IO_switch_to_main_get_area): Likewise.
12124         (_IO_switch_to_backup_area): Likewise.
12125         (_IO_switch_to_get_mode): Likewise.
12126         (_IO_free_backup_area): Likewise.
12127         (_IO_switch_to_put_mode): Likewise.
12128         (__overflow): Likewise.
12129         (__underflow): Likewise.
12130         (__uflow): Likewise.
12131         (_IO_setb): Likewise.
12132         (_IO_doallocbuf): Likewise.
12133         (_IO_default_underflow): Likewise.
12134         (_IO_default_uflow): Likewise.
12135         (_IO_default_xsputn): Likewise.
12136         (_IO_sgetn): Likewise.
12137         (_IO_default_xsgetn): Likewise.
12138         (_IO_sync): Likewise.
12139         (_IO_default_setbuf): Likewise.
12140         (_IO_default_seekpos): Likewise.
12141         (_IO_default_doallocate): Likewise.
12142         (_IO_init): Likewise.
12143         (_IO_old_init): Likewise.
12144         (_IO_default_sync): Likewise.
12145         (_IO_default_finish): Likewise.
12146         (_IO_default_seekoff): Likewise.
12147         (_IO_sputbackc): Likewise.
12148         (_IO_sungetc): Likewise.
12149         (_IO_set_column): Likewise.
12150         (_IO_set_column): Likewise.
12151         (_IO_adjust_column): Likewise.
12152         (_IO_get_column): Likewise.
12153         (_IO_init_marker): Likewise.
12154         (_IO_remove_marker): Likewise.
12155         (_IO_marker_difference): Likewise.
12156         (_IO_marker_delta): Likewise.
12157         (_IO_seekmark): Likewise.
12158         (_IO_unsave_markers): Likewise.
12159         (_IO_nobackup_pbackfail): Likewise.
12160         (_IO_default_pbackfail): Likewise.
12161         (_IO_default_seek): Likewise.
12162         (_IO_default_stat): Likewise.
12163         (_IO_default_read): Likewise.
12164         (_IO_default_write): Likewise.
12165         (_IO_default_showmanyc): Likewise.
12166         (_IO_default_imbue): Likewise.
12167         (_IO_iter_next): Likewise.
12168         (_IO_iter_file): Likewise.
12169         * libio/getc.c (_IO_getc): Likewise.
12170         * libio/getwc.c (_IO_getwc): Likewise.
12171         * libio/iofclose.c (_IO_new_fclose): Likewise.
12172         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12173         * libio/iofflush.c (_IO_fflush): Likewise.
12174         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12175         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12176         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12177         * libio/iofgets.c (_IO_fgets): Likewise.
12178         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12179         * libio/iofgetws.c (fgetws): Likewise.
12180         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12181         * libio/iofopen64.c (_IO_fopen64): Likewise.
12182         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12183         (_IO_cookie_write): Likewise.
12184         (_IO_cookie_seek): Likewise.
12185         (_IO_cookie_close): Likewise.
12186         (_IO_cookie_seekoff): Likewise.
12187         (_IO_old_cookie_seek): Likewise.
12188         * libio/iofputs.c (_IO_fputs): Likewise.
12189         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12190         * libio/iofputws.c (fputws): Likewise.
12191         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12192         * libio/iofread.c (_IO_fread): Likewise.
12193         * libio/iofread_u.c (__fread_unlocked): Likewise.
12194         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12195         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12196         * libio/ioftell.c (_IO_ftell): Likewise.
12197         * libio/iofwrite.c (_IO_fwrite): Likewise.
12198         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12199         * libio/iogets.c (_IO_gets): Likewise.
12200         * libio/iopadn.c (_IO_padn): Likewise.
12201         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12202         (_IO_new_popen): Likewise.
12203         (_IO_new_proc_close): Likewise.
12204         * libio/ioputs.c (_IO_puts): Likewise.
12205         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12206         (_IO_seekoff): Likewise.
12207         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12208         (_IO_seekpos): Likewise.
12209         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12210         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12211         * libio/ioungetc.c (_IO_ungetc): Likewise.
12212         * libio/ioungetwc.c (ungetwc): Likewise.
12213         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12214         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12215         * libio/iowpadn.c (_IO_wpadn): Likewise.
12216         * libio/libc_fatal.c (__libc_fatal): Likewise.
12217         * libio/memstream.c (__open_memstream): Likewise.
12218         (_IO_mem_sync): Likewise.
12219         (_IO_mem_finish): Likewise.
12220         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12221         (_IO_old_file_close_it): Likewise.
12222         (_IO_old_file_finish): Likewise.
12223         (_IO_old_file_fopen): Likewise.
12224         (_IO_old_file_attach): Likewise.
12225         (_IO_old_file_setbuf): Likewise.
12226         (_IO_old_do_write): Likewise.
12227         (old_do_write): Likewise.
12228         (_IO_old_file_underflow): Likewise.
12229         (_IO_old_file_overflow): Likewise.
12230         (_IO_old_file_sync): Likewise.
12231         (_IO_old_file_seekoff): Likewise.
12232         (_IO_old_file_write): Likewise.
12233         (_IO_old_file_xsputn): Likewise.
12234         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12235         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12236         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12237         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12238         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12239         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12240         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12241         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12242         (_IO_old_popen): Likewise.
12243         (_IO_old_proc_close): Likewise.
12244         * libio/oldpclose.c (__old_pclose): Likewise.
12245         * libio/pclose.c (__new_pclose): Likewise.
12246         * libio/peekc.c (_IO_peekc_locked): Likewise.
12247         * libio/putc.c (_IO_putc): Likewise.
12248         * libio/putc_u.c (putc_unlocked): Likewise.
12249         * libio/putchar.c (putchar): Likewise.
12250         * libio/putchar_u.c (putchar_unlocked): Likewise.
12251         * libio/putwc.c (putwc): Likewise.
12252         * libio/putwc_u.c (putwc_unlocked): Likewise.
12253         * libio/putwchar.c (putwchar): Likewise.
12254         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12255         * libio/rewind.c (rewind): Likewise.
12256         * libio/setbuf.c (setbuf): Likewise.
12257         * libio/setlinebuf.c (setlinebuf): Likewise.
12258         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12259         * libio/vscanf.c (_IO_vscanf): Likewise.
12260         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12261         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12262         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12263         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12264         (_IO_switch_to_main_wget_area): Likewise.
12265         (_IO_switch_to_wbackup_area): Likewise.
12266         (_IO_wsetb): Likewise.
12267         (_IO_wdefault_pbackfail): Likewise.
12268         (_IO_wdefault_finish): Likewise.
12269         (_IO_wdefault_uflow): Likewise.
12270         (__woverflow): Likewise.
12271         (__wuflow): Likewise.
12272         (__wunderflow): Likewise.
12273         (_IO_wdefault_xsputn): Likewise.
12274         (_IO_wdefault_xsgetn): Likewise.
12275         (_IO_wdoallocbuf): Likewise.
12276         (_IO_wdefault_doallocate): Likewise.
12277         (_IO_switch_to_wget_mode): Likewise.
12278         (_IO_free_wbackup_area): Likewise.
12279         (_IO_switch_to_wput_mode): Likewise.
12280         (_IO_sputbackwc): Likewise.
12281         (_IO_sungetwc): Likewise.
12282         (_IO_adjust_wcolumn): Likewise.
12283         (_IO_init_wmarker): Likewise.
12284         (_IO_wmarker_delta): Likewise.
12285         (_IO_seekwmark): Likewise.
12286         (_IO_unsave_wmarkers): Likewise.
12287         * libio/wmemstream.c (open_wmemstream): Likewise.
12288         (_IO_wmem_sync): Likewise.
12289         (_IO_wmem_finish): Likewise.
12290         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12291         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12292         * locale/programs/simple-hash.c (init_hash): Likewise.
12293         (delete_hash): Likewise.
12294         (insert_entry): Likewise.
12295         (set_entry): Likewise.
12296         (next_prime): Likewise.
12297         (is_prime): Likewise.
12298         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12299         (xmalloc): Likewise.
12300         (xrealloc): Likewise.
12301         * locale/programs/xstrdup.c (xstrdup): Likewise.
12302         * localedata/collate-test.c (xstrcoll): Likewise.
12303         * localedata/xfrm-test.c (xstrcmp): Likewise.
12304         * login/getlogin_r.c (__getlogin_r): Likewise.
12305         * login/getpt.c (__posix_openpt): Likewise.
12306         * login/login_tty.c (login_tty): Likewise.
12307         * login/setlogin.c (setlogin): Likewise.
12308         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12309         (mach_msg_destroy_port): Likewise.
12310         (mach_msg_destroy_memory): Likewise.
12311         * malloc/mcheck.c (flood): Likewise.
12312         * misc/acct.c (acct): Likewise.
12313         * misc/brk.c (__brk): Likewise.
12314         * misc/chflags.c (chflags): Likewise.
12315         * misc/chroot.c (chroot): Likewise.
12316         * misc/fchflags.c (fchflags): Likewise.
12317         * misc/fstab.c (getfsspec): Likewise.
12318         (getfsfile): Likewise.
12319         * misc/fsync.c (fsync): Likewise.
12320         * misc/ftruncate.c (__ftruncate): Likewise.
12321         * misc/ftruncate64.c (__ftruncate64): Likewise.
12322         * misc/getdomain.c (getdomainname): Likewise.
12323         (getdomainname): Likewise.
12324         * misc/gethostname.c (__gethostname): Likewise.
12325         * misc/getpass.c (getpass): Likewise.
12326         * misc/getttyent.c (skip): Likewise.
12327         (value): Likewise.
12328         * misc/gtty.c (gtty): Likewise.
12329         * misc/hsearch.c (hsearch): Likewise.
12330         (hcreate): Likewise.
12331         * misc/hsearch_r.c (__hcreate_r): Likewise.
12332         (__hdestroy_r): Likewise.
12333         * misc/ioctl.c (__ioctl): Likewise.
12334         * misc/mkdtemp.c (mkdtemp): Likewise.
12335         * misc/mkostemp.c (mkostemp): Likewise.
12336         * misc/mkostemp64.c (mkostemp64): Likewise.
12337         * misc/mkostemps.c (mkostemps): Likewise.
12338         * misc/mkostemps64.c (mkostemps64): Likewise.
12339         * misc/mkstemp.c (mkstemp): Likewise.
12340         * misc/mkstemp64.c (mkstemp64): Likewise.
12341         * misc/mkstemps.c (mkstemps): Likewise.
12342         * misc/mkstemps64.c (mkstemps64): Likewise.
12343         * misc/mktemp.c (__mktemp): Likewise.
12344         * misc/preadv.c (preadv): Likewise.
12345         * misc/preadv64.c (preadv64): Likewise.
12346         * misc/pwritev.c (pwritev): Likewise.
12347         * misc/pwritev64.c (pwritev64): Likewise.
12348         * misc/readv.c (__readv): Likewise.
12349         * misc/revoke.c (revoke): Likewise.
12350         * misc/setdomain.c (setdomainname): Likewise.
12351         * misc/setegid.c (setegid): Likewise.
12352         * misc/seteuid.c (seteuid): Likewise.
12353         * misc/sethostid.c (sethostid): Likewise.
12354         * misc/sethostname.c (sethostname): Likewise.
12355         * misc/setregid.c (__setregid): Likewise.
12356         * misc/setreuid.c (__setreuid): Likewise.
12357         * misc/sstk.c (sstk): Likewise.
12358         * misc/stty.c (stty): Likewise.
12359         * misc/syscall.c (syscall): Likewise.
12360         * misc/syslog.c (setlogmask): Likewise.
12361         * misc/truncate.c (__truncate): Likewise.
12362         * misc/truncate64.c (truncate64): Likewise.
12363         * misc/ualarm.c (ualarm): Likewise.
12364         * misc/usleep.c (usleep): Likewise.
12365         * misc/ustat.c (ustat): Likewise.
12366         * misc/writev.c (__writev): Likewise.
12367         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12368         * nptl/old_pthread_cond_broadcast.c
12369         (__pthread_cond_broadcast_2_0): Likewise.
12370         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12371         Likewise.
12372         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12373         Likewise.
12374         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12375         Likewise.
12376         * nptl/pt-raise.c (raise): Likewise.
12377         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12378         Likewise.
12379         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12380         * nptl/pthread_barrierattr_destroy.c
12381         (pthread_barrierattr_destroy): Likewise.
12382         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12383         Likewise.
12384         * nptl/pthread_barrierattr_setpshared.c
12385         (pthread_barrierattr_setpshared): Likewise.
12386         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12387         Likewise.
12388         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12389         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12390         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12391         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12392         Likewise.
12393         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12394         Likewise.
12395         * nptl/pthread_condattr_getpshared.c
12396         (pthread_condattr_getpshared): Likewise.
12397         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12398         Likewise.
12399         * nptl/pthread_condattr_setpshared.c
12400         (pthread_condattr_setpshared): Likewise.
12401         * nptl/pthread_detach.c (pthread_detach): Likewise.
12402         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12403         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12404         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12405         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12406         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12407         Likewise.
12408         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12409         Likewise.
12410         * nptl/pthread_mutex_getprioceiling.c
12411         (pthread_mutex_getprioceiling): Likewise.
12412         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12413         Likewise.
12414         * nptl/pthread_mutexattr_getprotocol.c
12415         (pthread_mutexattr_getprotocol): Likewise.
12416         * nptl/pthread_mutexattr_getpshared.c
12417         (pthread_mutexattr_getpshared): Likewise.
12418         * nptl/pthread_mutexattr_getrobust.c
12419         (pthread_mutexattr_getrobust): Likewise.
12420         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12421         Likewise.
12422         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12423         Likewise.
12424         * nptl/pthread_mutexattr_setprioceiling.c
12425         (pthread_mutexattr_setprioceiling): Likewise.
12426         * nptl/pthread_mutexattr_setprotocol.c
12427         (pthread_mutexattr_setprotocol): Likewise.
12428         * nptl/pthread_mutexattr_setpshared.c
12429         (pthread_mutexattr_setpshared): Likewise.
12430         * nptl/pthread_mutexattr_setrobust.c
12431         (pthread_mutexattr_setrobust): Likewise.
12432         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12433         Likewise.
12434         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12435         Likewise.
12436         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12437         Likewise.
12438         * nptl/pthread_rwlockattr_getkind_np.c
12439         (pthread_rwlockattr_getkind_np): Likewise.
12440         * nptl/pthread_rwlockattr_getpshared.c
12441         (pthread_rwlockattr_getpshared): Likewise.
12442         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12443         Likewise.
12444         * nptl/pthread_rwlockattr_setkind_np.c
12445         (pthread_rwlockattr_setkind_np): Likewise.
12446         * nptl/pthread_rwlockattr_setpshared.c
12447         (pthread_rwlockattr_setpshared): Likewise.
12448         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12449         Likewise.
12450         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12451         Likewise.
12452         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12453         Likewise.
12454         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12455         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12456         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12457         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12458         * nptl/sem_close.c (sem_close): Likewise.
12459         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12460         * nptl/sem_init.c (__old_sem_init): Likewise.
12461         * nptl/sigaction.c (__sigaction): Likewise.
12462         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12463         * posix/_exit.c (_exit): Likewise.
12464         * posix/alarm.c (alarm): Likewise.
12465         * posix/confstr.c (confstr): Likewise.
12466         * posix/fpathconf.c (__fpathconf): Likewise.
12467         * posix/getgroups.c (__getgroups): Likewise.
12468         * posix/getpgid.c (__getpgid): Likewise.
12469         * posix/group_member.c (__group_member): Likewise.
12470         * posix/pathconf.c (__pathconf): Likewise.
12471         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12472         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12473         * posix/setgid.c (__setgid): Likewise.
12474         * posix/setpgid.c (__setpgid): Likewise.
12475         * posix/setuid.c (__setuid): Likewise.
12476         * posix/sleep.c (__sleep): Likewise.
12477         * posix/sysconf.c (__sysconf): Likewise.
12478         * posix/times.c (__times): Likewise.
12479         * posix/uname.c (__uname): Likewise.
12480         * posix/waitid.c (__waitid): Likewise.
12481         * pwd/getpw.c (__getpw): Likewise.
12482         * resolv/base64.c (b64_pton): Likewise.
12483         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12484         * resolv/gethnamaddr.c (Dprintf): Likewise.
12485         (gethostbyname): Likewise.
12486         (gethostbyname2): Likewise.
12487         (gethostbyaddr): Likewise.
12488         (_sethtent): Likewise.
12489         (_gethtbyname): Likewise.
12490         (_gethtbyname2): Likewise.
12491         (_gethtbyaddr): Likewise.
12492         (map_v4v6_address): Likewise.
12493         (map_v4v6_hostent): Likewise.
12494         (addrsort): Likewise.
12495         (ht_sethostent): Likewise.
12496         (ht_gethostbyname): Likewise.
12497         (ht_gethostbyaddr): Likewise.
12498         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12499         (inet_net_ntop_ipv4): Likewise.
12500         * resolv/inet_neta.c (inet_neta): Likewise.
12501         * resolv/inet_ntop.c (inet_ntop): Likewise.
12502         (inet_ntop4): Likewise.
12503         (inet_ntop6): Likewise.
12504         * resolv/inet_pton.c (__inet_pton): Likewise.
12505         (inet_pton4): Likewise.
12506         (inet_pton6): Likewise.
12507         * resolv/res_debug.c (loc_aton): Likewise.
12508         (loc_ntoa): Likewise.
12509         * resource/getpriority.c (__getpriority): Likewise.
12510         * resource/getrusage.c (__getrusage): Likewise.
12511         * resource/nice.c (nice): Likewise.
12512         * resource/setpriority.c (__setpriority): Likewise.
12513         * resource/setrlimit64.c (setrlimit64): Likewise.
12514         * resource/vlimit.c (vlimit): Likewise.
12515         * resource/vtimes.c (vtimes): Likewise.
12516         * rt/aio_error.c (aio_error): Likewise.
12517         * rt/aio_return.c (aio_return): Likewise.
12518         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12519         * signal/kill.c (__kill): Likewise.
12520         * signal/killpg.c (killpg): Likewise.
12521         * signal/raise.c (raise): Likewise.
12522         * signal/sigaction.c (__sigaction): Likewise.
12523         * signal/sigaddset.c (sigaddset): Likewise.
12524         * signal/sigaltstack.c (sigaltstack): Likewise.
12525         * signal/sigandset.c (sigandset): Likewise.
12526         * signal/sigblock.c (__sigblock): Likewise.
12527         * signal/sigdelset.c (sigdelset): Likewise.
12528         * signal/sigempty.c (sigemptyset): Likewise.
12529         * signal/sigfillset.c (sigfillset): Likewise.
12530         * signal/sighold.c (sighold): Likewise.
12531         * signal/sigignore.c (sigignore): Likewise.
12532         * signal/sigintr.c (siginterrupt): Likewise.
12533         * signal/sigisempty.c (sigisemptyset): Likewise.
12534         * signal/sigismem.c (sigismember): Likewise.
12535         * signal/signal.c (signal): Likewise.
12536         * signal/sigorset.c (sigorset): Likewise.
12537         * signal/sigpause.c (__sigpause): Likewise.
12538         * signal/sigpending.c (sigpending): Likewise.
12539         * signal/sigprocmask.c (__sigprocmask): Likewise.
12540         * signal/sigrelse.c (sigrelse): Likewise.
12541         * signal/sigreturn.c (__sigreturn): Likewise.
12542         * signal/sigset.c (sigset): Likewise.
12543         * signal/sigsetmask.c (__sigsetmask): Likewise.
12544         * signal/sigstack.c (sigstack): Likewise.
12545         * signal/sigsuspend.c (__sigsuspend): Likewise.
12546         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12547         * signal/sysv_signal.c (__sysv_signal): Likewise.
12548         * socket/accept.c (accept): Likewise.
12549         * socket/accept4.c (__libc_accept4): Likewise.
12550         * socket/bind.c (__bind): Likewise.
12551         * socket/connect.c (__connect): Likewise.
12552         * socket/getpeername.c (getpeername): Likewise.
12553         * socket/getsockname.c (__getsockname): Likewise.
12554         * socket/getsockopt.c (getsockopt): Likewise.
12555         * socket/listen.c (__listen): Likewise.
12556         * socket/recv.c (__recv): Likewise.
12557         * socket/recvmsg.c (__recvmsg): Likewise.
12558         * socket/send.c (__send): Likewise.
12559         * socket/sendmsg.c (__sendmsg): Likewise.
12560         * socket/shutdown.c (shutdown): Likewise.
12561         * socket/sockatmark.c (sockatmark): Likewise.
12562         * socket/socket.c (__socket): Likewise.
12563         * stdio-common/ctermid.c (ctermid): Likewise.
12564         * stdio-common/cuserid.c (cuserid): Likewise.
12565         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12566         * stdio-common/remove.c (remove): Likewise.
12567         * stdio-common/rename.c (rename): Likewise.
12568         * stdio-common/renameat.c (renameat): Likewise.
12569         * stdio-common/tempname.c (__gen_tempname): Likewise.
12570         * stdio-common/xbug.c (InitBuffer): Likewise.
12571         (AppendToBuffer): Likewise.
12572         (ReadFile): Likewise.
12573         * stdlib/a64l.c (a64l): Likewise.
12574         * stdlib/drand48_r.c (drand48_r): Likewise.
12575         * stdlib/getcontext.c (getcontext): Likewise.
12576         * stdlib/getenv.c (getenv): Likewise.
12577         * stdlib/l64a.c (l64a): Likewise.
12578         * stdlib/llabs.c (llabs): Likewise.
12579         * stdlib/lldiv.c (lldiv): Likewise.
12580         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12581         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12582         * stdlib/putenv.c (putenv): Likewise.
12583         * stdlib/random.c (__srandom): Likewise.
12584         (__initstate): Likewise.
12585         (__setstate): Likewise.
12586         * stdlib/random_r.c (__srandom_r): Likewise.
12587         (__setstate_r): Likewise.
12588         (__random_r): Likewise.
12589         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12590         * stdlib/setcontext.c (setcontext): Likewise.
12591         * stdlib/setenv.c (setenv): Likewise.
12592         (unsetenv): Likewise.
12593         * stdlib/srand48.c (srand48): Likewise.
12594         * stdlib/srand48_r.c (__srand48_r): Likewise.
12595         * stdlib/swapcontext.c (swapcontext): Likewise.
12596         * stdlib/system.c (__libc_system): Likewise.
12597         * stdlib/tst-strtod.c (expand): Likewise.
12598         * stdlib/tst-strtol.c (expand): Likewise.
12599         * stdlib/tst-strtoll.c (expand): Likewise.
12600         * streams/fattach.c (fattach): Likewise.
12601         * streams/fdetach.c (fdetach): Likewise.
12602         * streams/getmsg.c (getmsg): Likewise.
12603         * streams/isastream.c (isastream): Likewise.
12604         * string/ffs.c (__ffs): Likewise.
12605         * string/ffsll.c (ffsll): Likewise.
12606         * string/memcmp.c (memcmp_common_alignment): Likewise.
12607         (memcmp_not_common_alignment): Likewise.
12608         (MEMCMP): Likewise.
12609         * string/memcpy.c (memcpy): Likewise.
12610         * string/memmove.c (MEMMOVE): Likewise.
12611         * string/memset.c (memset): Likewise.
12612         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12613         * string/strchrnul.c (STRCHRNUL): Likewise.
12614         * string/strerror.c (strerror): Likewise.
12615         * string/strndup.c (__strndup): Likewise.
12616         * string/strverscmp.c (__strverscmp): Likewise.
12617         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12618         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12619         (clnttcp_freeres): Likewise.
12620         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12621         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12622         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12623         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12624         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12625         (xdr_callhdr): Likewise.
12626         * sunrpc/rpcinfo.c (udpping): Likewise.
12627         (tcpping): Likewise.
12628         (pstatus): Likewise.
12629         (pmapdump): Likewise.
12630         (brdcst): Likewise.
12631         (deletereg): Likewise.
12632         (getprognum): Likewise.
12633         (getvers): Likewise.
12634         (get_inet_address): Likewise.
12635         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12636         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12637         (svcudp_stat): Likewise.
12638         (svcudp_recv): Likewise.
12639         (svcudp_reply): Likewise.
12640         (svcudp_getargs): Likewise.
12641         (svcudp_freeargs): Likewise.
12642         (svcudp_destroy): Likewise.
12643         * sunrpc/xdr.c (xdr_bytes): Likewise.
12644         (xdr_netobj): Likewise.
12645         (xdr_string): Likewise.
12646         (xdr_wrapstring): Likewise.
12647         * sunrpc/xdr_float.c (xdr_float): Likewise.
12648         (xdr_double): Likewise.
12649         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12650         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12651         * sysvipc/ftok.c (ftok): Likewise.
12652         * sysvipc/msgctl.c (msgctl): Likewise.
12653         * sysvipc/msgget.c (msgget): Likewise.
12654         * sysvipc/msgrcv.c (msgrcv): Likewise.
12655         * sysvipc/msgsnd.c (msgsnd): Likewise.
12656         * sysvipc/semget.c (semget): Likewise.
12657         * sysvipc/semop.c (semop): Likewise.
12658         * sysvipc/shmat.c (shmat): Likewise.
12659         * sysvipc/shmctl.c (shmctl): Likewise.
12660         * sysvipc/shmdt.c (shmdt): Likewise.
12661         * sysvipc/shmget.c (shmget): Likewise.
12662         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12663         * termios/speed.c (cfgetospeed): Likewise.
12664         (cfgetispeed): Likewise.
12665         (cfsetospeed): Likewise.
12666         (cfsetispeed): Likewise.
12667         * termios/tcflow.c (tcflow): Likewise.
12668         * termios/tcflush.c (tcflush): Likewise.
12669         * termios/tcgetattr.c (__tcgetattr): Likewise.
12670         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12671         * termios/tcgetsid.c (tcgetsid): Likewise.
12672         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12673         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12674         * time/adjtime.c (__adjtime): Likewise.
12675         * time/dysize.c (dysize): Likewise.
12676         * time/ftime.c (ftime): Likewise.
12677         * time/getitimer.c (__getitimer): Likewise.
12678         * time/gettimeofday.c (__gettimeofday): Likewise.
12679         * time/gmtime.c (__gmtime_r): Likewise.
12680         (gmtime): Likewise.
12681         * time/localtime.c (__localtime_r): Likewise.
12682         (localtime): Likewise.
12683         * time/offtime.c (__offtime): Likewise.
12684         * time/settimeofday.c (__settimeofday): Likewise.
12685         * time/stime.c (stime): Likewise.
12686         * time/strftime_l.c (tm_diff): Likewise.
12687         (iso_week_days): Likewise.
12688         * time/strptime.c (strptime): Likewise.
12689         * time/time.c (time): Likewise.
12690         * time/timespec_get.c (timespec_get): Likewise.
12691         * time/tzset.c (tzset_internal): Likewise.
12692         (compute_change): Likewise.
12693         (__tz_compute): Likewise.
12694         * wcsmbs/btowc.c (__btowc): Likewise.
12695         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12696         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12697         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12698         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12699         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12700         * wcsmbs/wcscat.c (__wcscat): Likewise.
12701         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12702         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12703         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12704         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12705         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12706         * wcsmbs/wcslen.c (__wcslen): Likewise.
12707         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12708         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12709         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12710         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12711         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12712         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12713         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12714         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12715         * wcsmbs/wcstok.c (wcstok): Likewise.
12716         * wcsmbs/wctob.c (wctob): Likewise.
12717         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12718         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12719         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12720         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12721         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12722         * wcsmbs/wmemset.c (__wmemset): Likewise.
12723         * wctype/wcfuncs.c (__towlower): Likewise.
12724         (__towupper): Likewise.
12726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12727         (lll_unlock_elision): Add adapt_count parameter.
12729 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12731         * sysdeps/nptl/configure.ac: Do not give errors based on the
12732         results of top-level configure tests.
12733         * sysdeps/nptl/configure: Regenerated.
12735         * configure.ac (libc_cv_Bgroup): Remove configure test.
12736         * configure: Regenerated.
12737         * config.make.in (have-Bgroup): Remove variable.
12739         * configure.ac (sizeof_long_double): Remove configure test.
12740         * configure: Regenerated.
12741         * config.make.in (sizeof-long-double): Remove variable.
12743         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12744         * configure: Regenerated.
12745         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12746         variable.
12747         (exceptions): Likewise.
12748         * sysdeps/arm/configure: Regenerated.
12749         * config.make.in (exceptions): Remove variable.
12750         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12751         $(exceptions).
12752         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12753         (CFLAGS-vdprintf_chk.c): Likewise.
12754         (CFLAGS-printf_chk.c): Likewise.
12755         (CFLAGS-fprintf_chk.c): Likewise.
12756         (CFLAGS-vprintf_chk.c): Likewise.
12757         (CFLAGS-vfprintf_chk.c): Likewise.
12758         (CFLAGS-gets_chk.c): Likewise.
12759         (CFLAGS-fgets_chk.c): Likewise.
12760         (CFLAGS-fgets_u_chk.c): Likewise.
12761         (CFLAGS-fread_chk.c): Likewise.
12762         (CFLAGS-fread_u_chk.c): Likewise.
12763         (CFLAGS-wprintf_chk.c): Likewise.
12764         (CFLAGS-fwprintf_chk.c): Likewise.
12765         (CFLAGS-vwprintf_chk.c): Likewise.
12766         (CFLAGS-vfwprintf_chk.c): Likewise.
12767         (CFLAGS-fgetws_chk.c): Likewise.
12768         (CFLAGS-fgetws_u_chk.c): Likewise.
12769         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12770         (CFLAGS-fputc.c): Likewise.
12771         (CFLAGS-fputwc.c): Likewise.
12772         (CFLAGS-freopen64.c): Likewise.
12773         (CFLAGS-freopen.c): Likewise.
12774         (CFLAGS-fseek.c): Likewise.
12775         (CFLAGS-fseeko64.c): Likewise.
12776         (CFLAGS-fseeko.c): Likewise.
12777         (CFLAGS-ftello64.c): Likewise.
12778         (CFLAGS-ftello.c): Likewise.
12779         (CFLAGS-fwide.c): Likewise.
12780         (CFLAGS-genops.c): Likewise.
12781         (CFLAGS-getc.c): Likewise.
12782         (CFLAGS-getchar.c): Likewise.
12783         (CFLAGS-getwc.c): Likewise.
12784         (CFLAGS-getwchar.c): Likewise.
12785         (CFLAGS-iofclose.c): Likewise.
12786         (CFLAGS-iofflush.c): Likewise.
12787         (CFLAGS-iofgetpos64.c): Likewise.
12788         (CFLAGS-iofgetpos.c): Likewise.
12789         (CFLAGS-iofgets.c): Likewise.
12790         (CFLAGS-iofgetws.c): Likewise.
12791         (CFLAGS-iofputs.c): Likewise.
12792         (CFLAGS-iofputws.c): Likewise.
12793         (CFLAGS-iofread.c): Likewise.
12794         (CFLAGS-iofsetpos64.c): Likewise.
12795         (CFLAGS-iofsetpos.c): Likewise.
12796         (CFLAGS-ioftell.c): Likewise.
12797         (CFLAGS-iofwrite.c): Likewise.
12798         (CFLAGS-iogetdelim.c): Likewise.
12799         (CFLAGS-iogetline.c): Likewise.
12800         (CFLAGS-iogets.c): Likewise.
12801         (CFLAGS-iogetwline.c): Likewise.
12802         (CFLAGS-ioputs.c): Likewise.
12803         (CFLAGS-ioseekoff.c): Likewise.
12804         (CFLAGS-ioseekpos.c): Likewise.
12805         (CFLAGS-iosetbuffer.c): Likewise.
12806         (CFLAGS-iosetvbuf.c): Likewise.
12807         (CFLAGS-ioungetc.c): Likewise.
12808         (CFLAGS-ioungetwc.c): Likewise.
12809         (CFLAGS-oldfileops.c): Likewise.
12810         (CFLAGS-oldiofclose.c): Likewise.
12811         (CFLAGS-oldiofgetpos64.c): Likewise.
12812         (CFLAGS-oldiofgetpos.c): Likewise.
12813         (CFLAGS-oldiofsetpos64.c): Likewise.
12814         (CFLAGS-oldiofsetpos.c): Likewise.
12815         (CFLAGS-peekc.c): Likewise.
12816         (CFLAGS-putc.c): Likewise.
12817         (CFLAGS-putchar.c): Likewise.
12818         (CFLAGS-putwc.c): Likewise.
12819         (CFLAGS-putwchar.c): Likewise.
12820         (CFLAGS-rewind.c): Likewise.
12821         (CFLAGS-wfileops.c): Likewise.
12822         (CFLAGS-wgenops.c): Likewise.
12823         (CFLAGS-oldiofopen.c): Likewise.
12824         (CFLAGS-iofopen.c): Likewise.
12825         (CFLAGS-iofopen64.c): Likewise.
12826         (CFLAGS-oldtmpfile.c): Likewise.
12827         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12828         (CFLAGS-fprintf.c): Likewise.
12829         (CFLAGS-printf.c): Likewise.
12830         (CFLAGS-vfwprintf.c): Likewise.
12831         (CFLAGS-vfscanf.c): Likewise.
12832         (CFLAGS-vfwscanf.c): Likewise.
12833         (CFLAGS-fscanf.c): Likewise.
12834         (CFLAGS-scanf.c): Likewise.
12835         (CFLAGS-isoc99_vfscanf.c): Likewise.
12836         (CFLAGS-isoc99_vscanf.c): Likewise.
12837         (CFLAGS-isoc99_fscanf.c): Likewise.
12838         (CFLAGS-isoc99_scanf.c): Likewise.
12839         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12840         (CFLAGS-isoc99_fwscanf.c): Likewise.
12841         (CFLAGS-isoc99_vwscanf.c): Likewise.
12842         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12844         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12845         after mkstemp64.
12846         * login/tst-utmp.c (do_prepare): Likewise.
12847         * rt/tst-aio.c (do_prepare): Likewise.
12848         * rt/tst-aio64.c (do_prepare): Likewise.
12850 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12852         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12853         (__lll_lock_elision): Remove adapt_count decrement...
12854         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12855         (__lll_trylock_elision): Likewise.
12856         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12857         (__lll_unlock_elision): ... to here. And utilize
12858         new adapt_count parameter.
12859         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12860         (__lll_unlock_elision): Update to include adapt_count
12861         parameter.
12862         (lll_unlock_elision): Pass pointer to adapt_count
12863         variable.
12865 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12867         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12868         Add elision adapt_count parameter to list of arguments.
12869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12870         (lll_unlock_elision): Update with new parameter list
12871         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12872         (lll_unlock_elision): Likewise.
12873         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12874         (lll_unlock_elision): Likewise.
12876 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12878         [BZ #19122]
12879         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12880         attribute_hidden.
12882         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12883         attribute_hidden.
12884         [IS_IN (rtld)] (__strdup): Likewise.
12885         [IS_IN (rtld)] (__strerror_r): Likewise.
12886         [IS_IN (rtld)] (__strsep_g): Likewise.
12887         [IS_IN (rtld)] (memchr): Likewise.
12888         [IS_IN (rtld)] (memcmp): Likewise.
12889         [IS_IN (rtld)] (memcpy): Likewise.
12890         [IS_IN (rtld)] (memmove): Likewise.
12891         [IS_IN (rtld)] (memset): Likewise.
12892         [IS_IN (rtld)] (rawmemchr): Likewise.
12893         [IS_IN (rtld)] (stpcpy): Likewise.
12894         [IS_IN (rtld)] (strchr): Likewise.
12895         [IS_IN (rtld)] (strcmp): Likewise.
12896         [IS_IN (rtld)] (strlen): Likewise.
12897         [IS_IN (rtld)] (strnlen): Likewise.
12898         [IS_IN (rtld)] (strsep): Likewise.
12900         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12901         attribute_hidden.
12902         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12904         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12905         attribute_hidden.
12906         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12908         * include/setjmp.h (__longjmp): Add attribute_hidden.
12909         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12911         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12912         Add attribute_hidden.
12914         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12915         [IS_IN (rtld)] (__open): Likewise.
12916         [IS_IN (rtld)] (__fcntl): Likewise.
12918         * include/dirent.h (__opendirat): Add attribute_hidden.
12919         (__getdents): Likewise.
12920         (__getdents64): Likewise.
12921         (__alloc_dir): Likewise.
12922         [IS_IN (rtld)] (__closedir): Likewise.
12923         [IS_IN (rtld)] (__fdopendir): Likewise.
12924         [IS_IN (rtld)] (__readdir): Likewise.
12925         [IS_IN (rtld)] (__readdir64): Likewise.
12926         [IS_IN (rtld)] (__rewinddir): Likewise.
12928         * include/dlfcn.h (_dl_catch_error): Moved to ...
12929         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12930         attribute_hidden.
12932         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12933         (_itoa_word): Likewise.
12935         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12936         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12937         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12938         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12939         (_dl_higher_prime_number): Likewise.
12940         (_dl_debug_printf_c): Likewise.
12941         (_dl_signal_cerror): Likewise.
12942         (_dl_receive_error): Likewise.
12943         (_dl_reloc_bad_type): Likewise.
12944         (_dl_resolve_conflicts): Likewise.
12945         (_dl_check_all_versions): Likewise.
12946         (_dl_check_map_versions): Likewise.
12947         (_dl_sort_fini): Likewise.
12948         (_dl_debug_initialize): Likewise.
12949         (_dl_init_paths): Likewise.
12950         (_dl_show_auxv): Likewise.
12951         (_dl_next_ld_env_entry): Likewise.
12952         (_dl_important_hwcaps): Likewise.
12953         (_dl_load_cache_lookup): Likewise.
12954         (_dl_update_slotinfo): Likewise.
12955         (_dl_show_scope): Likewise.
12957         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12958         attribute_hidden.
12959         (_wordcopy_fwd_dest_aligned): Likewise.
12960         (_wordcopy_bwd_aligned): Likewise.
12961         (_wordcopy_bwd_dest_aligned): Likewise.
12963         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12964         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12965         Likewise.
12966         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12967         Likewise.
12968         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12970 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12972         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12973         GCC 5 requirement.
12975 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12977         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12978         test.
12979         * sysdeps/i386/configure: Regenerated.
12980         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12981         code unconditional.
12983         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12984         test.
12985         (libc_cv_asm_popsection_directive): Likewise.
12986         * configure: Regenerated.
12987         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12988         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12989         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12990         (__make_section_unallocated): Make definition unconditional.
12991         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12992         Remove conditional definition.
12993         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12994         (__make_section_unallocated): Likewise.
12996         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12997         * configure: Regenerated.
12998         * config.make.in (static-libgcc): Remove variable.
12999         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13000         $(static-libgcc).
13001         (build-module-helper): Likewise.
13003         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13004         * configure: Regenerated.
13006 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13008         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13009         (struct char_buffer): New type.
13010         (char_buffer_start, char_buffer_size, char_buffer_error)
13011         (char_buffer_rewind, char_buffer_add): New functions.
13012         (ADDW): Remove macro, replaced by the char_buffer_add function.
13013         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13014         of extend_alloca.  Make control flow more explicit.
13016 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13018         [BZ #19137]
13019         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13020         Add -fomit-frame-pointer.
13021         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13023 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13025         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13026         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13028         only if !__GNUC_PREREQ (5,0).
13029         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13030         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13031         (INTERNAL_SYSCALL_NCS): Likewise.
13032         (LOADREGS_0): New macro for GCC 5.
13033         (ASMARGS_0): Likewise.
13034         (LOADREGS_1): Likewise.
13035         (ASMARGS_1): Likewise.
13036         (LOADREGS_2): Likewise.
13037         (ASMARGS_2): Likewise.
13038         (LOADREGS_3): Likewise.
13039         (ASMARGS_3): Likewise.
13040         (LOADREGS_4): Likewise.
13041         (ASMARGS_4): Likewise.
13042         (LOADREGS_5): Likewise.
13043         (ASMARGS_5): Likewise.
13044         (LOADREGS_6): Likewise.
13045         (ASMARGS_6): Likewise.
13047 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13049         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13050         -fomit-frame-pointer.
13051         (CFLAGS-mmap64.c): Likewise.
13052         (CFLAGS-semtimedop.c): Likewise.
13053         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13054         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13055         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13056         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13058 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13060         [BZ #18928]
13061         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13062         _dl_pointer_guard member.
13063         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13064         initializer.
13065         (security_init): Always set up pointer guard.
13066         (process_envvars): Do not process LD_POINTER_GUARD.
13068 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13070         [BZ #19134]
13071         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13072         (.LC2): Likewise.
13073         (.LC3): Likewise.
13074         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13076 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13078         [BZ #19129]
13079         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13080         r0 and r1.
13082 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13084         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13086 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13088         * include/stap-probe.h: Fix macro definition formatting.
13090 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13092         [BZ #19074]
13093         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13094         load and store num_ifs.
13096 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13098         [BZ #18822]
13099         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13100         (__sched_getaffinity_new): Add libc_hidden_proto and
13101         libc_hidden_def.
13103 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13105         [BZ #19007]
13106         * scripts/localplt.awk: Also allow GOT references.
13107         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13108         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13109         with "+ REL R_386_GLOB_DAT".
13110         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13111         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13113 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13115         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13116         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13117         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13118         Likewise.
13119         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13120         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13121         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13122         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13123         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13124         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13125         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13126         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13127         Likewise.
13128         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13130 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13132         [BZ #19125]
13133         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13134         <math_private.h> and <stdint.h>.
13135         (__llround): Avoid conversions to and from long long int, and
13136         subtractions, where those might raise spurious exceptions.
13137         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13138         <math_private.h> and <stdint.h>.
13139         (__llroundf): Avoid conversions to and from long long int, and
13140         subtractions, where those might raise spurious exceptions.
13142 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13144         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13145         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13146         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13147         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13148         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13149         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13150         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13151         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13152         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13153         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13154         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13155         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13156         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13157         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13158         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13159         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13160         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13161         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13162         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13163         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13164         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13165         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13166         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13167         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13168         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13169         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13170         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13171         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13172         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13173         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13174         (__xstat64_conv): Likewise.
13175         (__xstat32_conv): Likewise.
13177 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13179         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13180         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13181         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13182         <sysdeps/unix/sysv/linux/sysdep.h>.
13183         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13184         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13185         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13186         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13187         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13188         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13189         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13190         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13191         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13196         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13197         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13199         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13200         (sysdep-dl-routines): Add sysdep.
13201         [$(subdir) == nptl] (libpthread-routines): Likewise.
13202         [$(subdir) == rt] (librt-routines): Likewise.
13203         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13204         PIC when branching to SYSCALL_ERROR_LABEL.
13205         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13206         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13207         <sysdeps/unix/sysv/linux/sysdep.h>.
13208         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13209         (SYSCALL_ERROR_ERRNO): Removed.
13210         (SYSCALL_ERROR_HANDLER): Changed to empty.
13211         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13212         (__syscall_error): New prototype.
13213         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13214         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13216 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13218         [BZ #19124]
13219         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13220         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13221         _dl_runtime_resolve_avx.
13222         (_dl_runtime_profile_avx512): Make it a hidden alias of
13223         _dl_runtime_profile_avx.
13225 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13227         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13228         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13229         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13230         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13232         [BZ #16422]
13233         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13234         New configure test.
13235         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13236         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13237         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13238         <math_private.h> and <stdint.h>.
13239         (__llrint): Avoid conversions to long long int where those might
13240         raise spurious exceptions.
13241         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13242         <math_private.h> and <stdint.h>.
13243         (__llrintf): Avoid conversions to long long int where those might
13244         raise spurious exceptions.
13246 2015-10-12  Andreas Schwab  <schwab@suse.de>
13248         [BZ #18969]
13249         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13250         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13251         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13252         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13253         $(gen-locales).
13254         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13255         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13256         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13257         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13258         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13259         $(gen-locales).
13260         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13261         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13262         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13263         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13264         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13265         ($(objpfx)tst-ftell-active-handler.out)
13266         ($(objpfx)tst-ftell-append.out)
13267         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13268         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13269         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13270         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13271         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13272         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13273         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13274         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13275         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13276         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13277         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13278         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13279         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13280         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13281         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13282         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13283         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13284         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13285         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13286         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13287         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13288         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13289         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13290         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13291         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13292         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13293         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13294         $(gen-locales).
13295         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13296         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13297         $(gen-locales).
13298         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13299         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13300         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13301         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13302         $(gen-locales).
13303         * libio/tst_wprintf2.c (main): Use explicit locale.
13304         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13306 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13308         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13309         __msg_sig_post.
13310         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13312 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13314         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13315         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13317         * sysdeps/arm/libm-test-ulps: Regenerated.
13319         [BZ #15470]
13320         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13322         [BZ #16399]
13323         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13324         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13325         and <fix-fp-int-convert-overflow.h>.
13326         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13327         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13328         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13329         and <fix-fp-int-convert-overflow.h>.
13330         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13331         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13332         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13333         <fix-fp-int-convert-overflow.h>.
13334         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13335         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13336         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13337         <fix-fp-int-convert-overflow.h>.
13338         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13339         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13340         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13341         and <fix-fp-int-convert-overflow.h>.
13342         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13343         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13344         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13345         <limits.h> and <fix-fp-int-convert-overflow.h>.
13346         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13347         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13348         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13349         and <fix-fp-int-convert-overflow.h>.
13350         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13351         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13352         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13353         and <fix-fp-int-convert-overflow.h>.
13354         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13355         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13356         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13358 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13360         [BZ #18589]
13361         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13362         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13363         $(gen-locales).
13365 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13366             Phil Blundell <pb@pbcl.net>
13368         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13369         * nptl/tst-cancel26.c: New file.
13370         * nptl/tst-cancel27.c: Likewise.
13372 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13374         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13375         __ILP32__ isn't defined.
13376         (lrint): Likewise.
13377         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13378         (lrintf): Likewise.
13379         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13380         (lrintl): Likewise.
13381         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13382         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13383         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13385 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13387         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13388         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13390         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13391         file.
13392         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13393         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13395 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13397         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13398         configure test.
13399         * sysdeps/i386/configure: Regenerated.
13400         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13401         configure test.
13402         * sysdeps/x86_64/configure: Regenerated.
13403         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13404         Make code unconditional.
13406         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13407         test.
13408         * sysdeps/i386/configure: Regenerated.
13409         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13410         test.
13411         * sysdeps/x86_64/configure: Regenerated.
13412         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13413         Make code unconditional.
13414         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13415         Likewise.
13416         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13417         Likewise.
13418         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13419         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13420         code unconditional.
13421         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13422         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13423         code unconditional.
13424         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13425         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13426         code unconditional.
13427         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13428         code unconditional.
13429         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13430         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13431         code unconditional.
13432         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13433         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13434         code unconditional.
13435         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13436         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13437         code unconditional.
13438         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13439         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13440         code unconditional.
13441         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13442         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13444         [BZ #19095]
13445         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13446         mantissa to long int before shifting left.
13448 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13450         [BZ #19094]
13451         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13452         <limits.h>.
13453         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13454         when result overflows but exception would not result from cast.
13455         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13456         <limits.h>.
13457         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13458         when result overflows but exception would not result from cast.
13459         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13460         <limits.h>.
13461         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13462         when result overflows but exception would not result from cast.
13463         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13464         <limits.h>.
13465         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13466         when result overflows but exception would not result from cast.
13467         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13468         <limits.h>.
13469         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13470         when result overflows but exception would not result from cast.
13471         * math/libm-test.inc (lrint_test_data): Add more tests.
13472         (llrint_test_data): Likewise.
13474 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13476         [BZ #18872]
13477         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13478         Move out from under [$(run-built-tests) = yes] conditional.
13479         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13480         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13482 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13484         [BZ #18589]
13485         * string/Makefile (tests): Add bug-strcoll2.
13486         (LOCALES): Add cs_CZ.UTF-8.
13487         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13489         [BZ #18589]
13490         * string/bug-strcoll2.c: New file.
13491         * locale/categories.def: Revert commit
13492         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13493         * locale/langinfo.h: Likewise.
13494         * locale/localeinfo.h: Likewise.
13495         * locale/C-collate.c: Likewise.
13496         * locale/programs/ld-collate.c (collate_output): Likewise.
13497         * string/strcoll_l.c (STRDIFF): Likewise.
13498         (STRCOLL): Likewise.
13499         * wcsmbs/wcscoll_l.c: Likewise.
13501 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13503         * math/libm-test.inc (lround_test_data): Do not expect the absence
13504         of "inexact" for some tests with non-integer arguments.
13505         (llround_test_data): Likewise.
13507         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13508         test.
13509         (libc_cv_cc_sse2avx): Likewise.
13510         * sysdeps/i386/configure: Regenerated.
13511         * sysdeps/i386/i686/multiarch/Makefile
13512         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13513         [$(subdir) = math].
13514         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13515         code unconditional.
13516         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13517         Likewise.
13518         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13519         Likewise.
13520         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13521         Likewise.
13522         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13523         test.
13524         (libc_cv_cc_sse2avx): Likewise.
13525         * sysdeps/x86_64/configure: Regenerated.
13526         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13527         unconditional.
13528         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13529         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13530         unconditional.
13531         (_dl_runtime_profile)
13532         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13533         conditional code.
13534         * sysdeps/x86_64/fpu/multiarch/Makefile
13535         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13538         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13539         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13540         * sysdeps/x86_64/fpu/multiarch/e_log.c
13541         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13542         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13543         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13544         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13545         Likewise.
13546         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13547         Likewise.
13548         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13549         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13550         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13551         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13552         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13553         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13554         (HAVE_SSE2AVX_SUPPORT): Likewise.
13556 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13558         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13559         instead of #pragma optimize.
13561 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13563         [BZ #17195]
13564         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13565         as is similarly done in systrim and _int_free already.
13567 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13569         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13571 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13573         [BZ #19088]
13574         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13575         <limits.h>.
13576         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13577         overflows but exception would not result from cast.
13578         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13579         and <limits.h>.
13580         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13581         overflows but exception would not result from cast.
13582         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13583         <limits.h>.
13584         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13585         overflows but exception would not result from cast.
13586         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13587         <limits.h>.
13588         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13589         overflows but exception would not result from cast.
13590         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13591         <limits.h>.
13592         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13593         overflows but exception would not result from cast.
13594         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13595         <limits.h>.
13596         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13597         overflows but exception would not result from cast.
13598         * math/libm-test.inc (lround_test_data): Add more tests.
13599         (llround_test_data): Likewise.
13601 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13603         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13604         (CFLAGS-ialloc.c): Ditto.
13605         (CFLAGS-scheck.c): Ditto.
13607 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13609         [BZ #19086]
13610         * manual/filesys.texi (Storage Allocation): Fix argument order for
13611         posix_fallocate64.
13613 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13615         [BZ #19085]
13616         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13617         exponent below 48 inside case for non-overflowing exponent.
13618         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13620 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13622         * iconvdata/cp737.h (from_idx): Add const.
13623         * iconvdata/cp775.h (from_idx): Likewise.
13625 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13627         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13628         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13629         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13631         [BZ #19079]
13632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13633         file, conditioned on [!_LP64].
13634         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13635         [!_LP64] (__lround): Do not define as function or alias.
13636         [!_LP64] (lround): Likewise.
13637         [!_LP64] (__lroundl): Likewise.
13638         [!_LP64] (lroundl): Likewise.
13639         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13640         macro.
13641         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13642         Likewise.
13644 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13646         * math/libm-test.inc (lrint_test_data): Add more tests.
13647         (llrint_test_data): Likewise.
13648         (lround_test_data): Likewise.
13649         (llround_test_data): Likewise.
13651         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13652         (llrint_test_data): Add tests used for lrint.
13654         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13655         test.
13656         * sysdeps/i386/configure: Regenerated.
13657         * sysdeps/i386/i686/multiarch/Makefile
13658         [$(config-cflags-sse4) = yes]: Make code unconditional.
13659         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13660         Likewise.
13661         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13662         Likewise.
13663         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13664         test.
13665         * sysdeps/x86_64/configure: Regenerated.
13666         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13667         Make code unconditional.
13668         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13669         Likewise.
13670         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13671         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13673         * scripts/rpm2dynsym.sh: Remove file.
13675 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13677         * configure.ac (libc_cv_cxx_thread_local): Define.
13678         * configure: Regenerate.
13679         * config.make.in (have-cxx-thread_local): Define.
13680         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13681         (LDLIBS-tst-thread_local1): Define.
13682         (tests): Add tst-thread_local1.
13683         [have-cxx-thread_local != yes] (tests-unsupported): Add
13684         tst-thread_local1.
13685         * nptl/tst-thread_local1.cc: New file.
13687 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13689         [BZ #19078]
13690         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13691         (u_thres): Likewise.
13692         (__expl): Determine whether to call __kernel_standard_l based on
13693         value of result, not argument.
13695         * math/libm-test.inc (scalb_test_data): Add more expectations for
13696         the "inexact" exception.
13698         [BZ #19077]
13699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13700         0.0L for argument 1.0L.
13702         [BZ #19076]
13703         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13704         constant 0.0L when computing infinite result.
13706 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13708         [BZ #10432]
13709         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13710         malloc_usable_size.
13712 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13714         [BZ #19018]
13715         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13716         Mangle function pointer before storing it.
13717         (__call_tls_dtors): Demangle function pointer before calling it.
13719 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13721         [BZ #19012]
13722         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13723         Clean up on failure.
13725 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13727         [BZ #19071]
13728         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13729         long int variable to store possibly incremented high part of
13730         mantissa.
13731         * math/libm-test.inc (lround_test_data): Add tests used for
13732         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13733         for tests requiring 64-bit long.  Do not condition tests on
13734         [TEST_FLOAT] unnecessarily.
13735         (llround_test_data): Add tests used for lround.  Add another
13736         expectation for the "inexact" exception.  Do not condition tests
13737         on [TEST_FLOAT] unnecessarily.
13739         [BZ #887]
13740         [BZ #19049]
13741         [BZ #19050]
13742         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13743         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13744         <fix-int-fp-convert-zero.h>.
13745         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13746         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13747         <fix-int-fp-convert-zero.h>.
13748         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13749         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13750         <fix-int-fp-convert-zero.h>.
13751         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13752         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13753         <fix-int-fp-convert-zero.h>.
13754         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13755         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13756         <fix-int-fp-convert-zero.h>.
13757         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13758         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13759         <fix-int-fp-convert-zero.h>.
13760         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13761         * sysdeps/ieee754/flt-32/s_erff.c: Include
13762         <fix-int-fp-convert-zero.h>.
13763         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13764         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13765         <fix-int-fp-convert-zero.h>.
13766         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13768         <fix-int-fp-convert-zero.h>.
13769         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13770         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13771         <fix-int-fp-convert-zero.h>.
13772         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13773         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13774         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13775         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13776         file.
13777         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13779 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13781         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13783 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13785         [BZ #19059]
13786         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13787         overflowing computation.
13788         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13789         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13790         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13791         Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13793         Likewise.
13794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13795         Likewise.
13796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13797         Likewise.
13798         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13799         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13800         Likewise.
13801         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13802         Likewise.
13803         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13805         * nss/rewrite_field.c (__nss_rewrite_field): Use
13806         internal_function.
13807         * nss/valid_field.c (__nss_valid_field): Likewise.
13808         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13810 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13812         [BZ #18724]
13813         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13814         (__nss_invalid_field_characters, __nss_valid_field)
13815         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13816         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13817         tst-field.c: New file.
13818         * nss/Makefile (routines): Add valid_field, rewrite_field.
13819         (tests-static): Define unconditionally.
13820         (tests): Include tests-static.
13821         [build-static-nss] (tests-static): Use append.
13822         [build-static-nss] (tests): Remove modification.
13823         * nss/getent.c (print_group): Call putgrent.  Report error.
13824         (print_gshadow): Call putsgent.  Report error.
13825         (print_passwd): Call putpwent.  Report error.
13826         (print_shadow): Call putspent.  Report error.
13827         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13828         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13829         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13830         name, password, directory, shell fields for valid syntax.  Rewrite
13831         GECOS field to match syntax.
13832         * pwd/Makefile (tests): Add tst-putpwent.
13833         * pwd/tst-putpwent.c: New file.
13834         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13835         Check grName, grpasswd, gr_mem fields for valid syntax.
13836         Change loop variable i to size_t.
13837         * grp/Makefile (tests): Add tst-putgrent.
13838         * grp/tst-putgrent.c: New file.
13839         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13840         valid syntax.
13841         * shadow/Makefile (tests): Add tst-putspent.
13842         * shadow/tst-putspent.c: New file.
13843         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13844         sg_mem fields for valid syntax.
13845         * gshadow/Makefile (tests): Add tst-putsgent.
13846         * gshadow/tst-putsgent.c: New file.
13848 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13850         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13851         assembly instructions.
13853 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13855         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13856         prefix from operands.
13858 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13860         [BZ #16347]
13861         [BZ #19046]
13862         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13863         <libc-internal.h>.
13864         (MAXLGM): Do not use diagnostic control macros.
13865         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13866         threshold for ldbl-128ibm.
13867         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13868         instead of multiplying by log then subtracting.
13869         * math/auto-libm-test-in: Add more tests of lgamma.
13870         * math/auto-libm-test-out: Regenerated.
13872         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13873         (TYPE_HEX_DIG): Likewise.
13874         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13875         precisions when printing floating-point numbers.
13876         (check_float_internal): Likewise.
13878 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13880         [BZ #16620]
13881         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13882         of log (10) rounded downward to 48 bits.
13883         (log10_low): Use corresponding low part of log (10).
13885         [BZ #19032]
13886         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13887         compute result as (x - x) / (x - x) not as 0 / 0.
13888         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13889         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13891         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13892         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13893         and expm1.
13894         * math/auto-libm-test-out: Regenerated.
13895         * math/libm-test.inc (acos_test_data): Add more tests.
13896         (asin_test_data): Likewise.
13897         (asinh_test_data): Likewise.
13898         (atan_test_data): Likewise.
13899         (atanh_test_data): Likewise.
13900         (atan2_test_data): Likewise.
13901         (cbrt_test_data): Likewise.
13902         (ceil_test_data): Likewise.
13903         (copysign_test_data): Likewise.
13904         (cos_test_data): Likewise.
13905         (cosh_test_data): Likewise.
13906         (erf_test_data): Likewise.
13907         (erfc_test_data): Likewise.
13908         (exp_test_data): Likewise.
13909         (exp10_test_data): Likewise.
13910         (exp2_test_data): Likewise.
13911         (expm1_test_data): Likewise.
13912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13914 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13916         [BZ #19006]
13917         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13918         to ...
13919         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13920         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13921         to ...
13922         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13923         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13924         to ...
13925         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13926         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13927         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13928         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13929         to ...
13930         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13931         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13932         Moved to ...
13933         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13935         Moved to ...
13936         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13937         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13938         to ...
13939         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13940         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13941         Moved to ...
13942         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13944         to ...
13945         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13946         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13947         Removed.
13948         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13949         Likewise.
13950         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13951         Likewise.
13952         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13953         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13954         Likewise.
13955         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13956         Likewise.
13957         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13958         Likewise.
13959         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13960         Likewise.
13961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13962         Likewise.
13963         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13964         Likewise.
13965         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13966         Likewise.
13967         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13968         Likewise.
13969         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13970         Likewise.
13971         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13972         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13973         Likewise.
13974         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13975         Likewise.
13976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13977         Likewise.
13978         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13979         Likewise.
13980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13981         Likewise.
13982         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13983         Replace ../i486/pthread_cond_timedwait.S with
13984         ../pthread_cond_timedwait.S.
13986 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13988         * math/libm-test.inc (acos_test_data): Refine expectations for
13989         errno and "inexact" exceptions.
13990         (acosh_test_data): Likewise.
13991         (asin_test_data): Likewise.
13992         (asinh_test_data): Likewise.
13993         (atan_test_data): Likewise.
13994         (atanh_test_data): Likewise.
13995         (atan2_test_data): Likewise.
13996         (cbrt_test_data): Likewise.
13997         (ceil_test_data): Likewise.
13998         (copysign_test_data): Likewise.
13999         (cosh_test_data): Likewise.
14000         (erf_test_data): Likewise.
14001         (erfc_test_data): Likewise.
14002         (exp_test_data): Likewise.
14003         (exp10_test_data): Likewise.
14004         (exp2_test_data): Likewise.
14005         (expm1_test_data): Likewise.
14006         (fabs_test_data): Likewise.
14007         (floor_test_data): Likewise.
14008         (fma_test_data): Likewise.
14009         (fmax_test_data): Likewise.
14010         (fmin_test_data): Likewise.
14011         (fmod_test_data): Likewise.
14012         (fpclassify_test_data): Likewise.
14013         (frexp_test_data): Likewise.
14014         (hypot_test_data): Likewise.
14015         (ilogb_test_data): Likewise.
14016         (isgreater_test_data): Likewise.
14017         (isgreaterequal_test_data): Likewise.
14018         (isinf_test_data): Likewise.
14019         (isless_test_data): Likewise.
14020         (islessequal_test_data): Likewise.
14021         (islessgreater_test_data): Likewise.
14022         (isnan_test_data): Likewise.
14023         (isnormal_test_data): Likewise.
14024         (issignaling_test_data): Likewise.
14025         (isunordered_test_data): Likewise.
14026         (j0_test_data): Likewise.
14027         (j1_test_data): Likewise.
14028         (jn_test_data): Likewise.
14029         (lgamma_test_data): Likewise.
14030         (lrint_test_data): Likewise.
14031         (llrint_test_data): Likewise.
14032         (log_test_data): Likewise.
14033         (log10_test_data): Likewise.
14034         (log1p_test_data): Likewise.
14035         (log2_test_data): Likewise.
14036         (logb_test_data): Likewise.
14037         (lround_test_data): Likewise.
14038         (llround_test_data): Likewise.
14039         (modf_test_data): Likewise.
14040         (nearbyint_test_data): Likewise.
14041         (nextafter_test_data): Likewise.
14042         (nexttoward_test_data): Likewise.
14043         (pow_test_data): Likewise.
14044         (remainder_test_data): Likewise.
14045         (remquo_test_data): Likewise.
14046         (rint_test_data): Likewise.
14047         (round_test_data): Likewise.
14048         (signbit_test_data): Likewise.
14049         (sinh_test_data): Likewise.
14050         (sqrt_test_data): Likewise.
14051         (tanh_test_data): Likewise.
14052         (tgamma_test_data): Likewise.
14053         (trunc_test_data): Likewise.
14054         (y0_test_data): Likewise.
14055         (y1_test_data): Likewise.
14056         (yn_test_data): Likewise.
14057         (significand_test_data): Likewise.
14059 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14061         * manual/filesys.texi (Storage Allocation): Document that
14062         posix_fallocate emulation fails when fd is open with O_WRONLY.
14064 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14066         [BZ #19016]
14067         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14068         allow more cases with X^2 + Y^2 >= 0.5.
14069         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14070         normal element in sum instead of special-casing based on values of
14071         arguments.
14072         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14073         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14074         -1 as normal element in sum instead of special-casing based on
14075         values of arguments.
14076         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14077         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14078         (__x2y2m1): Update comment.
14079         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14080         as normal element in sum instead of special-casing based on values
14081         of arguments.
14082         * math/s_clog.c (__clog): Handle more cases using log1p without
14083         hypot.
14084         * math/s_clog10.c (__clog10): Likewise.
14085         * math/s_clog10f.c (__clog10f): Likewise.
14086         * math/s_clog10l.c (__clog10l): Likewise.
14087         * math/s_clogf.c (__clogf): Likewise.
14088         * math/s_clogl.c (__clogl): Likewise.
14089         * math/auto-libm-test-in: Add more tests of clog and clog10.
14090         * math/auto-libm-test-out: Regenerated.
14091         * sysdeps/i386/fpu/libm-test-ulps: Update.
14092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14094 2015-09-28  Martin Sebor  <msebor@redhat.com>
14096         [BZ #18969]
14097         * string/Makefile (LOCALES): Define.
14098         (gen-locales.mk): Include.
14099         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14100         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14101         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14102         on setlocale failure.
14104 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14106         [BZ #18985]
14107         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14108         (__strftime_internal): Likewise.
14109         * time/tst-strftime.c (do_bz18985): New test.
14110         (do_test): Call it.
14112 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14114         [BZ #18956]
14115         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14116         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14117         extracting high part.
14118         * math/auto-libm-test-in: Add another test of pow.
14119         * math/auto-libm-test-out: Regenerated.
14120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14122 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14124         [BZ #18825]
14125         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14126         New macro.
14127         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14128         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14129         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14130         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14131         DBL_NARROW_EVAL, reloading the PIC register as needed.
14132         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14133         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14134         FLT_NARROW_EVAL.  Use separate return path for case when first
14135         argument is NaN.
14136         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14137         DEFINE_LDBL_MIN.
14138         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14139         PIC register.
14140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14141         math_check_force_underflow_nonneg.
14142         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14143         underflow for subnormal result.
14144         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14146         math_check_force_underflow_nonneg.
14147         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14148         math_check_force_underflow.
14149         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14150         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14151         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14152         DEFINE_LDBL_MIN.
14153         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14154         * math/auto-libm-test-in: Add more tests of pow.
14155         * math/auto-libm-test-out: Regenerated.
14157 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14159         * nss/bug17079.c (init_test_items): Add diagnostic for
14160         inconsistent entries.
14161         (test_buffer_size): Skip inconsistent entries.
14163 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14165         [BZ #13304]
14166         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14167         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14168         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14170         [BZ #13304]
14171         * sysdeps/microblaze/s_fma.c: New file.
14172         * sysdeps/microblaze/s_fmaf.c: Likewise.
14173         * sysdeps/microblaze/sfp-machine.h: Likewise.
14175 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14177         [BZ #17250]
14178         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14179         member.
14181 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14183         [BZ #18803]
14184         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14185         (MO): New macro.
14186         (__ieee754_hypot) [PIC]: Load PIC register.
14187         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14188         DBL_NARROW_EVAL.
14189         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14190         math_check_force_underflow_nonneg in case where result might be
14191         tiny.
14192         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14193         Likewise.
14194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14195         Likewise.
14196         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14197         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14198         * math/auto-libm-test-in: Add more tests of hypot.
14199         * math/auto-libm-test-out: Regenerated.
14201 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14203         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14205 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14207         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14208         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14209         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14210         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14211         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14212         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14213         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14215         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14216         LOAD_PIC_REG.
14218         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14219         (FLT_CHECK_FORCE_UFLOW): Likewise.
14220         (DBL_CHECK_FORCE_UFLOW): Likewise.
14221         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14222         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14223         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14224         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14225         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14226         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14227         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14228         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14229         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14230         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14231         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14232         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14233         (flt_min): Replace with use of DEFINE_FLT_MIN.
14234         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14235         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14236         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14237         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14238         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14239         (flt_min): Replace with use of DEFINE_FLT_MIN.
14240         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14241         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14242         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14243         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14244         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14245         (flt_min): Replace with use of DEFINE_FLT_MIN.
14246         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14247         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14248         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14249         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14250         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14251         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14252         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14253         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14254         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14255         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14256         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14257         (flt_min): Replace with use of DEFINE_FLT_MIN.
14258         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14259         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14260         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14261         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14262         main computation.
14263         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14264         (flt_min): Replace with use of DEFINE_FLT_MIN.
14265         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14266         main computation.
14267         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14268         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14269         (MO): New macro.
14270         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14271         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14272         (flt_min): Replace with use of DEFINE_FLT_MIN.
14273         (MO): New macro.
14274         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14275         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14276         (__log1pl): Use MO.
14278         [BZ #19003]
14279         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14280         $(config-cflags-nofma).
14282 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14284         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14286 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14288         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14289         (TWO127): Likewise.
14291         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14292         (min_of_type): Likewise.
14293         (math_check_force_underflow): Likewise.
14294         (math_check_force_underflow_nonneg): Likewise.
14295         (math_check_force_underflow_complex): Likewise.
14296         * math/e_exp2l.c (__ieee754_exp2l): Use
14297         math_check_force_underflow_nonneg.
14298         * math/k_casinh.c (__kernel_casinh): Likewise.
14299         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14300         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14301         * math/s_catan.c (__catan): Use
14302         math_check_force_underflow_complex.
14303         * math/s_catanf.c (__catanf): Likewise.
14304         * math/s_catanh.c (__catanh): Likewise.
14305         * math/s_catanhf.c (__catanhf): Likewise.
14306         * math/s_catanhl.c (__catanhl): Likewise.
14307         * math/s_catanl.c (__catanl): Likewise.
14308         * math/s_ccosh.c (__ccosh): Likewise.
14309         * math/s_ccoshf.c (__ccoshf): Likewise.
14310         * math/s_ccoshl.c (__ccoshl): Likewise.
14311         * math/s_cexp.c (__cexp): Likewise.
14312         * math/s_cexpf.c (__cexpf): Likewise.
14313         * math/s_cexpl.c (__cexpl): Likewise.
14314         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14315         * math/s_clog10.c (__clog10): Likewise.
14316         * math/s_clog10f.c (__clog10f): Likewise.
14317         * math/s_clog10l.c (__clog10l): Likewise.
14318         * math/s_clogf.c (__clogf): Likewise.
14319         * math/s_clogl.c (__clogl): Likewise.
14320         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14321         * math/s_csinf.c (__csinf): Likewise.
14322         * math/s_csinh.c (__csinh): Likewise.
14323         * math/s_csinhf.c (__csinhf): Likewise.
14324         * math/s_csinhl.c (__csinhl): Likewise.
14325         * math/s_csinl.c (__csinl): Likewise.
14326         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14327         * math/s_csqrtf.c (__csqrtf): Likewise.
14328         * math/s_csqrtl.c (__csqrtl): Likewise.
14329         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14330         * math/s_ctanf.c (__ctanf): Likewise.
14331         * math/s_ctanh.c (__ctanh): Likewise.
14332         * math/s_ctanhf.c (__ctanhf): Likewise.
14333         * math/s_ctanhl.c (__ctanhl): Likewise.
14334         * math/s_ctanl.c (__ctanl): Likewise.
14335         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14336         instead of volatile.
14337         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14338         math_check_force_underflow.
14339         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14340         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14341         volatile when forcing underflow.
14342         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14343         math_check_force_underflow_nonneg.
14344         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14345         Likewise.
14346         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14347         math_check_force_underflow.
14348         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14349         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14350         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14351         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14352         math_check_force_underflow_nonneg.
14353         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14354         math_check_force_underflow.
14355         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14357         instead of volatile.
14358         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14359         math_check_force_underflow.
14360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14361         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14362         math_check_force_underflow_nonneg.
14363         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14364         math_check_force_underflow.
14365         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14366         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14367         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14368         math_check_force_underflow_nonneg.
14369         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14370         Likewise.
14371         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14372         math_check_force_underflow.
14373         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14374         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14375         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14376         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14377         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14378         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14379         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14380         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14381         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14382         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14383         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14384         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14385         Likewise.
14386         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14387         math_check_force_underflow_nonneg.
14388         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14389         Likewise.
14390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14391         math_check_force_underflow.
14392         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14393         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14394         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14395         Likewise.
14396         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14397         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14398         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14399         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14400         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14401         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14403         instead of volatile.
14404         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14405         math_check_force_underflow.
14406         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14407         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14408         math_check_force_underflow.
14409         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14410         Likewise.
14411         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14412         Use math_check_force_underflow_nonneg.
14413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14414         math_check_force_underflow.
14415         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14416         Likewise.
14417         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14418         Likewise.
14419         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14420         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14422         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14424         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14425         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14426         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14427         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14428         math_check_force_underflow_nonneg.
14429         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14430         math_check_force_underflow.
14431         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14432         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14433         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14434         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14435         math_check_force_underflow_nonneg.
14436         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14437         math_check_force_underflow.
14438         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14440         instead of volatile.
14441         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14442         math_check_force_underflow.
14444         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14445         * stdlib/strtod_l.c: Include <math_private.h>.
14446         (overflow_value): Use math_narrow_eval.
14447         (underflow_value): Likewise.
14448         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14449         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14450         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14451         (__ieee754_gamma_r): Likewise.
14452         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14453         Likewise.
14454         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14455         Likewise.
14456         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14457         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14458         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14459         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14460         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14461         (__ieee754_gammaf_r): Likewise.
14462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14463         Likewise.
14464         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14465         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14466         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14467         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14468         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14469         volatile.
14470         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14472         math_narrow_eval.
14473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14474         Likewise.
14475         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14476         Likewise.
14477         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14478         Likewise.
14479         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14480         volatile.
14481         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14482         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14483         math_narrow_eval.
14484         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14485         Likewise.
14486         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14487         Likewise.
14489 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14491         * nptl/Versions: Remove ignored symbols.
14493 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14495         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14496         * nss/Makefile (tests): Update.
14498 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14500         * nss/bug18287.c: New file.
14501         * nss/Makefile (tests): Add bug18287.
14503 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14505         * mach/Versions (__mach_host_self_): Add symbol.
14507 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14509         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14510         vm_page_size.
14512 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14514         Really fix sysdeps/i386/fpu/s_scalbn.S build
14516         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14517         (libc: GLIBC_2_22): Remove unused version set.
14519 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14521         * config.make.in (enable-timezone-tools): New variable.
14522         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14523         (enable_timezone_tools): Export to generated files.
14524         * configure: Regenerate.
14525         * INSTALL: Regenerate.
14526         * manual/install.texi (--disable-timezone-tools): Document new flag.
14527         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14528         ifeq ($(enable-timezone-tools),yes) check.
14530 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14532         * timezone/Makefile: Revert previous change.
14534         [BZ #18980]
14535         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14536         (DEFINE_DBL_MIN): Likewise.
14537         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14538         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14539         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14540         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14541         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14542         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14543         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14544         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14545         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14546         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14547         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14548         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14549         (flt_min): Replace with use of DEFINE_FLT_MIN.
14550         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14551         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14552         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14553         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14554         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14555         (flt_min): Replace with use of DEFINE_FLT_MIN.
14556         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14557         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14558         (flt_min): Replace with use of DEFINE_FLT_MIN.
14559         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14560         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14561         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14562         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14563         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14564         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14565         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14566         (__ieee754_pow): Use DBL_NARROW_EVAL.
14567         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14568         (__ieee754_powf): Use FLT_NARROW_EVAL.
14569         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14570         (__ieee754_expf_sse2): Convert double-precision result to single
14571         precision.
14572         * sysdeps/i386/fpu/libm-test-ulps: Update.
14574 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14576         * timezone/Makefile: Ignore unused variable errors due to private.h
14577         (time_t_min) and (time_t_max).
14578         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14579         Likewise.
14581 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14583         [BZ #18981]
14584         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14585         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14586         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14587         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14588         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14589         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14590         (__scalbn): Use DBL_NARROW_EVAL.
14591         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14592         (__scalbnf): Use FLT_NARROW_EVAL.
14594 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14596         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14597         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14598         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14599         * stdio-common/printf_fp.c (___printf_fp):
14600         Use signbit to get the sign. Use isinf macro to allow inlining.
14601         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14602         * stdio-common/printf_size.c (__printf_size): Likewise.
14604 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14606         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14608 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14610         [BZ #18980]
14611         * sysdeps/generic/math_private.h: Include <float.h>.
14612         (math_narrow_eval): New macro.
14613         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14614         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14615         math_narrow_eval on overflowing return value.
14616         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14617         Likewise.
14618         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14619         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14620         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14621         Likewise.
14622         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14624 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14626         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14627         * math/Makefile: Remove isinf_ns.c.
14628         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14629         * math/multc3.c (__multc3): Likewise.
14630         * math/s_casin.c (__casin): Likewise.
14631         * math/s_casinf.c (__casinf): Likewise.
14632         * math/s_casinl.c (__casinl): Likewise.
14633         * math/s_cproj.c (__cproj): Likewise.
14634         * math/s_cprojf.c (__cprojf): Likewise.
14635         * math/s_cprojl.c (__cprofl): Likewise.
14636         * math/s_ctan.c (__ctan): Likewise.
14637         * math/s_ctanf.c (__ctanf): Likewise.
14638         * math/s_ctanh.c (__ctanh): Likewise.
14639         * math/s_ctanhf.c (__ctanhf): Likewise.
14640         * math/s_ctanhl.c (__ctanhl): Likewise.
14641         * math/s_ctanl.c (__ctanl): Likewise.
14642         * math/w_fmod.c (__fmod): Likewise.
14643         * math/w_fmodf.c (__fmodf): Likewise.
14644         * math/w_fmodl.c (_fmodl): Likewise.
14645         * math/w_remainder.c (__remainder): Likewise.
14646         * math/w_remainderf.c (__remainderf): Likewise.
14647         * math/w_remainderl.c (__remainderl): Likewise.
14648         * math/w_scalb.c (__scalb): Likewise.
14649         * math/w_scalbf.c (__scalbf): Likewise.
14650         * math/w_scalbl.c (__scalbl): Likewise.
14651         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14652         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14653         with isinf.
14654         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14655         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14656         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14657         __isinf_nsf with isinf.
14658         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14659         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14660         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14661         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14662         with isinf.
14663         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14664         __isinf_nsl with isinf.
14665         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14666         with isinf.
14667         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14668         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14669         __isinf_nsl with isinf.
14670         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14671         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14672         with isinf.
14674 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14676         * resolv/base64.c (rcsid): Remove unused static.
14677         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14678         static.  (tqpi1): Likewise.
14679         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14680         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14681         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14682         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14684         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14685         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14686         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14687         Likewise.
14689 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14691         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14692         <nptl/pthreadP.h>.
14693         (_longjmp_unwind): Use __libc_ptf_call.
14694         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14696 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14698         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14699         * sysdeps/arm/__longjmp.S: Likewise.
14701 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14703         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14704         Use __builtin_signbit.
14705         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14706         Use __builtin_signbitf.
14707         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14708         Use __builtin_signbitl.
14709         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14710         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14712 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14714         [BZ #15367]
14715         [BZ #17441]
14717         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14718         * math/math.h (fpclassify): Use __builtin_fpclassify when
14719         available.  (signbit): Use __builtin_signbit(f/l).
14720         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14721         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14722         (isinf): Use __builtin_isinf_sign.
14724 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14726         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14727         * benchtests/bench-math-inlines.c: New benchmark.
14728         * benchtests/bench-util.h: New file.
14729         * benchtests/bench-util.c: New file.
14730         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14732 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14734         * elf/tst-dlmopen1.c: Define TEST_SO.
14735         (do_test): Use TEST_SO.
14737         * elf/dl-load.c: Include libc-internal.h.
14738         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14740 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14742         [BZ #17887]
14743         * time/strptime_l.c (__strptime_internal): Make %z accept
14744         [+-]HH:MM time zones.
14746 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14748         [BZ #17886]
14749         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14750         valid time zone.
14752 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14754         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14755         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14756         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14757         (__ASSUME_FDATASYNC): Delete.
14759 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14761         * conform/linknamespace.pl: Require weak undefined symbols to be
14762         in the standard namespace.
14763         (%strong_syms): Rename to %seen_syms.
14764         (%strong_seen): Rename to %seen_where.
14766 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14768         [BZ #18970]
14769         * misc/error.c (error): Replace pthread_setcancelstate with
14770         __pthread_setcancelstate.
14771         (error_at_line): Likewise.
14772         * posix/wordexp.c (parse_comm): Likewise.
14773         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14774         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14775         (__pthread_setcancelstate): This.
14776         (pthread_setcancelstate): Add an alias.
14777         * nptl/nptl-init.c (pthread_functions): Replace
14778         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14779         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14780         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14781         hidden_proto.
14782         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14783         it with hidden_def.
14784         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14785         (pthread_setcancelstate): Renamed to ...
14786         (__pthread_setcancelstate): This.
14787         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14788         __libc_ptf_call with __pthread_setcancelstate.
14790 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14791             Andreas Schwab  <schwab@suse.de>
14793         [BZ #17118]
14794         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14795         result when imaginary part of argument is infinite using sine and
14796         cosine.
14797         * math/s_ctanf.c (__ctanf): Likewise.
14798         * math/s_ctanl.c (__ctanl): Likewise.
14799         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14800         of result when real part of argument is infinite using sine and
14801         cosine.
14802         * math/s_ctanhf.c (__ctanhf): Likewise.
14803         * math/s_ctanhl.c (__ctanhl): Likewise.
14804         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14805         (ctanh_test_data): Add more tests of ctanh.
14807 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14809         [BZ #15384]
14810         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14811         bit-mask as in subtraction.
14812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14813         Likewise.
14814         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14815         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14816         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14818         [BZ #18951]
14819         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14820         underflow exception for small results.
14821         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14822         Likewise.
14823         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14824         Likewise.
14825         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14826         Likewise.
14827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14828         Likewise.
14829         * math/auto-libm-test-in: Add more tests of tgamma.
14830         * math/auto-libm-test-out: Regenerated.
14832 2015-09-17  Andreas Schwab  <schwab@suse.de>
14834         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14836 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14838         [BZ #18977]
14839         * math/bits/mathcalls.h
14840         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14841         not declare.
14842         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14843         Likewise.
14844         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14845         Likewise.
14846         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14847         Likewise.
14848         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14849         Likewise.
14850         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14851         Likewise.
14852         * conform/data/math.h-data
14853         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14854         function.
14855         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14856         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14857         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14858         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14859         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14860         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14861         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14862         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14863         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14864         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14865         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14867         [BZ #6803]
14868         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14869         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14870         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14871         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14872         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14873         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14874         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14875         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14876         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14877         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14878         Likewise.
14879         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14880         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14881         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14882         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14883         long_double_symbol calls.
14884         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14885         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14886         strong alias of __ldexpl.
14887         (scalbnl): Define using long_double_symbol.
14888         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14889         Remove alias.
14890         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14891         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14892         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14893         (scalbln_test_data): Add more errno expectations.
14895 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14897         Cache the host port like we cache the task port.  This way we do not
14898         need to call the kernel just to get the port.  Furthermore, we no
14899         longer increase the reference count on every invocation of
14900         `mach_host_self'.
14902         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14903         Protect declarations against the macro expansion.
14904         * mach/mach_init.c (__mach_host_self_): New variable.
14905         (mach_init): Initialize `__mach_host_self_'.
14906         * mach/mach_init.h (__mach_host_self_): New declaration.
14907         (__mach_host_self, mach_host_self): New macros.
14908         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14909         Release reference.
14911 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14913         [BZ #4404]
14914         * po/de.po: Update from Translation Project.
14916         [BZ #16415]
14917         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14918         (__expm1l): Remove code to handle positive infinity and overflow.
14919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14920         variable.
14921         (__expm1l): Remove code to handle positive infinity and overflow.
14923 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14924             Paul Pluzhnikov  <ppluzhnikov@google.com>
14926         [BZ #18872]
14927         * stdio-common/Makefile (tst-printf-bz18872): New test.
14928         (tst-printf-bz18872-mem.out): Likewise.
14929         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14930         * stdio-common/vfprintf.c: Fix memory leaks.
14932 2015-09-16  Andreas Schwab  <schwab@suse.de>
14934         [BZ #17244]
14935         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14936         Remove extra va_start/va_end calls.
14938         [BZ #17243]
14939         * posix/execl.c (execl): Add missing va_end.
14940         * posix/execle.c (execle): Likewise.
14941         * posix/execlp.c (execlp): Likewise.
14943 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14945         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14946         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14948 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14950         [BZ #18967]
14951         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14952         undefine around includes of <bits/mathcalls.h>.
14953         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14954         not declare function.
14955         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14956         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14957         (scalb): Likewise.
14958         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14959         not define macro.
14960         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14961         variable.
14962         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14963         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14964         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14966         [BZ #18857]
14967         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14968         return non-finite argument without doing ordered comparisons on
14969         it.
14971         [BZ #16296]
14972         * math/fenv.h (fegetround): Use __attribute_pure__.
14973         * include/fenv.h (__fegetround): Likewise.
14975         [BZ #18595]
14976         * math/s_ctan.c (__ctan): Force underflow exception for results
14977         whose real or imaginary part has small absolute value.
14978         * math/s_ctanf.c (__ctanf): Likewise.
14979         * math/s_ctanh.c (__ctanh): Likewise.
14980         * math/s_ctanhf.c (__ctanhf): Likewise.
14981         * math/s_ctanhl.c (__ctanhl): Likewise.
14982         * math/s_ctanl.c (__ctanl): Likewise.
14983         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14984         and ctanh.  Add more tests of ctan and ctanh.
14986         [BZ #15918]
14987         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14988         handling of cases where one argument is an infinity.
14990         [BZ #18875]
14991         [BZ #18966]
14992         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14993         (MO): New macro.
14994         (__ieee754_exp10): For small results, force underflow exception
14995         and remove excess range and precision from return value.
14996         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14997         (MO): New macro.
14998         (__ieee754_exp10f): For small results, force underflow exception
14999         and remove excess range and precision from return value.
15000         * math/auto-libm-test-in: Add more tests of exp10.
15001         * math/auto-libm-test-out: Regenerated.
15003 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15005         [BZ #18875]
15006         [BZ #18961]
15007         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15008         (MO): New macro.
15009         (__ieee754_exp): For small results, force underflow exception and
15010         remove excess range and precision from return value.
15011         (__exp_finite): Likewise.
15012         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15013         (MO): New macro.
15014         (__ieee754_expf): For small results, force underflow exception and
15015         remove excess range and precision from return value.
15016         (__expf_finite): Likewise.
15017         * math/auto-libm-test-in: Add more tests of exp.
15018         * math/auto-libm-test-out: Regenerated.
15020         [BZ #16521]
15021         [BZ #18875]
15022         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15023         small results.
15024         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15025         (MO): New macro.
15026         (__ieee754_exp2): For small results, force underflow exception and
15027         remove excess range and precision from return value.
15028         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15029         (MO): New macro.
15030         (__ieee754_exp2f): For small results, force underflow exception
15031         and remove excess range and precision from return value.
15032         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15033         (MO): New macro.
15034         (__ieee754_exp2l): Force underflow exception for small results.
15035         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15036         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15037         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15038         (MO): New macro.
15039         (__ieee754_exp2l): Force underflow exception for small results.
15040         * math/auto-libm-test-in: Add more tests or exp2.
15041         * math/auto-libm-test-out: Regenerated.
15043 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15045         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15047         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15048         /dev/null.
15050 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15052         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15053         io fs process)): Drop spurious backslash.
15055 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15058         Use sysinfo system call instead of parsing /proc/meminfo.
15059         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15060         Likewise.
15062 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15064         [BZ #16985]
15065         * programs/localedef.c (main): Display argv[remaining] when
15066         output_path is NULL.
15068 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15070         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15071         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15072         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15073         tanh.
15074         * math/auto-libm-test-out: Regenerated.
15075         * sysdeps/i386/fpu/libm-test-ulps: Update.
15076         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15080 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15082         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15083         Use 'override' keyword to freeze the value here, preventing
15084         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15086 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15088         [BZ #14912]
15089         * sysdeps/aarch64/bits/atomic.h: Move to ...
15090         * sysdeps/aarch64/atomic-machine.h: ...here.
15091         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15092         _AARCH64_ATOMIC_MACHINE_H.
15093         * sysdeps/alpha/bits/atomic.h: Move to ...
15094         * sysdeps/alpha/atomic-machine.h: ...here.
15095         * sysdeps/arm/bits/atomic.h: Move to ...
15096         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15097         * bits/atomic.h: Move to ...
15098         * sysdeps/generic/atomic-machine.h: ...here.
15099         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15100         * sysdeps/i386/bits/atomic.h: Move to ...
15101         * sysdeps/i386/atomic-machine.h: ...here.
15102         * sysdeps/ia64/bits/atomic.h: Move to ...
15103         * sysdeps/ia64/atomic-machine.h: ...here.
15104         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15105         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15106         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15107         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15108         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15109         * sysdeps/microblaze/bits/atomic.h: Move to ...
15110         * sysdeps/microblaze/atomic-machine.h: ...here.
15111         * sysdeps/mips/bits/atomic.h: Move to ...
15112         * sysdeps/mips/atomic-machine.h: ...here.
15113         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15114         * sysdeps/powerpc/bits/atomic.h: Move to ...
15115         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15116         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15117         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15118         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15119         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15120         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15121         <atomic-machine.h> instead of <bits/atomic.h>.
15122         * sysdeps/s390/bits/atomic.h: Move to ...
15123         * sysdeps/s390/atomic-machine.h: ...here.
15124         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15125         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15126         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15127         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15128         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15129         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15130         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15131         * sysdeps/tile/bits/atomic.h: Move to ...
15132         * sysdeps/tile/atomic-machine.h: ...here.
15133         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15134         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15135         <sysdeps/tile/atomic-machine.h> instead of
15136         <sysdeps/tile/bits/atomic.h>.
15137         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15138         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15139         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15140         <sysdeps/tile/atomic-machine.h> instead of
15141         <sysdeps/tile/bits/atomic.h>.
15142         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15143         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15144         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15145         <sysdeps/arm/atomic-machine.h> instead of
15146         <sysdeps/arm/bits/atomic.h>.
15147         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15148         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15149         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15150         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15151         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15152         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15153         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15154         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15155         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15156         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15157         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15158         * sysdeps/x86_64/bits/atomic.h: Move to ...
15159         * sysdeps/x86_64/atomic-machine.h: ...here.
15160         * include/atomic.h: Include <atomic-machine.h> instead of
15161         <bits/atomic.h>.
15163         * sysdeps/mips/mips32/libm-test-ulps: Update.
15164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15166         [BZ #18952]
15167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15168         not convert non-integer negative arguments to int to determine the
15169         value of signgam.
15170         * math/auto-libm-test-in: Add more tests of lgamma.
15171         * math/auto-libm-test-out: Regenerated.
15173         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15174         cosh, csqrt, erfc, expm1 and lgamma.
15175         * math/auto-libm-test-out: Regenerated.
15176         * sysdeps/i386/fpu/libm-test-ulps: Update.
15177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15179 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15181         [BZ #2542]
15182         [BZ #2543]
15183         [BZ #2558]
15184         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15185         __lgamma_neg for arguments from -28.0 to -2.0.
15186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15187         __lgamma_negf for arguments from -15.0 to -2.0.
15188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15189         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15190         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15191         Call __lgamma_negl for arguments from -33.0 to -2.0.
15192         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15193         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15194         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15195         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15196         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15197         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15198         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15199         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15200         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15201         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15202         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15203         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15204         (__lgamma_neg): Likewise.
15205         (__lgamma_negl): Likewise.
15206         (__lgamma_product): Likewise.
15207         (__lgamma_productl): Likewise.
15208         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15209         * math/auto-libm-test-in: Add more tests of lgamma.
15210         * math/auto-libm-test-out: Regenerated.
15211         * sysdeps/i386/fpu/libm-test-ulps: Update.
15212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15214 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15216         [BZ #18675]
15217         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15219 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15221         [BZ #14912]
15222         * bits/libc-lock.h: Move to ...
15223         * sysdeps/generic/libc-lock.h: ...here.
15224         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15225         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15226         * sysdeps/mach/hurd/libc-lock.h: ...here.
15227         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15228         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15229         * sysdeps/mach/bits/libc-lock.h: Move to ...
15230         * sysdeps/mach/libc-lock.h: ...here.
15231         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15232         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15233         * sysdeps/nptl/libc-lock.h: ...here.
15234         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15235         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15236         * sysdeps/nptl/libc-lockP.h: ...here.
15237         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15238         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15239         <bits/libc-lock.h>.
15240         * dirent/scandir-tail.c: Likewise.
15241         * dlfcn/dlerror.c: Likewise.
15242         * elf/dl-close.c: Likewise.
15243         * elf/dl-iteratephdr.c: Likewise.
15244         * elf/dl-lookup.c: Likewise.
15245         * elf/dl-open.c: Likewise.
15246         * elf/dl-support.c: Likewise.
15247         * elf/dl-writev.h: Likewise.
15248         * elf/rtld.c: Likewise.
15249         * grp/fgetgrent.c: Likewise.
15250         * gshadow/fgetsgent.c: Likewise.
15251         * gshadow/sgetsgent.c: Likewise.
15252         * iconv/gconv_conf.c: Likewise.
15253         * iconv/gconv_db.c: Likewise.
15254         * iconv/gconv_dl.c: Likewise.
15255         * iconv/gconv_int.h: Likewise.
15256         * iconv/gconv_trans.c: Likewise.
15257         * include/link.h: Likewise.
15258         * inet/getnameinfo.c: Likewise.
15259         * inet/getnetgrent.c: Likewise.
15260         * inet/getnetgrent_r.c: Likewise.
15261         * intl/bindtextdom.c: Likewise.
15262         * intl/dcigettext.c: Likewise.
15263         * intl/finddomain.c: Likewise.
15264         * intl/gettextP.h: Likewise.
15265         * intl/loadmsgcat.c: Likewise.
15266         * intl/localealias.c: Likewise.
15267         * intl/textdomain.c: Likewise.
15268         * libidn/idn-stub.c: Likewise.
15269         * libio/libioP.h: Likewise.
15270         * locale/duplocale.c: Likewise.
15271         * locale/freelocale.c: Likewise.
15272         * locale/newlocale.c: Likewise.
15273         * locale/setlocale.c: Likewise.
15274         * login/getutent_r.c: Likewise.
15275         * login/getutid_r.c: Likewise.
15276         * login/getutline_r.c: Likewise.
15277         * login/utmp-private.h: Likewise.
15278         * login/utmpname.c: Likewise.
15279         * malloc/mtrace.c: Likewise.
15280         * misc/efgcvt.c: Likewise.
15281         * misc/error.c: Likewise.
15282         * misc/fstab.c: Likewise.
15283         * misc/getpass.c: Likewise.
15284         * misc/mntent.c: Likewise.
15285         * misc/syslog.c: Likewise.
15286         * nis/nis_call.c: Likewise.
15287         * nis/nis_callback.c: Likewise.
15288         * nis/nss-default.c: Likewise.
15289         * nis/nss_compat/compat-grp.c: Likewise.
15290         * nis/nss_compat/compat-initgroups.c: Likewise.
15291         * nis/nss_compat/compat-pwd.c: Likewise.
15292         * nis/nss_compat/compat-spwd.c: Likewise.
15293         * nis/nss_nis/nis-alias.c: Likewise.
15294         * nis/nss_nis/nis-ethers.c: Likewise.
15295         * nis/nss_nis/nis-grp.c: Likewise.
15296         * nis/nss_nis/nis-hosts.c: Likewise.
15297         * nis/nss_nis/nis-network.c: Likewise.
15298         * nis/nss_nis/nis-proto.c: Likewise.
15299         * nis/nss_nis/nis-pwd.c: Likewise.
15300         * nis/nss_nis/nis-rpc.c: Likewise.
15301         * nis/nss_nis/nis-service.c: Likewise.
15302         * nis/nss_nis/nis-spwd.c: Likewise.
15303         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15304         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15305         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15306         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15307         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15308         * nis/nss_nisplus/nisplus-network.c: Likewise.
15309         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15310         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15311         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15312         * nis/nss_nisplus/nisplus-service.c: Likewise.
15313         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15314         * nis/ypclnt.c: Likewise.
15315         * nptl/libc_pthread_init.c: Likewise.
15316         * nss/getXXbyYY.c: Likewise.
15317         * nss/getXXent.c: Likewise.
15318         * nss/getXXent_r.c: Likewise.
15319         * nss/nss_db/db-XXX.c: Likewise.
15320         * nss/nss_db/db-netgrp.c: Likewise.
15321         * nss/nss_db/nss_db.h: Likewise.
15322         * nss/nss_files/files-XXX.c: Likewise.
15323         * nss/nss_files/files-alias.c: Likewise.
15324         * nss/nsswitch.c: Likewise.
15325         * posix/regex_internal.h: Likewise.
15326         * posix/wordexp.c: Likewise.
15327         * pwd/fgetpwent.c: Likewise.
15328         * resolv/res_hconf.c: Likewise.
15329         * resolv/res_libc.c: Likewise.
15330         * shadow/fgetspent.c: Likewise.
15331         * shadow/lckpwdf.c: Likewise.
15332         * shadow/sgetspent.c: Likewise.
15333         * socket/opensock.c: Likewise.
15334         * stdio-common/reg-modifier.c: Likewise.
15335         * stdio-common/reg-printf.c: Likewise.
15336         * stdio-common/reg-type.c: Likewise.
15337         * stdio-common/vfprintf.c: Likewise.
15338         * stdio-common/vfscanf.c: Likewise.
15339         * stdlib/abort.c: Likewise.
15340         * stdlib/cxa_atexit.c: Likewise.
15341         * stdlib/fmtmsg.c: Likewise.
15342         * stdlib/random.c: Likewise.
15343         * stdlib/setenv.c: Likewise.
15344         * string/strsignal.c: Likewise.
15345         * sunrpc/auth_none.c: Likewise.
15346         * sunrpc/bindrsvprt.c: Likewise.
15347         * sunrpc/create_xid.c: Likewise.
15348         * sunrpc/key_call.c: Likewise.
15349         * sunrpc/rpc_thread.c: Likewise.
15350         * sysdeps/arm/backtrace.c: Likewise.
15351         * sysdeps/generic/ldsodefs.h: Likewise.
15352         * sysdeps/generic/stdio-lock.h: Likewise.
15353         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15354         * sysdeps/i386/backtrace.c: Likewise.
15355         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15356         * sysdeps/m68k/backtrace.c: Likewise.
15357         * sysdeps/mach/hurd/cthreads.c: Likewise.
15358         * sysdeps/mach/hurd/dirstream.h: Likewise.
15359         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15360         * sysdeps/nptl/malloc-machine.h: Likewise.
15361         * sysdeps/nptl/stdio-lock.h: Likewise.
15362         * sysdeps/posix/dirstream.h: Likewise.
15363         * sysdeps/posix/getaddrinfo.c: Likewise.
15364         * sysdeps/posix/system.c: Likewise.
15365         * sysdeps/pthread/aio_suspend.c: Likewise.
15366         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15367         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15368         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15369         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15370         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15371         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15372         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15373         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15374         * sysdeps/unix/sysv/linux/system.c: Likewise.
15375         * sysdeps/x86_64/backtrace.c: Likewise.
15376         * time/alt_digit.c: Likewise.
15377         * time/era.c: Likewise.
15378         * time/tzset.c: Likewise.
15379         * wcsmbs/wcsmbsload.c: Likewise.
15380         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15381         instead of <bits/libc-lock.h> in comment.
15383 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15385         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15386         Only use .set mips2 if the current ISA is below mips2.
15387         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15388         Likewise.
15389         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15390         mips32r2 if the current ISA is below mips32r2.
15391         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15392         (TLS_IE): Updated to use the TLD_RDHWR macro.
15393         (TLS_LE): Likewise.
15394         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15395         __ASSEMBLER__ condition.
15397 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15399         Fix parallel build of before-compile targets.
15401         * sysdeps/mach/Makefile ($(patsubst
15402         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15403         mach-before-compile target.
15404         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15405         io fs process)): Move rule to dedicated hurd-before-compile target.
15407 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15409         Fix rules generating headers in hurd/ and mach/ when initial make call
15410         has subdir= explicitly set.
15412         * sysdeps/mach/Makefile ($(patsubst
15413         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15414         calling $(MAKE).
15415         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15416         io fs process)): Force subdir to hurd when calling $(MAKE).
15417         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15418         subdir to mach when calling $(MAKE).
15420 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15422         Check sysheaders when looking for Mach and Hurd headers
15424         * sysdeps/mach/configure.ac: Add sysheaders check.
15425         * sysdeps/mach/configure: Regenerate.
15426         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15427         * sysdeps/mach/hurd/configure: Regenerate.
15429 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15431         [BZ #18921]
15432         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15433         Fix inverted sense of test of 'o_directory_works' value.
15434         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15435         Bernhard Voelker <mail@bernhard-voelker.de>.
15437 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15439         [BZ #14912]
15440         * bits/linkmap.h: Move to ...
15441         * sysdeps/generic/linkmap.h: ...here.
15442         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15443         * sysdeps/aarch64/linkmap.h: ...here.
15444         * sysdeps/arm/bits/linkmap.h: Move to ...
15445         * sysdeps/arm/linkmap.h: ...here.
15446         * sysdeps/hppa/bits/linkmap.h: Move to ...
15447         * sysdeps/hppa/linkmap.h: ...here.
15448         * sysdeps/ia64/bits/linkmap.h: Move to ...
15449         * sysdeps/ia64/linkmap.h: ...here.
15450         * sysdeps/mips/bits/linkmap.h: Move to ...
15451         * sysdeps/mips/linkmap.h: ...here.
15452         * sysdeps/s390/bits/linkmap.h: Move to ...
15453         * sysdeps/s390/linkmap.h: ...here.
15454         * sysdeps/sh/bits/linkmap.h: Move to ...
15455         * sysdeps/sh/linkmap.h: ...here.
15456         * sysdeps/x86/bits/linkmap.h: Move to ...
15457         * sysdeps/x86/linkmap.h: ...here.
15458         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15460 2015-09-04  Andreas Schwab  <schwab@suse.de>
15462         [BZ #18635]
15463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15464         (__makecontext): Terminate FDE before return label.
15465         (__novec_makecontext): Likewise.
15467 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15469         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15470         first member of struct sv in syscall macro.
15472 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15474         [BZ #14912]
15475         * bits/stdio-lock.h: Move to ...
15476         * sysdeps/generic/stdio-lock.h: ...here.
15477         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15478         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15479         * sysdeps/nptl/stdio-lock.h: ...here.
15480         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15481         * include/libio.h: Include <stdio-lock.h> instead of
15482         <bits/stdio-lock.h>.
15483         * sysdeps/nptl/fork.c: Likewise.
15484         * sysdeps/pthread/flockfile.c: Likewise.
15485         * sysdeps/pthread/ftrylockfile.c: Likewise.
15486         * sysdeps/pthread/funlockfile.c: Likewise.
15488         [BZ #14912]
15489         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15490         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15491         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15492         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15493         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15494         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15495         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15497 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15499         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15500         (test-xfail-tst-protected1b): New variable.
15502 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15504         [BZ #14912]
15505         * bits/libc-tsd.h: Move to ...
15506         * sysdeps/generic/libc-tsd.h: ...here.
15507         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15508         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15509         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15510         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15511         * include/ctype.h: Include <libc-tsd.h> instead of
15512         <bits/libc-tsd.h>.
15513         * include/rpc/rpc.h: Likewise.
15514         * locale/localeinfo.h: Likewise.
15515         * sunrpc/rpc_thread.c: Likewise.
15516         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15517         * sysdeps/nptl/malloc-machine.h: Likewise.
15519         * Makefile (headers): Remove bits/libc-lock.h.
15520         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15522         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15523         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15524         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15525         <bits/stdio-lock.h>.
15526         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15527         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15529 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15531         [BZ #18757]
15532         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15533         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15534         BZ #18757.
15536 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15538         * malloc/mtrace.pl: Filter out NULL entries.
15540 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15542         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15543         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15544         macro.
15546         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15547         (TCP_CC_INFO): Likewise.
15548         (TCP_SAVE_SYN): Likewise.
15549         (TCP_SAVED_SYN): Likewise.
15551 2015-08-31  Brett Neumeier <brett@neumeier.us>
15553         [BZ #18870]
15554         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15556 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15558         [BZ #18873]
15559         Fix broken overflow check in posix_fallocate
15560         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15561         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15562         Fix parenthesization typo.
15564 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15566         [BZ #18887]
15567         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15568         tst-mntent-blank-passno.
15569         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15570         * misc/tst-mntent-blank-corrupt.c: New test.
15571         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15572         * misc/tst-mntent.c (do_test): ... here.
15574 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15576         [BZ #4404]
15577         * po/de.po: Fix SIGALRM typo.
15579 2015-08-28  James Perkins  <james@loowit.net>
15581         * time/tst-strptime2.c (tests): Replace short list of test
15582         strings for strptime %z specifier with code which exhaustively
15583         tests every combination of sign and 0 to 5 digits. Tests for
15584         rejection of invalid strings.
15586 2015-08-28  James Perkins  <james@loowit.net>
15588         [BZ #16141]
15589         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15590         calculation, removing incorrect decimal time rounding, so that
15591         all minute values result in a valid seconds value.
15592         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15593         offset range limits to UTC-99:59 through UTC+99:59 to parse
15594         current and historical use cases.
15595         * time/tst-strptime2.c (tests): Modify and add tests for the
15596         strptime %z input field descriptor, specifically conversion of
15597         minutes to seconds and validating an offset range of -9959 to
15598         +9959.
15600 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15601             Dmitry V. Levin  <ldv@altlinux.org>
15603         [BZ #18877]
15604         * posix/Makefile (tests): Add tst-mmap-offset.
15605         * posix/tst-mmap.c: New file.
15606         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15607         offset calculation for negative values.
15609 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15611         * sysdeps/i386/init-arch.h: New file.
15612         * sysdeps/i386/i586/init-arch.h: Likewise.
15613         * sysdeps/i386/i686/init-arch.h: Likewise.
15614         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15615         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15616         * sysdeps/x86/cpu-features.h (bit_I586): New.
15617         (bit_I686): Likewise.
15618         (bit_CX8): Likewise.
15619         (bit_CMOV): Likewise.
15620         (index_CX8): Likewise.
15621         (index_CMOV): Likewise.
15622         (index_I586): Likewise.
15623         (index_I686): Likewise.
15624         (reg_CX8): Likewise.
15625         (reg_CMOV): Likewise.
15626         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15627         available at compile-time.
15628         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15629         available at compile-time.
15630         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15631         (USE_I686): Likewise.
15633 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15635         * sysdeps/i386/bcopy.S: New file.
15636         * sysdeps/i386/bzero.S: Likewise.
15637         * sysdeps/i386/memcpy.S: Likewise.
15638         * sysdeps/i386/memmove.S: Likewise.
15639         * sysdeps/i386/mempcpy.S: Likewise.
15640         * sysdeps/i386/memset.S: Likewise.
15641         * sysdeps/i386/bzero.c: Removed.
15642         * sysdeps/i386/memset.c: Likewise.
15643         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15644         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15645         * sysdeps/i386/i586/memset_chk.S: Likewise.
15646         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15647         * sysdeps/i386/memcpy_chk.S: Here.
15648         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15649         * sysdeps/i386/memmove_chk.S: Here.
15650         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15651         * sysdeps/i386/mempcpy_chk.S: Likewise.
15652         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15653         * sysdeps/i386/memset_chk.S: Likewise.
15655 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15657         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15658         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15659         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15660         * soft-fp/fmadf4.c: Ditto.
15661         * soft-fp/fmatf4.c: Ditto.
15663 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15665         * sysdeps/i386/i586/Implies: Removed.
15666         * sysdeps/i386/i686/Implies: Likewise.
15668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15670         * sysdeps/i386/i486/strlen.S: Moved to ...
15671         * sysdeps/i386/strlen.S: Here.
15673 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15675         * sysdeps/i386/i486/strcat.S: Moved to ...
15676         * sysdeps/i386/strcat.S: Here.
15678 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15680         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15681         * sysdeps/i386/pthread_spin_trylock.S: Here.
15682         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15683         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15685 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15687         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15688         * sysdeps/i386/string-inlines.c: Here.
15690 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15692         * sysdeps/i386/i486/htonl.S: Moved ...
15693         * sysdeps/i386/htonl.S: here.
15695 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15697         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15698         * sysdeps/i386/bits/atomic.h: Here.
15700 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15702         * sysdeps/i386/i486/Versions: Removed.
15704 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15706         [BZ #2898]
15707         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15708         Based on patch by Aurelien Jarno.
15710 2015-08-26  Stan Shebs  <stanshebs@google.com>
15712         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15713         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15715 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15717         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15718         * sysdeps/powerpc/dl-procinfo.c:
15719         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15720         feature so it shows when LD_SHOW_AUXV=1.
15722 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15724         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15725         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15726         definition.  ISA 2.07B no longer requires full sync.
15728 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15730         [BZ #18863]
15731         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15732         (si_call_addr): Define.
15733         (si_syscall): Define.
15734         (si_arch): Define.
15736 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15738         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15739         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15740         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15741         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15742         (__memset_zero_constant_len_parameter): New.
15743         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15744         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15745         (__memset_zero_constant_len_parameter): Don't define if
15746         __memset_chk or USE_AS_BZERO are defined.
15748         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15749         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15750         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15752         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15753         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15754         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15755         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15756         comments.
15757         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15758         -mno-mmx for $(all-rtld-routines).
15759         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15760         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15761         i386.
15763 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15765         * sysdeps/generic/unwind.h
15766         (_Unwind_Word): Use __mode__(__unwind_word__)
15767         instead of __mode__(__word__).
15768         (_Unwind_Sword): Likewise.
15770         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15771         (MAX_NEEDED_INPUT): New define.
15772         (MAX_NEEDED_OUTPUT): New define.
15774         * NEWS: New item for IBM z13 string optimizations.
15776         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15777         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15778         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15779         * sysdeps/s390/multiarch/Makefile
15780         (sysdep_routines): Add memrchr functions.
15781         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15782         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15784         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15785         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15786         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15787         * sysdeps/s390/multiarch/Makefile
15788         (sysdep_routines): Add wmemcmp functions.
15789         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15790         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15791         * benchtests/bench-wmemcmp.c: New File.
15792         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15794         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15795         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15796         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15797         * sysdeps/s390/multiarch/Makefile
15798         (sysdep_routines): Add wmemset functions.
15799         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15800         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15801         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15802         * string/test-memset.c: Add wmemset support.
15803         * wcsmbs/test-wmemset.c: New File.
15804         * wcsmbs/Makefile (strop-tests): Add wmemset.
15805         * benchtests/bench-memset.c: Add wmemset support.
15806         * benchtests/bench-wmemset.c: New File.
15807         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15809         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15810         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15811         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15812         * sysdeps/s390/multiarch/Makefile
15813         (sysdep_routines): Add memccpy functions.
15814         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15815         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15816         * string/memccpy.c: Use MEMCCPY if defined.
15818         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15819         * sysdeps/s390/multiarch/memchr.c: Likewise.
15820         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15821         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15822         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15823         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15824         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15825         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15826         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15827         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15828         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15829         and rawmemchr functions.
15830         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15831         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15832         and wmemchr.
15833         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15834         * string/test-memchr.c: Add wmemchr support.
15835         * wcsmbs/test-wmemchr.c: New File.
15836         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15837         * benchtests/bench-memchr.c: Add wmemchr support.
15838         * benchtests/bench-wmemchr.c: New File.
15839         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15841         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15842         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15843         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15844         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15845         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15846         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15848         wcscspn functions.
15849         * sysdeps/s390/multiarch/ifunc-impl-list.c
15850         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15851         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15852         * string/test-strcspn.c: Add wcscspn support.
15853         * wcsmbs/test-wcscspn.c: New File.
15854         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15855         * benchtests/bench-strcspn.c: Add wcscspn support.
15856         * benchtests/bench-wcscspn.c: New File.
15857         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15859         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15860         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15861         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15862         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15863         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15864         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15866         wcspbrk functions.
15867         * sysdeps/s390/multiarch/ifunc-impl-list.c
15868         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15869         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15870         * string/test-strpbrk.c: Add wcspbrk support.
15871         * wcsmbs/test-wcspbrk.c: New File.
15872         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15873         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15874         * benchtests/bench-wcspbrk.c: New File.
15875         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15877         * sysdeps/s390/multiarch/strspn-c.c: New File.
15878         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15879         * sysdeps/s390/multiarch/strspn.c: Likewise.
15880         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15881         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15882         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15883         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15885         wcsspn functions.
15886         * sysdeps/s390/multiarch/ifunc-impl-list.c
15887         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15888         * string/test-strspn.c: Add wcsspn support.
15889         * wcsmbs/test-wcsspn.c: New File.
15890         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15891         * benchtests/bench-strspn.c: Add wcsspn support.
15892         * benchtests/bench-wcsspn.c: New File.
15893         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15895         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15896         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15897         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15898         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15899         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15900         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15902         wcsrchr functions.
15903         * sysdeps/s390/multiarch/ifunc-impl-list.c
15904         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15905         * benchtests/bench-wcsrchr.c: New File.
15906         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15908         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15909         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15910         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15911         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15912         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15913         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15915         wcschrnul functions.
15916         * sysdeps/s390/multiarch/ifunc-impl-list.c
15917         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15918         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15919         * string/test-strchr.c: Add wcschrnul support.
15920         * wcsmbs/test-wcschrnul.c: New File.
15921         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15922         * benchtests/bench-strchr.c: Add wcschrnul support.
15923         * benchtests/bench-wcschrnul.c: New File.
15924         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15926         * sysdeps/s390/multiarch/strchr-c.c: New File.
15927         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15928         * sysdeps/s390/multiarch/strchr.c: Likewise.
15929         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15930         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15931         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15932         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15933         wcschr functions.
15934         * sysdeps/s390/multiarch/ifunc-impl-list.c
15935         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15936         * string/strchr.c (STRCHR): Define and use macro.
15937         * benchtests/bench-wcschr.c: New File.
15938         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15940         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15941         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15942         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15943         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15944         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15945         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15947         wcsncmp functions.
15948         * sysdeps/s390/multiarch/ifunc-impl-list.c
15949         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15950         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15951         * benchtests/bench-strncmp.c: Add wcsncmp support.
15952         * benchtests/bench-wcsncmp.c: New File.
15953         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15955         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15956         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15957         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15958         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15959         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15960         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15961         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15962         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15963         wcscmp functions.
15964         * sysdeps/s390/multiarch/ifunc-impl-list.c
15965         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15966         * string/strcmp.c (STRCMP): Define and use macro.
15967         * benchtests/bench-wcscmp.c: New File.
15968         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15969         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15970         instead of _HAVE_STRING_ARCH_memchr.
15972         * sysdeps/s390/multiarch/strncat-c.c: New File.
15973         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15974         * sysdeps/s390/multiarch/strncat.c: Likewise.
15975         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15976         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15977         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15978         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15979         wcsncat functions.
15980         * sysdeps/s390/multiarch/ifunc-impl-list.c
15981         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15982         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15983         * string/test-strncat.c: Add wcsncat support.
15984         * wcsmbs/test-wcsncat.c: New File.
15985         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15986         * benchtests/bench-strncat.c: Add wcsncat support.
15987         * benchtests/bench-wcsncat.c: New File.
15988         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15990         * sysdeps/s390/multiarch/strcat-c.c: New File.
15991         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15992         * sysdeps/s390/multiarch/strcat.c: Likewise.
15993         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15994         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15995         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15997         wcscat functions.
15998         * sysdeps/s390/multiarch/ifunc-impl-list.c
15999         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16000         * string/strcat.c (STRCAT): Define and use macro.
16001         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16002         * string/test-strcat.c: Add wcscat support.
16003         * wcsmbs/test-wcscat.c: New File.
16004         * wcsmbs/Makefile (strop-tests): Add wcscat.
16005         * benchtests/bench-strcat.c: Add wcscat support.
16006         * benchtests/bench-wcscat.c: New File.
16007         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16009         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16010         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16011         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16012         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16013         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16014         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16015         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16016         wcpncpy functions.
16017         * sysdeps/s390/multiarch/ifunc-impl-list.c
16018         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16019         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16020         * string/test-stpncpy.c: Add wcpncpy support.
16021         * wcsmbs/test-wcpncpy.c: New File.
16022         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16023         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16024         * benchtests/bench-wcpncpy.c: New File.
16025         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16027         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16028         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16029         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16030         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16031         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16032         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16033         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16035         wcsncpy functions.
16036         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16037         * sysdeps/s390/multiarch/ifunc-impl-list.c
16038         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16039         * string/test-strncpy.c: Add wcsncpy support.
16040         * wcsmbs/test-wcsncpy.c: New File.
16041         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16042         * benchtests/bench-strncpy.c: Add wcsncpy support.
16043         * benchtests/bench-wcsncpy.c: New File.
16044         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16046         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16047         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16048         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16049         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16050         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16051         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16053         wcpcpy functions.
16054         * string/stpcpy.c: Use STPCPY if defined.
16055         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16056         * sysdeps/s390/multiarch/ifunc-impl-list.c
16057         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16058         * string/test-stpcpy.c: Add wcpcpy support.
16059         * wcsmbs/test-wcpcpy.c: New File.
16060         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16061         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16062         * benchtests/bench-wcpcpy.c: New File.
16063         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16065         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16066         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16067         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16068         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16069         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16070         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16071         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16073         wcscpy functions.
16074         * sysdeps/s390/multiarch/ifunc-impl-list.c
16075         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16076         * benchtests/bench-wcscpy.c: New File.
16077         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16079         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16080         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16081         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16082         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16083         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16084         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16086         wcsnlen functions.
16087         * sysdeps/s390/multiarch/ifunc-impl-list.c
16088         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16089         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16090         * string/test-strnlen.c: Add wcsnlen support.
16091         * wcsmbs/test-wcsnlen.c: New File.
16092         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16093         * benchtests/bench-strnlen.c: Add wcsnlen support.
16094         * benchtests/bench-wcsnlen.c: New File.
16095         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16097         * sysdeps/s390/multiarch/Makefile: New File.
16098         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16099         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16100         * sysdeps/s390/multiarch/strlen.c: Likewise.
16101         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16102         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16103         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16104         * string/strlen.c (STRLEN): Define and use macro.
16105         * sysdeps/s390/multiarch/ifunc-impl-list.c
16106         (IFUNC_VX_IMPL): New macro function.
16107         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16108         * benchtests/Makefile (wcsmbs-bench): New variable.
16109         (string-bench-all): Added wcsmbs-bench.
16110         * benchtests/bench-wcslen.c: New File.
16112         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16113         s390_vx_libc_ifunc2): New macro function.
16115         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16116         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16117         assembler support.
16118         * sysdeps/s390/configure: Regenerated.
16120         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16121         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16123         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16124         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16125         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16127         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16128         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16130         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16131         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16132         (memcmp, bcmp): Use __memcmp_default as alias source.
16133         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16134         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16135         Rename to __memcmp_default.
16136         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16137         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16138         (memcpy): Use __memcpy_default as alias source.
16139         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16140         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16141         Rename to __memcpy_default.
16142         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16143         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16144         (memset): Use __memset_default as alias source.
16145         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16146         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16147         Rename to __memset_default.
16148         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16149         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16150         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16151         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16152         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16153         (memcmp, bcmp): Use __memcmp_default as alias source.
16154         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16155         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16156         Rename to __memcmp_default.
16157         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16158         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16159         (memcpy): Use __memcpy_default as alias source.
16160         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16161         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16162         Rename to __memcpy_default.
16163         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16164         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16165         (memset): Use __memset_default as alias source.
16166         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16167         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16168         Rename to __memset_default.
16169         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16170         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16172         [BZ #18610]
16173         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16174         __ieee_instruction_pointer to __unused.
16175         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16176         __ieee_instruction_pointer.
16177         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16178         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16179         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16180         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16181         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16182         Mark dxc-field as reserved.
16184 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16186         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16187         if the weak reference is not null.
16189 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16191         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16193         [BZ #11214]
16194         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16196 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16198         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16199         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16200         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16201         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16202         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16203         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16204         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16205         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16206         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16207         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16208         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16209         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16210         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16211         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16212         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16213         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16214         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16215         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16217 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16219         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16220         register other than r0 for tabort, it has special meaning.
16221         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16222         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16223         transaction before starting syscall.
16225 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16227         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16229 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16231         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16233         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16234         * sysdeps/x86_64/rtld-memset.S: Likewise.
16235         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16236         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16237         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16238         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16240         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16242 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16244         * debug/strcpy_chk.c: Improve performance.
16245         * debug/stpcpy_chk.c: Likewise.
16246         * sysdeps/x86_64/strcpy_chk.S: Remove.
16247         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16249         [BZ #18240]
16250         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16252 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16254         [BZ #15128]
16255         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16256         ifuncmain8.
16257         (modules-names): Add ifuncmod8.
16258         ($(objpfx)ifuncmain8): New rule.
16259         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16260         <cpuid.h>.
16261         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16262         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16263         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16264         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16265         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16266         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16267         * sysdeps/x86_64/ifuncmain8.c: New file.
16268         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16269         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16270         Removed.
16271         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16272         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16273         Change rtld_savespace_sse to __glibc_unused2.
16274         (RTLD_CHECK_FOREIGN_CALL): Removed.
16275         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16276         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16277         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16279 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16281         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16283 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16285         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16286         Unconditionally set __fpcr to avoid uninialized warning.
16287         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16289 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16291         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16292         is corrupt.
16294         * malloc/arena.c (arena_get2): Drop unused argument.
16295         (arena_lock): Adjust.
16296         (arena_get_retry): Likewise.
16298 2015-08-24  Andreas Schwab  <schwab@suse.de>
16300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16301         Don't define.
16302         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16303         (__ASSUME_IPC64): Don't undef.
16304         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16305         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16306         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16307         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16308         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16309         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16310         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16311         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16312         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16313         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16314         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16315         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16316         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16317         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16318         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16319         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16320         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16321         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16322         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16323         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16324         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16326 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16328         * manual/Makefile (install): Only build manual when perl is available.
16330 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16332         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16333         '#undef memcpy' by '#undef memchr'.
16335 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16337         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16338         memchr not point to the internal __GI_memchr implementation.
16340 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16342         * timezone/Makefile (CFLAGS-zdump.c): Remove
16343         -Wno-strict-prototypes.
16344         (CFLAGS-zic.c): Likewise.
16345         (CFLAGS-ialloc.c): Likewise.
16346         (CFLAGS-scheck.c): Likewise.
16348         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16349         -Wno-error=undef.
16351 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16353         * i386/i686/multiarch/strcasestr-c.c: Removed.
16354         * x86_64/multiarch/strcasestr.c: Likewise.
16355         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16356         Remove strcasestr.
16358 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16360         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16362         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16363         variables for high and low parts before possibly modifying them.
16365 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16367         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16368         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16369         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16370         of "multiarch/init-arch.h".
16371         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16372         * sysdeps/x86/init-arch.h: This.
16374 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16376         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16377         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16379 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16381         [BZ #17787]
16382         * manual/macros.texi: Add twoexp macro.
16383         * manual/filesys.texi: Fix exponents.
16384         * manual/llio.texi: Likewise.
16385         * manual/stdio.texi: Likewise.
16387 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16389         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16390         incorrect use.
16392 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16394         [BZ #18370]
16395         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16396         whose real or imaginary part has small absolute value.
16397         * math/s_csqrtf.c (__csqrtf): Likewise.
16398         * math/s_csqrtl.c (__csqrtl): Likewise.
16399         * math/auto-libm-test-in: Add more tests of csqrt.
16400         * math/auto-libm-test-out: Regenerated.
16401         * sysdeps/i386/fpu/libm-test-ulps: Update.
16403 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16405         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16406         __ppc_set_ppr_very_low): New functions.
16407         * manual/platform.texi: Add documentation about
16408         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16410 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16412         * string/stpncpy.c (stpncpy): Improve performance using
16413         __strnlen/memcpy/memset.
16415 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16417         [BZ #18796]
16418         * scripts/test-installation.pl: Don't add -lmvec to build options if
16419         libmvec wasn't built.
16421 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16423         [BZ #14341]
16424         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16425         case when there is a gap between DT_REL and DT_JMPREL sections.
16426         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16427         (LDFLAGS-tst-split-dynreloc): New.
16428         (tst-split-dynreloc-ENV): Likewise.
16429         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16430         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16432 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16434         [BZ #18822]
16435         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16436         attribute_hidden.
16437         (__xstat64_conv): Likewise.
16438         (__xstat32_conv): Likewise.
16440 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16442         [BZ #18822]
16443         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16444         Don't load %ebx when calling __setcontext.  Call __setcontext
16445         with HIDDEN_JUMPTARGET.
16446         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16447         libc_hidden_def.
16449 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16451         * sysdeps/i386/i686/Makefile
16452         [$(subdir) == string] (sysdep_routines): Moved to ...
16453         * sysdeps/i386/Makefile: Here.
16454         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16455         * sysdeps/i386/cacheinfo.c: Here.
16456         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16457         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16458         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16459         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16461 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16463         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16464         __i586__ is defined.
16465         (HAS_I686): Defined to 1 if __i686__ is defined.
16467 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16469         * elf/Makefile [$(have-z-execstack) = yes]
16470         (CPPFLAGS-tst-execstack.c): New variable.
16472         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16473         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16474         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16475         UTMPX || _HAVE_UT_TV].
16476         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16477         UTMPX || _HAVE_UT_TV - 0].
16479 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16481         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16482         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16483         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16485 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16487         * sysdeps/powerpc/dl-procinfo.c:
16488         (_dl_powerpc_cap_flags): Added missing strings for some
16489         hwcap features.
16490         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16492 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16494         Port the 0x7efe...feff pattern to GCC 6.
16495         See Steve Ellcey's bug report in:
16496         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16497         * string/memrchr.c (MEMRCHR):
16498         * string/rawmemchr.c (RAWMEMCHR):
16499         * string/strchr.c (strchr):
16500         * string/strchrnul.c (STRCHRNUL):
16501         Rewrite code to avoid issues with signed shift overflow.
16503 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16505         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16506         whether cpuid is available only if HAS_CPUID is 0.
16507         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16508         (HAS_I586): Likewise.
16509         (HAS_I686): Likewise.
16511 2015-08-18  Zack Weinberg  <zackw@panix.com>
16513         * misc/Versions (libc): Add GLIBC_2.23.
16515 2015-08-18  Alan Modra  <amodra@gmail.com>
16517         [BZ #18421]
16518         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16519         .Lp__global.
16520         (_start): Load %dp via .Lp__global.
16521         [!SHARED]: Use .section .rodata.
16523 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16525         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16526         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16528 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16530         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16531         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16533 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16535         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16536         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16538 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16540         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16541         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16543 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16545         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16546         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16548 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16550         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16551         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16553 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16555         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16557 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16559         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16560         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16561         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16562         (__ASSUME_LWS_CAS): Delete.
16564 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16566         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16567         * sysdeps/hppa/configure: Regenerated.
16568         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16569         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16570         * sysdeps/hppa/nptl/tls.h: Likewise.
16572 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16574         [BZ #18823]
16575         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16576         for scaling up small arguments.
16577         * math/s_csqrtf.c (__csqrtf): Likewise.
16578         * math/s_csqrtl.c (__csqrtl): Likewise.
16579         * math/auto-libm-test-in: Add more tests of csqrt.
16580         * math/auto-libm-test-out: Regenerated.
16582 2015-08-17  Andreas Schwab  <schwab@suse.de>
16584         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16585         version set GLIBC_2.19.
16587 2015-08-16  Zack Weinberg  <zackw@panix.com>
16589         [BZ #18681]
16590         * misc/regexp.h: This interface is no longer supported.
16591         Remove all contents, leaving only an #error directive.
16592         * misc/regexp.c (loc1, loc2, locs, step, advance):
16593         Demote to compatibility symbols.
16595 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16597         [BZ #18084]
16598         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16599         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16600         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16601         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16602         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16603         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16604         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16605         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16606         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16608 2015-08-15  Zack Weinberg  <zackw@panix.com>
16610         [BZ #18795]
16611         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16612         buffer length is known to be too large, not if it's known to be
16613         small enough.
16614         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16615         overflow at runtime, involving a length parameter, twice: once
16616         with a compile-time constant length parameter, once without.
16618 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16620         [BZ #18824]
16621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16622         scaling x * y up instead of down.
16623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16625         * math/auto-libm-test-in: Add more tests of fma.
16626         * math/auto-libm-test-out: Regenerated.
16628 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16632 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16634         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16635         unnecessary movq.
16636         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16637         Likewise.
16639 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16641         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16642         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16643         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16644         and tgamma.
16645         * math/auto-libm-test-out: Regenerated.
16646         * sysdeps/i386/fpu/libm-test-ulps: Update.
16647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16649         [BZ #16520]
16650         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16651         (__tanh): Force underflow exception for arguments with small
16652         absolute value.
16653         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16654         (__tanhf): Force underflow exception for arguments with small
16655         absolute value.
16656         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16657         (__tanhl): Force underflow exception for arguments with small
16658         absolute value.
16659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16660         (__tanhl): Force underflow exception for arguments with small
16661         absolute value.
16662         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16663         (__tanhl): Force underflow exception for arguments with small
16664         absolute value.
16665         * math/auto-libm-test-in: Add more tests of tanh.
16666         * math/auto-libm-test-out: Regenerated.
16667         * sysdeps/i386/fpu/libm-test-ulps: Update.
16669 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16671         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16672         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16674 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16676         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16677         <cpuid.h>.
16679 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16681         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16682         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16684 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16686         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16687         Remove $(objpfx)init-arch.o.
16688         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16689         init-arch.
16690         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16691         (INIT_ARCH_EXT): Defined as empty.
16692         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16693         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16694         __init_cpu_features call.  Replace HAS_XXX with
16695         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16696         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16697         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16698         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16699         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16700         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16701         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16702         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16703         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16704         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16705         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16706         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16707         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16708         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16709         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16710         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16711         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16712         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16713         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16714         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16722         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16723         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16727         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16729         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16730         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16732 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16734         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16735         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16736         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16737         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16738         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16739         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16740         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16741         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16742         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16743         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16744         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16745         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16746         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16747         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16748         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16749         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16750         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16751         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16752         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16753         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16754         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16755         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16756         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16757         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16758         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16759         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16760         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16761         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16762         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16763         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16764         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16765         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16766         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16767         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16768         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16769         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16770         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16771         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16772         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16773         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16774         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16775         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16776         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16778 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16781         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16782         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16784         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16785         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16786         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16787         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16788         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16790         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16791         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16792         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16793         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16794         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16795         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16796         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16797         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16798         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16799         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16801         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16802         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16803         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16804         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16805         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16806         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16807         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16808         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16809         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16810         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16811         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16812         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16813         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16814         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16815         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16816         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16817         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16818         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16819         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16820         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16821         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16822         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16824 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16826         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16827         (dl_platform_init): Call init_cpu_features.
16828         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16829         * sysdeps/i386/i686/cacheinfo.c
16830         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16831         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16832         * sysdeps/i386/i686/multiarch/Versions: Removed.
16833         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16834         Removed.
16835         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16836         * sysdeps/unix/sysv/linux/x86/Makefile
16837         (libpthread-sysdep_routines): Remove init-arch.
16838         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16839         <sysdeps/x86_64/dl-procinfo.c> instead of
16840         sysdeps/generic/dl-procinfo.c>.
16841         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16842         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16843         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16844         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16845         [$(subdir) == elf] (tests-static): Add
16846         tst-get-cpu-features-static.
16847         * sysdeps/x86/Versions: New file.
16848         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16849         * sysdeps/x86/cpu-features.c: Likewise.
16850         * sysdeps/x86/cpu-features.h: Likewise.
16851         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16852         * sysdeps/x86/libc-start.c: Likewise.
16853         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16854         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16855         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16856         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16857         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16858         Assume USE_MULTIARCH is defined and don't check it.
16859         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16860         (is_amd): Likewise.
16861         (max_cpuid): Likewise.
16862         (intel_check_word): Likewise.
16863         (__cache_sysconf): Don't call __init_cpu_features.
16864         (__x86_preferred_memory_instruction): Removed.
16865         (init_cacheinfo): Don't call __init_cpu_features. Replace
16866         __cpu_features with GLRO(dl_x86_cpu_features).
16867         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16868         (dl_platform_init): Call init_cpu_features.
16869         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16870         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16871         * sysdeps/x86_64/multiarch/Versions: Removed.
16872         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16873         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16874         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16875         Removed.
16876         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16878 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16880         [BZ #18820]
16881         * libio/Makefile (test-fmemopen-mem): New test.
16882         * libio/test-fmemopen.c (do_bz18820): New test.
16883         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16884         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16886 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16888         [BZ #16734]
16889         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16890         (FREE_BUF): Delete.
16891         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16892         * libio/genops.c (_IO_setb): Use malloc and free directly.
16893         (_IO_default_doallocate, _IO_default_finish): Likewise.
16894         ( _IO_unbuffer_all): Likewise.
16895         ( libc_freeres_fn): Likewise.
16896         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16897         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16898         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16899         (_IO_wdefault_doallocate): Likewise.
16901 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16903         [BZ #18086]
16904         * sysdeps/posix/nice.c (nice): Restore old errno.
16905         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16907 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16909         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16911 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16913         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16914         __bcopy and add a weak_alias to bcopy.
16915         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16916         for static build.
16918         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16919         cleanup macro usage.
16920         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16923         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16924         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16925         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16926         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16927         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16928         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16929         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16931         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16933         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16934         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16935         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16936         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16937         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16938         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16940         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16941         libc_hidden_def.
16942         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16944         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16945         (sysdep_routines): Add strstr-ppc64.
16946         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16948 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16950         [BZ #18778]
16951         * elf/Makefile (tests): Add Add tst-nodelete2.
16952         (modules-names): Add tst-nodelete2mod.
16953         (tst-nodelete2mod.so-no-z-defs): New.
16954         ($(objpfx)tst-nodelete2): Likewise.
16955         ($(objpfx)tst-nodelete2.out): Likewise.
16956         (LDFLAGS-tst-nodelete2): Likewise.
16957         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16958         out of loop through all loaded libraries.
16959         * elf/tst-nodelete2.c: New file.
16960         * elf/tst-nodelete2mod.c: Likewise.
16961         * elf/tst-znodelete-zlib.cc: Delete.
16963 2015-08-11  Andreas Schwab  <schwab@suse.de>
16965         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16966         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16967         (__openat64_nocancel): Likewise.
16969 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16971         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16972         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16973         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16974         * math/auto-libm-test-out: Regenerated.
16975         * sysdeps/i386/fpu/libm-test-ulps: Update.
16976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16978 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16980         [BZ #18790]
16981         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16982         threshold for returning +/- 1.
16983         * math/auto-libm-test-in: Add more tests of tanh.
16984         * math/auto-libm-test-out: Regenerated.
16985         * sysdeps/i386/fpu/libm-test-ulps: Update.
16987 2015-08-10  Andreas Schwab  <schwab@suse.de>
16989         [BZ #18781]
16990         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16991         MORE_OFLAGS to oflag.
16992         * io/test-lfs.c (do_test): Test openat64.
16994 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16996         [BZ #18789]
16997         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16998         smaller threshold for returning the argument.
16999         * math/auto-libm-test-in: Add more tests of sinh.
17000         * math/auto-libm-test-out: Regenerated.
17001         * sysdeps/i386/fpu/libm-test-ulps: Update.
17003 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17005         [BZ #18674]
17006         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17007         break.
17009 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17011         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17012         (generated): Don't add $(addprefix z.,$(tzfiles)).
17014 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17016         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17017         * scripts/sysd-rules.awk: Likewise.
17019 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17021         * iconvdata/tst-tables.sh: Change echo -n to printf.
17022         * nss/db-Makefile: Likewise.
17023         * posix/tst-getconf.sh: Likewise.
17024         * stdio-common/tst-unbputc.sh: Likewise.
17026 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17028         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17029         MADV_*_PAGES defines behind this feature check.
17031 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17033         [BZ #18480]
17034         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17035         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17036         Define.
17037         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17038         LOAD_REGS_5, LOAD_REGS_6): Update.
17039         (INTERNAL_SYSCALL): Update using new LOAD defines.
17040         (INTERNAL_SYSCALL_NCS): Likewise.
17041         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17043 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17045         [BZ #16734]
17046         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17048 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17050         [BZ #17905]
17051         * catgets/Makefile (tst-catgets-mem): New test.
17052         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17053         * catgets/open_catalog.c (__open_catalog): Likewise.
17054         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17056 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17058         [BZ #18787]
17059         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17060         clobber registers.
17061         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17062         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17063         Cast return to __typeof (oldval).
17065 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17067         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17068         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17069         and delete sys/syscall.h include.
17071 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17073         [BZ #16517]
17074         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17075         (tan): Force underflow exception for arguments with small absolute
17076         value.
17077         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17078         (__kernel_tanf): Force underflow exception for arguments with
17079         small absolute value.
17080         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17081         (__kernel_tanl): Force underflow exception for arguments with
17082         small absolute value.
17083         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17084         (__kernel_tanl): Force underflow exception for arguments with
17085         small absolute value.
17086         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17087         (__kernel_tanl): Force underflow exception for arguments with
17088         small absolute value.
17089         * math/auto-libm-test-in: Add more tests of tan.
17090         * math/auto-libm-test-out: Regenerated.
17092 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17094         Fix sysdeps/i386/fpu/s_scalbn.S build
17096         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17098 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17100         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17102 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17104         Fix gcrt0.o compilation
17106         When static-start-installed-name is different from
17107         start-installed-name, we must not use the shared objects.
17109         * csu/Makefile
17110         (extra-objs): Add gmon-start.o when building shared library and
17111         $(static-start-installed-name) is different from
17112         $(start-installed-name).
17113         $(objpfx)g$(static-start-installed-name): When building shared
17114         library and $(static-start-installed-name) is different from
17115         $(static-start-installed-name), revert to non-shared rule,
17116         i.e. using $(objpfx)% and gmon-start.o.
17118 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17120         [BZ #16519]
17121         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17122         (__ieee754_sinh): Force underflow exception for arguments with
17123         small absolute value.
17124         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17125         (__ieee754_sinhf): Force underflow exception for arguments with
17126         small absolute value.
17127         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17128         (__ieee754_sinhl): Force underflow exception for arguments with
17129         small absolute value.
17130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17131         (__ieee754_sinhl): Force underflow exception for arguments with
17132         small absolute value.
17133         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17134         (__ieee754_sinhl): Force underflow exception for arguments with
17135         small absolute value.
17136         * math/auto-libm-test-in: Add more tests of sinh.
17137         * math/auto-libm-test-out: Regenerated.
17138         * sysdeps/i386/fpu/libm-test-ulps: Update.
17140 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17142         * libio/oldfileops.c: Include unistd.h.
17144 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17146         * stdlib/isomac.c: Include ctype.h.
17148 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17150         * dirent/tst-seekdir.c (main): Converted to ...
17151         (do_test): ... this.
17152         (TEST_FUNCTION): New macro.
17153         Include test-skeleton.c.
17154         * elf/tst-dlmodcount.c (main): Converted to ...
17155         (do_test): ... this.
17156         (TEST_FUNCTION): New macro.
17157         Include test-skeleton.c.
17158         * elf/tst-order-main.c (main): Converted to ...
17159         (do_test): ... this.
17160         (TEST_FUNCTION): New macro.
17161         Include test-skeleton.c.
17162         * elf/tst-pie2.c (main): Converted to ...
17163         (do_test): ... this.
17164         (TEST_FUNCTION): New macro.
17165         Include test-skeleton.c.
17166         * inet/tst-ether_aton.c (main): Converted to ...
17167         (do_test): ... this.
17168         (TEST_FUNCTION): New macro.
17169         Include test-skeleton.c.
17170         * misc/tst-mntent.c (main): Converted to ...
17171         (do_test): ... this.
17172         (TEST_FUNCTION): New macro.
17173         Include test-skeleton.c.
17174         * misc/tst-tsearch.c (main): Converted to ...
17175         (do_test): ... this.
17176         (TEST_FUNCTION): New macro.
17177         Include test-skeleton.c.
17178         * posix/tst-regexloc.c (main): Converted to ...
17179         (do_test): ... this.
17180         (TEST_FUNCTION): New macro.
17181         Include test-skeleton.c.
17182         * resolv/tst-aton.c (main): Converted to ...
17183         (do_test): ... this.
17184         (TEST_FUNCTION): New macro.
17185         Include test-skeleton.c.
17186         * stdio-common/test-fwrite.c (main): Converted to ...
17187         (do_test): ... this.
17188         (TEST_FUNCTION): New macro.
17189         Include test-skeleton.c.
17190         * stdio-common/tst-ferror.c (main): Converted to ...
17191         (do_test): ... this.
17192         (TEST_FUNCTION): New macro.
17193         Include test-skeleton.c.
17194         * stdio-common/tst-printf.c (main): Converted to ...
17195         (do_test): ... this.
17196         (TEST_FUNCTION): New macro.
17197         Include test-skeleton.c.
17198         * stdio-common/tst-printfsz.c (main): Converted to ...
17199         (do_test): ... this.
17200         (TEST_FUNCTION): New macro.
17201         Include test-skeleton.c.
17202         * stdlib/tst-strtod.c (main): Converted to ...
17203         (do_test): ... this.
17204         (TEST_FUNCTION): New macro.
17205         Include test-skeleton.c.
17206         * string/tst-strlen.c (main): Converted to ...
17207         (do_test): ... this.
17208         (TEST_FUNCTION): New macro.
17209         Include test-skeleton.c.
17210         * string/tst-svc.c (main): Converted to ...
17211         (do_test): ... this.
17212         (TEST_FUNCTION): New macro.
17213         Include test-skeleton.c.
17214         * time/tst-strptime.c (main): Converted to ...
17215         (do_test): ... this.
17216         (TEST_FUNCTION): New macro.
17217         Include test-skeleton.c.
17218         * timezone/tst-timezone.c (main): Converted to ...
17219         (do_test): ... this.
17220         (TEST_FUNCTION): New macro.
17221         Include test-skeleton.c.
17223 2015-08-05  Zack Weinberg  <zackw@panix.com>
17225         * misc/regexp.h: Update comments.
17227 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17229         [BZ #18635]
17230         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17231         before return label.
17233 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17235         [BZ #18661]
17236         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17237         when calling __errno_location.
17238         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17239         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17241 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17243         [BZ #18661]
17244         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17245         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17246         __gettimeofday.
17248 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17250         [BZ #18661]
17251         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17252         (__start_context): Don't use pop to restore %rdi so that stack
17253         is aligned to 16 bytes when calling __setcontext.
17255 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17257         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17258         only for libc.
17259         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17261 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17263         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17264         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17265         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17267 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17269         * string/memccpy.c (memccpy):
17270         Improve performance by using memchr/memcpy/__mempcpy.
17272 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17274         * string/strncpy.c (strncpy):
17275         Improve performance by using __strnlen/memcpy.
17277 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17279         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17280         Optimize to avoid an unnecessary FPCR read.
17282 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17284         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17285         Optimize to reduce FPCR/FPSR accesses.
17287 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17289         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17290         dead->data[category] != NULL.
17292 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17294         [BZ #18647]
17295         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17296         and |x| close to 1, use absolute value of x when computing log.
17297         * math/auto-libm-test-in: Add more tests of pow.
17298         * math/auto-libm-test-out: Regenerated.
17300 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17302         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17303         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17304         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17306 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17308         [BZ #18525]
17309         * locales/km_KH: Remove timezone definition.
17310         * locales/lo_LA: Likewise.
17311         * locales/my_MM: Likewise.
17312         * locales/nan_TW@latin: Likewise.
17313         * locales/th_TH: Likewise.
17314         * locales/uk_UA: Likewise.
17316 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17318         [BZ #18265]
17319         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17320         (wcsncat): Likewise.
17321         (wcscmp): Likewise.
17322         (wcsncmp): Likewise.
17324 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17326         * test-skeleton.c (usage): New function.
17327         (main): Call usage when opt is '?'.
17329 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17331         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17332         before first use.
17334 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17336         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17337         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17338         in there too.
17340 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17342         * version.h (RELEASE): Set to "development".
17343         (VERSION): Set to "2.22.90"
17345         * version.h (RELEASE): Set to "stable".
17346         (VERSION): Set to "2.22"
17347         * include/features.h (__GLIBC_MINOR__): Set to 22.
17349 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17351         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17352         Restructure macro to avoid "value computed is not used" warning.
17353         (atomic_compare_and_exchange_val_acq): Likewise.
17355 2015-08-04  Andreas Schwab  <schwab@suse.de>
17357         [BZ #18635]
17358         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17359         ret.
17360         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17362 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17364         * po/pl.po: Updated translation.
17365         * po/uk.po: Likewise.
17366         * po/fi.po: Likewise.
17367         * po/ko.po: Likewise.
17368         * po/ru.po: Likewise.
17369         * po/vi.po: Likewise.
17371 2015-07-31  Zack Weinberg  <zackw@panix.com>
17373         [BZ #18681]
17374         * regexp.h: Add unconditional #warning stating that this header
17375         will be removed soon.  Revise banner comment to match.
17376         (compile): Consistently use ERROR instead of RETURN to report
17377         errors (partial fix for bz#18681).
17378         * regexp.c: Don't include regexp.h. Remove some unnecessary
17379         declarations.
17381 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17383         * po/libc.pot: Regenerated.
17385 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17387         [BZ #18740]
17388         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17389         float-vlen4-arch-ext-cflags): Removed.
17390         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17391         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17393 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17395         [BZ #14113]
17396         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17397         aligned to __aligned__.
17398         (pthread_cond_t, pthread_rwlock_t): Likewise.
17400 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17402         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17404 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17406         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17407         (struct sigaction): Change sa_flags from a long to an int, and add
17408         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17410 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17412         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17413         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17414         sysdeps/generic/sysdep.h include.
17415         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17416         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17417         sysdeps/hppa/sysdep.h.
17418         (ENTRY, PSEUDO): Undefine before defining.
17420 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17422         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17423         from scratch to use INTERNAL_SYSCALL.
17425 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17427         [BZ #18078]
17428         * scripts/check-localplt.awk: Support alternate relocations.
17429         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17430         sections.
17431         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17432         malloc entries with + REL R_386_GLOB_DAT.
17433         * sysdeps/x86_64/localplt.data: New file.
17435 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17437         [BZ #18731]
17438         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17439         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17440         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17442 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17444         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17446 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17448         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17449         directly in terms of __sync_fetch_and_add and delete (int) cast.
17451 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17453         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17454         the -D_ASM_IA64_CURRENT_H flag.
17456 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17458         [BZ #18641]
17459         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17461 2015-07-27  Andreas Schwab  <schwab@suse.de>
17463         * conform/conformtest.pl (checknamespace): Filter out string
17464         literals while tokenizing.
17466 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17468         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17469         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17470         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17472 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17474         * nptl/tst-join7mod.c: Add #include <string.h>.
17476 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17478         * sysdeps/nios2/libm-test-ulps: Update.
17480 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17482         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17483         Fix order of arguments to the rt_sigprocmask syscall.
17484         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17485         Likewise.
17487 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17489         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17491 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17493         [BZ #18457]
17494         * nptl/Makefile (tests): New test case tst-join7.
17495         (modules-names): New test case module tst-join7mod.
17496         * nptl/tst-join7.c: New file.
17497         * nptl/tst-join7mod.c: New file.
17498         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17499         all translation units in libc.so, libpthread.so and rtld.
17501 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17505 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17507         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17508         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17509         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17510         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17514         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17515         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17519         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17520         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17521         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17522         implementation.
17524 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17526         [BZ #17711]
17527         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17528         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17529         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17530         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17531         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17532         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17534 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17536         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17537         instead of just saying load lock in the comments.
17539 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17541         * sysdeps/unix/Subdirs: Moved ...
17542         * sysdeps/posix/Subdirs: ... here.
17543         * login/pty.h (struct termios, struct winsize): Add forward decls.
17544         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17545         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17546         * sysdeps/arm/nacl/libc.abilist: Updated.
17547         * sysdeps/nacl/libutil.abilist: New file.
17549         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17550         (SIGWINCH): New macro.
17552         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17553         * sysdeps/arm/nacl/libc.abilist: Add it.
17555 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17557         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17559 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17561         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17562         Swap __glibc_reserved0 and sa_flags order.
17564 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17566         [BZ #18657]
17567         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17568         are pending TLS destructor calls.
17569         * include/link.h (struct link_map): Add concurrency note for
17570         L_TLS_DTOR_COUNT.
17571         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17572         Don't touch the link map flag.  Atomically increment
17573         l_tls_dtor_count.
17574         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17575         Avoid taking the load lock and don't touch the link map flag.
17576         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17577         * stdlib/Makefile (tests): Use it.
17578         * stdlib/tst-tls-atexit.c (do_test): dlopen
17579         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17580         to allow tst-tls-atexit-nodelete test case to use it.
17582 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17584         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17585         to bits/types.h.
17586         (msgqnum_t): New typedef.
17587         (msglen_t): Likewise.
17588         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17589         and msg_qbytes type to msglen_t.
17591 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17593         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17594         pad0 to __glibc_reserved0.
17595         (struct stat64): Likewise.
17597 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17599         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17600         Change sa_flags from a long to an int and add __glibc_reserved0 before
17601         it for padding.
17603 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17605         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17606         anonymous by deleting "siginfo" name.
17608 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17610         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17611         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17612         rather than __nacl_irt_filename.
17613         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17615         * NEWS: New item for arm-nacl port.
17616         * sysdeps/arm/nacl/libc.abilist: New file.
17617         * sysdeps/nacl/ld.abilist: New file.
17618         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17619         * sysdeps/nacl/libanl.abilist: New file.
17620         * sysdeps/nacl/libcrypt.abilist: New file.
17621         * sysdeps/nacl/libdl.abilist: New file.
17622         * sysdeps/nacl/libm.abilist: New file.
17623         * sysdeps/nacl/libpthread.abilist: New file.
17624         * sysdeps/nacl/libresolv.abilist: New file.
17625         * sysdeps/nacl/librt.abilist: New file.
17627 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17629         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17630         __startcontext to initialize the new context.
17631         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17632         up CFI directive to forbid further backtracing.
17634 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17636         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17637         reference.
17638         * charmaps/ANSI_X3.4-1968: Likewise.
17639         * charmaps/BS_4730: Likewise.
17640         * charmaps/BS_VIEWDATA: Likewise.
17641         * charmaps/CP1250: Likewise.
17642         * charmaps/CP1251: Likewise.
17643         * charmaps/CP1252: Likewise.
17644         * charmaps/CP1253: Likewise.
17645         * charmaps/CP1254: Likewise.
17646         * charmaps/CP1255: Likewise.
17647         * charmaps/CP1256: Likewise.
17648         * charmaps/CSN_369103: Likewise.
17649         * charmaps/EBCDIC-DK-NO: Likewise.
17650         * charmaps/GB_1988-80: Likewise.
17651         * charmaps/GREEK-CCITT: Likewise.
17652         * charmaps/GREEK7: Likewise.
17653         * charmaps/INIS-8: Likewise.
17654         * charmaps/ISIRI-3342: Likewise.
17655         * charmaps/ISO_2033-1983: Likewise.
17656         * charmaps/ISO_5427-EXT: Likewise.
17657         * locales/POSIX: Likewise.
17658         * locales/ar_SA: Likewise.
17659         * locales/be_BY: Likewise.
17660         * locales/be_BY@latin: Likewise.
17661         * locales/ca_ES: Likewise.
17662         * locales/cs_CZ: Likewise.
17663         * locales/da_DK: Likewise.
17664         * locales/de_BE: Likewise.
17665         * locales/de_CH: Likewise.
17666         * locales/de_LU: Likewise.
17667         * locales/en_AU: Likewise.
17668         * locales/en_BW: Likewise.
17669         * locales/en_CA: Likewise.
17670         * locales/en_DK: Likewise.
17671         * locales/en_GB: Likewise.
17672         * locales/en_IE: Likewise.
17673         * locales/en_NZ: Likewise.
17674         * locales/en_ZA: Likewise.
17675         * locales/en_ZW: Likewise.
17676         * locales/es_AR: Likewise.
17677         * locales/es_BO: Likewise.
17678         * locales/es_CL: Likewise.
17679         * locales/es_CO: Likewise.
17680         * locales/es_DO: Likewise.
17681         * locales/es_EC: Likewise.
17682         * locales/es_ES: Likewise.
17683         * locales/es_HN: Likewise.
17684         * locales/es_MX: Likewise.
17685         * locales/es_PA: Likewise.
17686         * locales/es_PE: Likewise.
17687         * locales/es_PY: Likewise.
17688         * locales/es_SV: Likewise.
17689         * locales/es_US: Likewise.
17690         * locales/es_UY: Likewise.
17691         * locales/es_VE: Likewise.
17692         * locales/et_EE: Likewise.
17693         * locales/fa_IR: Likewise.
17694         * locales/fo_FO: Likewise.
17695         * locales/fr_CA: Likewise.
17696         * locales/fr_CH: Likewise.
17697         * locales/gv_GB: Likewise.
17698         * locales/he_IL: Likewise.
17699         * locales/hr_HR: Likewise.
17700         * locales/id_ID: Likewise.
17701         * locales/is_IS: Likewise.
17702         * locales/it_CH: Likewise.
17703         * locales/iw_IL: Likewise.
17704         * locales/kl_GL: Likewise.
17705         * locales/ko_KR: Likewise.
17706         * locales/kw_GB: Likewise.
17707         * locales/lg_UG: Likewise.
17708         * locales/lt_LT: Likewise.
17709         * locales/lv_LV: Likewise.
17710         * locales/mi_NZ: Likewise.
17711         * locales/nhn_MX: Likewise.
17712         * locales/nl_BE: Likewise.
17713         * locales/pl_PL: Likewise.
17714         * locales/sk_SK: Likewise.
17715         * locales/sl_SI: Likewise.
17716         * locales/sv_FI: Likewise.
17717         * locales/tl_PH: Likewise.
17718         * locales/tr_TR: Likewise.
17719         * locales/vi_VN: Likewise.
17721 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17723         [BZ #17475]
17724         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17725         of tu_IN and bh_IN.
17727 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17729         [BZ #18694]
17730         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17731         bits/wordsize.h.
17732         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17734 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17736         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17737         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17738         (spawn_thread): New function.
17739         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17740         (do_test): ... here.  Use IS_LOADED to test for its
17741         availability.
17743 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17745         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17747 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17749         [BZ #18696]
17750         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17751         si_addr_bnd.
17752         (si_lower): New.
17753         (si_upper): Likewise.
17755 2015-07-16  David S. Miller  <davem@davemloft.net>
17757         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17759 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17761         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17762         buffer.
17763         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17764         fail output information.
17766 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17769         and strstr-ppc64..
17770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17771         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17772         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17773         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17774         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17776 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17778         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17779         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17780         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17781         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17783 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17785         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17786         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17787         rtld_hidden_proto.
17788         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17790 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17792         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17793         the test can fail.
17795         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17797         [BZ #18676]
17798         * elf/tst-nodelete-opened.c: New test case.
17799         * elf/tst-nodelete-opened-lib.c: New test case module.
17800         * elf/Makefile (tests, modules-names): Use them.
17801         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17802         early.
17804 2015-07-15  David S. Miller  <davem@davemloft.net>
17806         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17807         futex-intenal.h
17808         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17809         * sysdeps/sparc/sparc64/Makefile: Likewise.
17810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17811         Remove space from macro define.
17812         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17814 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17816         [BZ #17475]
17817         * locale/iso-639.def: Update Bhili and Tulu language codes as
17818         per iso639-3.
17820 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17822         * elf/tst-leaks1.c (main): Converted to ...
17823         (do_test): ... this.
17824         (TEST_FUNCTION): New macro.
17825         Include test-skeleton.c.
17826         * localedata/tst-langinfo.c (main): Converted to ...
17827         (do_test): ... this.
17828         (TEST_FUNCTION): New macro.
17829         Include test-skeleton.c.
17830         * math/test-fpucw.c (main): Converted to ...
17831         (do_test): ... this.
17832         (TEST_FUNCTION): New macro.
17833         Include test-skeleton.c.
17834         * math/test-tgmath.c (main): Converted to ...
17835         (do_test): ... this.
17836         (TEST_FUNCTION): New macro.
17837         Include test-skeleton.c.
17838         * math/test-tgmath2.c (main): Converted to ...
17839         (do_test): ... this.
17840         (TEST_FUNCTION): New macro.
17841         Include test-skeleton.c.
17842         * setjmp/tst-setjmp.c (main): Converted to ...
17843         (do_test): ... this.
17844         (TEST_FUNCTION): New macro.
17845         Include test-skeleton.c.
17846         * stdio-common/tst-sscanf.c (main): Converted to ...
17847         (do_test): ... this.
17848         (TEST_FUNCTION): New macro.
17849         Include test-skeleton.c.
17850         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17851         (do_test): ... this.
17852         (TEST_FUNCTION): New macro.
17853         Include test-skeleton.c.
17855         * elf/tst-audit9.c (main): Converted to ...
17856         (do_test): ... this.
17857         (TEST_FUNCTION): New macro.
17858         Include test-skeleton.c.
17860 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17862         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17864 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17866         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17867         New variable.
17869 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17871         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17873 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17875         * sysdeps/generic/dl-fileid.h: New file.
17876         * sysdeps/posix/dl-fileid.h: New file.
17877         * sysdeps/nacl/dl-fileid.h: New file.
17878         * include/link.h: Include <dl-fileid.h>.
17879         (struct link_map): Replace l_dev and l_ino with l_file_id.
17880         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17881         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17882         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17884 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17886         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17888 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17890         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17891         Add iff $CXX is set.
17892         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17893         Likewise.
17894         (tst-nodelete-zmodiff): Likewise.
17895         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17897 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17899         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17901 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17903         * sysdeps/aarch64/fpu/math_private.h
17904         (define math_opt_barrier): Add AArch64 version.
17905         (math_force_eval): Likewise.
17907 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17909         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17911 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17913         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17914         %ld with %jd and cast to intmax_t.
17915         (do_test_length_zero): Likewise.
17917 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17919         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17921 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17923         * sysdeps/tile/libm-test-ulps: Regenerated.
17925         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17926         Comment out the whole function, not just its body.
17928 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17930         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17931         locks.
17933         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17935 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17937         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17938         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17940 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17942         * sysdeps/nptl/futex-internal.h: New file.
17943         * sysdeps/nacl/futex-internal.h: New file.
17944         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17945         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17946         error checking.
17947         (setxid_unmark_thread): Likewise.
17948         (__nptl_setxid): Likewise.
17949         (__wait_lookup_done): Likewise.
17950         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17951         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17952         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17953         * nptl/pthread_once.c (clear_once_control): Likewise.
17954         (__pthread_once_slow): Likewise.
17955         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17956         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17957         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17958         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17959         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17960         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17961         Likewise.
17962         (__pthread_rwlock_rdlock): Likewise.
17963         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17964         Likewise.
17965         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17966         Likewise.
17967         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17968         Likewise.
17969         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17970         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17971         Likewise.
17972         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17973         __ASSUME_PRIVATE_FUTEX check.
17974         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17975         Check that shared futexes are supported.
17976         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17977         wrappers with error checking.
17978         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17979         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17980         * nptl/pthread_barrierattr_setpshared.c
17981         (pthread_barrierattr_setpshared): Check that shared futexes are
17982         supported.
17983         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17984         Likewise.
17985         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17986         Likewise.
17987         * nptl/sem_init.c (futex_private_if_supported): Remove.
17988         (__new_sem_init): Adapt and check that shared futexes are supported.
17989         * nptl/sem_open.c (sem_open): Likewise.
17990         * nptl/sem_post.c (futex_wake): Remove.
17991         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17992         (do_futex_wait): Use futex wrappers with error checking.
17993         * nptl/sem_wait.c: Include lowlevellock.h.
17994         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17995         Use futex_supports_pshared.
17996         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17997         Use futex wrappers with error checking.
17998         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17999         Likewise.
18000         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18001         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18002         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18003         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18004         (futex_wake): Likewise.
18005         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18006         (do_futex_wait): Use futex wrappers with error checking.
18007         (__new_sem_wait_slow): Update EINTR handling.
18008         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18010 2015-07-09  Martin Sebor  <msebor@redhat.com>
18012         [BZ #18435]
18013         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18014         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18015         * nptl/Makefile (test-xfail-tst-once5): Define.
18017 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18019         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18020         * elf/dl-minimal.c: For readability, reorder some definitions and
18021         introduce more page breaks.  Include <stdio.h>.
18022         (__libc_fatal): New function.
18024         * include/unistd.h: Add rtld_hidden_proto for _exit.
18025         * posix/_exit.c: Add rtld_hidden_def.
18026         * sysdeps/mach/hurd/_exit.c: Likewise.
18027         * sysdeps/nacl/_exit.c: Likewise.
18028         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18029         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18031 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18034         bndmov encoding with zero displacement.
18036 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18037             H.J. Lu  <hongjiu.lu@intel.com>
18039         [BZ #18134]
18040         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18041         * sysdeps/i386/configure: Regenerated.
18042         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18043         (_dl_runtime_profile): Save and restore Intel MPX return bound
18044         registers when calling _dl_call_pltexit.  Add
18045         PRESERVE_BND_REGS_PREFIX before return.
18046         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18047         (LRV_BND1_OFFSET): Likewise.
18048         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18049         lrv_bnd1.
18050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18051         typo in bndmov encoding.
18052         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18053         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18054         branch instructions to preserve bounds.
18056 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18059         [GLIBC_2.22]: Add fmemopen.
18061 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18063         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18064         returns an error, also try to use host port from __mach_host_self for
18065         the __vm_wire call.
18066         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18068 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18070         [BZ #18400]
18071         [BZ #18648]
18072         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18073         Fix pr_uid and pr_gid members.
18074         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18075         definition to elf_greg_t.
18077 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18079         [BZ #18383]
18080         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18081         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18082         * sysdeps/arm/configure: Regenerated.
18083         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18084         (test-xfail-tst-tlsalign-static): Variable removed.
18086         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18087         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18088         rather than explicit 'ln -s'.
18090         * resolv/rpc/netdb.h: New file.
18091         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18093 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18095         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18096         length buffers.
18097         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18098         test-skeleton.c.
18100         [BZ #6544]
18101         [BZ #11216]
18102         [BZ #12836]
18103         [BZ #13151]
18104         [BZ #13152]
18105         [BZ #14292]
18106         * include/stdio.h (fmemopen): Remove hidden prototype.
18107         (__fmemopen): Add new hidden prototype.
18108         * libio/Makefile: Add oldfmemopen object.
18109         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18110         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18111         compliance.
18112         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18113         symbol compatibility.
18114         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18115         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18116         fmemopen.
18117         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18118         on append and read mode.
18119         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18120         fmemopen.
18121         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18122         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18123         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18124         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18125         Likewise.
18126         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18127         [GLIBC_2.22]: Likewise.
18128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18129         Likewise.
18130         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18131         Likewise.
18132         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18133         [GLIBC_2.22]: Likewise.
18134         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18135         [GLIBC_2.22]: Likewise.
18136         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18137         [GLIBC_2.22]: Likewise.
18138         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18139         [GLIBC_2.22]: Likewise.
18140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18141         [GLIBC_2.22]: Likewise.
18142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18143         [GLIBC_2.22]: Likewise.
18144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18145         [GLIBC_2.22]: Likewise.
18146         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18147         Likewise.
18148         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18149         Likewise.
18150         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18151         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18152         [GLIBC_2.22]: Likewise.
18153         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18154         [GLIBC_2.22]: Likewise.
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18156         [GLIBC_2.22]: Likewise.
18157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18158         [GLIBC_2.22]: Likewise.
18159         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18160         Likewise.
18161         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18162         Likewise.
18163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18164         Likewise.
18165         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18166         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18168 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18170         [BZ #18643]
18171         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18172         IPV6_PATHMTU, and IPV6_DONTFRAG.
18174 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18176         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18177         and _IO_UNBUFFERED.
18178         * libio/oldfileops.c: Likewise.
18179         * libio/wfileops.c: Likewise.
18181 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18183         * nscd/selinux.c: Delete selinux/flask.h include.
18185 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18187         [BZ #18641]
18188         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18189         (putpwent): Likewise.
18190         (getpwnam): Likewise.
18191         (getpwent_r): Likewise.
18192         (getpwuid_r): Likewise.
18193         (getpwnam_r): Likewise.
18194         (fgetpwent_r): Likewise.
18196 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18198         [BZ #18557]
18199         * inet/rcmd.c (__validuser2_sa): Check user first to
18200         short-circuit host check.
18202 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18203             Mikhail Ilin  <m.ilin@samsung.com>
18205         [BZ #17833]
18206         * elf/Makefile (tests): Add tst-nodelete.
18207         (modules-names): Add tst-nodelete-uniquemod.
18208         (tst-nodelete-uniquemod.so-no-z-defs): New.
18209         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18210         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18211         ($(objpfx)tst-nodelete): Likewise.
18212         ($(objpfx)tst-nodelete.out): Likewise.
18213         (LDFLAGS-tst-nodelete): Likewise.
18214         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18215         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18216         implement forced object deletion.
18217         (_dl_close): Pass false to _dl_close_worker.
18218         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18219         * elf/tst-nodelete.cc: New file.
18220         * elf/tst-nodeletelib.cc: Likewise.
18221         * elf/tst-znodeletelib.cc: Likewise.
18222         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18224 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18226         [BZ #18508]
18227         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18228         Depend on $(libdl).
18229         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18230         is not called infinitely times.
18231         (backtrace_helper): New function.
18232         (trace_arg): New struct.
18233         (st1): Enlarge stack size.
18234         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18235         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18236         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18237         Likewise.
18239 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18241         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18243 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18245         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18246         Include sys/types.h instead of bits/types.h.
18247         Remove inclusion of bits/wordsize.h.
18249 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18251         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18252         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18253         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18254         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18255         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18256         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18258 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18260         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18261         link-defines.sym.
18262         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18263         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18264         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18265         and LR_SIZE.
18266         * sysdeps/i386/link-defines.sym: New file.
18268 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18270         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18271         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18272         ($(objpfx)tst-audit3): New rule.
18273         ($(objpfx)tst-audit3.out): Likewise.
18274         * sysdeps/i386/tst-audit3.c: New file.
18275         * sysdeps/i386/tst-audit3.h: Likewise.
18276         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18277         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18279 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18281         [BZ #18633]
18282         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18283         pointer in C code.
18284         (__strcat_c): Likewise.
18285         (__strcat_g): Likewise.
18287 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18289         [BZ #18592]
18290         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18292 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18294         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18295         New function.  (__ieee754_sqrtf): New function.
18296         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18297         New function.
18298         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18299         New function.
18301 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18303         * sysdeps/ieee754/support.c: Remove unused file.
18305 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18307         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18308         registers instead of d ones so the layout is kernel abi compatible.
18309         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18310         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18311         Likewise.
18313 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18315         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18317 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18319         [BZ #18619]
18320         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18321         and return argument in case of subnormal argument.
18323 2015-07-01  Martin Sebor  <msebor@redhat.com>
18325         [BZ #18435]
18326         * nptl/Makefile: Add tst-once5.cc.
18327         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18328         Remove macro redefinitions.
18329         * nptl/tst-once5.cc: New test.
18331 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18335         * sysdeps/arm/libm-test-ulps: Regenerated.
18337         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18340 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18342         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18343         lll_lock_wait_private and lll_futex_wake probes.
18345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18347         Likewise.
18348         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18349         atomic_spin_nop.
18350         * sysdeps/x86_64/bits/atomic.h: Likewise.
18351         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18352         to atomic_spin_nop and move ...
18353         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18354         ... here and ...
18355         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18356         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18357         atomic_spin_nop instead of BUSY_WAIT_NOP.
18358         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18359         Likewise.
18360         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18361         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18362         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18363         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18364         instead of atomic_delay.
18366 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18368         [BZ #18613]
18369         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18370         X_ADJ not X when adjusting exponent.
18371         (__ieee754_gamma_r): Do intermediate computations in
18372         round-to-nearest then adjust overflowing and underflowing results
18373         as needed.
18374         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18375         of X_ADJ not X when adjusting exponent.
18376         (__ieee754_gammaf_r): Do intermediate computations in
18377         round-to-nearest then adjust overflowing and underflowing results
18378         as needed.
18379         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18380         log of X_ADJ not X when adjusting exponent.
18381         (__ieee754_gammal_r): Do intermediate computations in
18382         round-to-nearest then adjust overflowing and underflowing results
18383         as needed.  Use 1.0L not 1.0f as numerator of division.
18384         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18385         log of X_ADJ not X when adjusting exponent.
18386         (__ieee754_gammal_r): Do intermediate computations in
18387         round-to-nearest then adjust overflowing and underflowing results
18388         as needed.  Use 1.0L not 1.0f as numerator of division.
18389         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18390         of X_ADJ not X when adjusting exponent.
18391         (__ieee754_gammal_r): Do intermediate computations in
18392         round-to-nearest then adjust overflowing and underflowing results
18393         as needed.  Use 1.0L not 1.0f as numerator of division.
18394         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18395         to auto-libm-test-in.
18396         (tgamma_test): Use ALL_RM_TEST.
18397         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18398         tests of tgamma with spurious-overflow.
18399         * math/auto-libm-test-out: Regenerated.
18400         * math/gen-libm-have-vector-test.sh: Do not check for START.
18401         * sysdeps/i386/fpu/libm-test-ulps: Update.
18402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18404         [BZ #18612]
18405         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18406         arguments, just return 0.5 times the argument, with underflow
18407         forced as needed.
18408         * math/auto-libm-test-in: Add more tests of j1.
18409         * math/auto-libm-test-out: Regenerated.
18411         [BZ #16559]
18412         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18413         (__ieee754_j1): Force underflow exception for small results.
18414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18415         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18416         (__ieee754_j1f): Force underflow exception for small results.
18417         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18418         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18420         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18421         (__ieee754_j1l): Force underflow exception for small results.
18422         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18423         * math/auto-libm-test-in: Add more tests of j1 and jn.
18424         * math/auto-libm-test-out: Regenerated.
18426         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18427         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18428         (PF_MPLS): Likewise.
18429         (AF_IB): Likewise.
18430         (AF_MPLS): Likewise.
18431         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18432         value and macro.
18433         (MS_RMT_MASK): Include MS_LAZYTIME.
18435 2015-06-26  Mel Gorman  <mgorman@suse.de>
18437         [BZ #18502]
18438         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18439         already minimal.
18441 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18443         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18444         (DT_MIPS_NUM): Update.
18445         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18446         DT_MIPS_RLD_MAP_REL.
18448 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18450         [BZ #16559]
18451         [BZ #18602]
18452         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18453         round-to-nearest internally then recompute results that
18454         underflowed to zero in the original rounding mode.
18455         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18456         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18458         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18459         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18460         * sysdeps/i386/fpu/libm-test-ulps: Update.
18461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18463 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18465         * NEWS: Fixed description of link with vector math library.
18467 2015-06-25  Andreas Schwab  <schwab@suse.de>
18469         [BZ #18549]
18470         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18471         * libio/test-fmemopen.c (do_test): Add test for it.
18473 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18475         [BZ #17841]
18476         * Makeconfig (no-pie-ldflag): New.
18477         (+link): Set to $(+link-pie) if default to PIE.
18478         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18479         * config.make.in (build-pie-default): New.
18480         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18481         is default.  AC_SUBST.
18482         * configure: Regenerated.
18483         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18485 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18487         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18488         to 'unsigned int'.
18490         * resolv/gai_misc.h (struct waitlist): Change type of field
18491         counterp to 'volatile unsigned int *'.
18492         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18493         FUTEXADDR and OLDVAL.
18494         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18495         Give local variable TOTAL type 'volatile unsigned int'.
18496         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18497         * resolv/gai_suspend.c (gai_suspend):
18498         Give local variable CNTR type 'unsigned int'.
18500         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18501         counterp to 'volatile unsigned int *'.
18502         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18503         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18504         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18505         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18506         Give local variable TOTAL type 'volatile unsigned int'.
18507         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18509 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18511         [BZ #18383]
18512         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18513         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18514         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18515         comment for i386/x86-64.
18516         (test-xfail-tst-tlsalign-extern-static): Removed.
18518 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18520         * math/test-double.h: New file.
18521         * math/test-float.h: Likewise.
18522         * math/test-ldouble.h: Likewise.
18523         * math/test-math-inline.h: Likewise.
18524         * math/test-math-no-inline.h: Likewise.
18525         * math/test-math-scalar.h: Likewise.
18526         * math/test-math-vector.h: Likewise.
18527         * math/test-vec-loop.h: Remove file.  Contents moved into
18528         test-math-vector.h.
18529         * math/libm-test.inc (MATHCONST): Do not document macro.
18530         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18531         and test-math-scalar.h.
18532         (FUNC): Remove macro.
18533         (FUNC_TEST): Likewise.
18534         (FLOAT): Likewise.
18535         (MATHCONST): Likewise.
18536         (PRINTF_EXPR): Likewise.
18537         (PRINTF_XEXPR): Likewise.
18538         (PRINTF_NEXPR): Likewise.
18539         (TEST_DOUBLE): Likewise.
18540         (TEST_MATHVEC): Likewise.
18541         (__NO_MATH_INLINES): Likewise.
18542         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18543         and test-math-scalar.h.
18544         (FUNC): Remove macro.
18545         (FUNC_TEST): Likewise.
18546         (FLOAT): Likewise.
18547         (MATHCONST): Likewise.
18548         (PRINTF_EXPR): Likewise.
18549         (PRINTF_XEXPR): Likewise.
18550         (PRINTF_NEXPR): Likewise.
18551         (TEST_FLOAT): Likewise.
18552         (TEST_MATHVEC): Likewise.
18553         (__NO_MATH_INLINES): Likewise.
18554         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18555         and test-math-scalar.h.
18556         (FUNC): Remove macro.
18557         (FUNC_TEST): Likewise.
18558         (FLOAT): Likewise.
18559         (MATHCONST): Likewise.
18560         (PRINTF_EXPR): Likewise.
18561         (PRINTF_XEXPR): Likewise.
18562         (PRINTF_NEXPR): Likewise.
18563         (TEST_DOUBLE): Likewise.
18564         (TEST_MATHVEC): Likewise.
18565         (TEST_INLINE): Likewise.
18566         (__NO_MATH_INLINES): Likewise.
18567         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18568         test-math-scalar.h.
18569         (FUNC): Remove macro.
18570         (FUNC_TEST): Likewise.
18571         (FLOAT): Likewise.
18572         (MATHCONST): Likewise.
18573         (PRINTF_EXPR): Likewise.
18574         (PRINTF_XEXPR): Likewise.
18575         (PRINTF_NEXPR): Likewise.
18576         (TEST_FLOAT): Likewise.
18577         (TEST_MATHVEC): Likewise.
18578         (TEST_INLINE): Likewise.
18579         (__NO_MATH_INLINES): Likewise.
18580         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18581         and test-math-scalar.h.
18582         (FUNC): Remove macro.
18583         (FUNC_TEST): Likewise.
18584         (FLOAT): Likewise.
18585         (MATHCONST): Likewise.
18586         (PRINTF_EXPR): Likewise.
18587         (PRINTF_XEXPR): Likewise.
18588         (PRINTF_NEXPR): Likewise.
18589         (TEST_LDOUBLE): Likewise.
18590         (TEST_MATHVEC): Likewise.
18591         (TEST_INLINE): Likewise.
18592         (__NO_MATH_INLINES): Likewise.
18593         * math/test-ldouble.c: Include test-ldouble.h,
18594         test-math-no-inline.h and test-math-scalar.h.
18595         (FUNC): Remove macro.
18596         (FUNC_TEST): Likewise.
18597         (FLOAT): Likewise.
18598         (MATHCONST): Likewise.
18599         (PRINTF_EXPR): Likewise.
18600         (PRINTF_XEXPR): Likewise.
18601         (PRINTF_NEXPR): Likewise.
18602         (TEST_LDOUBLE): Likewise.
18603         (TEST_MATHVEC): Likewise.
18604         (__NO_MATH_INLINES): Likewise.
18605         * math/test-double-vlen2.h: Include test-double.h,
18606         test-math-no-inline.h and test-math-vector.h.
18607         (FLOAT): Remove macro.
18608         (FUNC): Likewise.
18609         (MATHCONST): Likewise.
18610         (PRINTF_EXPR): Likewise.
18611         (PRINTF_XEXPR): Likewise.
18612         (PRINTF_NEXPR): Likewise.
18613         (TEST_DOUBLE): Likewise.
18614         (TEST_MATHVEC): Likewise.
18615         (__NO_MATH_INLINES): Likewise.
18616         (CNCT): Likewise.
18617         (CONCAT): Likewise.
18618         (WRAPPER_NAME): Likewise.
18619         (WRAPPER_DECL): Likewise.
18620         (WRAPPER_DECL_ff): Likewise.
18621         (WRAPPER_DECL_fFF): Likewise.
18622         (VECTOR_WRAPPER): Likewise.
18623         (VECTOR_WRAPPER_ff): Likewise.
18624         (VECTOR_WRAPPER_fFF): Likewise.
18625         (VEC_LEN): New macro.
18626         * math/test-double-vlen4.h: Include test-double.h,
18627         test-math-no-inline.h and test-math-vector.h.
18628         (FLOAT): Remove macro.
18629         (FUNC): Likewise.
18630         (MATHCONST): Likewise.
18631         (PRINTF_EXPR): Likewise.
18632         (PRINTF_XEXPR): Likewise.
18633         (PRINTF_NEXPR): Likewise.
18634         (TEST_DOUBLE): Likewise.
18635         (TEST_MATHVEC): Likewise.
18636         (__NO_MATH_INLINES): Likewise.
18637         (CNCT): Likewise.
18638         (CONCAT): Likewise.
18639         (WRAPPER_NAME): Likewise.
18640         (WRAPPER_DECL): Likewise.
18641         (WRAPPER_DECL_ff): Likewise.
18642         (WRAPPER_DECL_fFF): Likewise.
18643         (VECTOR_WRAPPER): Likewise.
18644         (VECTOR_WRAPPER_ff): Likewise.
18645         (VECTOR_WRAPPER_fFF): Likewise.
18646         (VEC_LEN): New macro.
18647         * math/test-double-vlen8.h: Include test-double.h,
18648         test-math-no-inline.h and test-math-vector.h.
18649         (FLOAT): Remove macro.
18650         (FUNC): Likewise.
18651         (MATHCONST): Likewise.
18652         (PRINTF_EXPR): Likewise.
18653         (PRINTF_XEXPR): Likewise.
18654         (PRINTF_NEXPR): Likewise.
18655         (TEST_DOUBLE): Likewise.
18656         (TEST_MATHVEC): Likewise.
18657         (__NO_MATH_INLINES): Likewise.
18658         (CNCT): Likewise.
18659         (CONCAT): Likewise.
18660         (WRAPPER_NAME): Likewise.
18661         (WRAPPER_DECL): Likewise.
18662         (WRAPPER_DECL_ff): Likewise.
18663         (WRAPPER_DECL_fFF): Likewise.
18664         (VECTOR_WRAPPER): Likewise.
18665         (VECTOR_WRAPPER_ff): Likewise.
18666         (VECTOR_WRAPPER_fFF): Likewise.
18667         (VEC_LEN): New macro.
18668         * math/test-float-vlen4.h: Include test-float.h,
18669         test-math-no-inline.h and test-math-vector.h.
18670         (FLOAT): Remove macro.
18671         (FUNC): Likewise.
18672         (MATHCONST): Likewise.
18673         (PRINTF_EXPR): Likewise.
18674         (PRINTF_XEXPR): Likewise.
18675         (PRINTF_NEXPR): Likewise.
18676         (TEST_FLOAT): Likewise.
18677         (TEST_MATHVEC): Likewise.
18678         (__NO_MATH_INLINES): Likewise.
18679         (CNCT): Likewise.
18680         (CONCAT): Likewise.
18681         (WRAPPER_NAME): Likewise.
18682         (WRAPPER_DECL): Likewise.
18683         (WRAPPER_DECL_ff): Likewise.
18684         (WRAPPER_DECL_fFF): Likewise.
18685         (VECTOR_WRAPPER): Likewise.
18686         (VECTOR_WRAPPER_ff): Likewise.
18687         (VECTOR_WRAPPER_fFF): Likewise.
18688         (VEC_LEN): New macro.
18689         * math/test-float-vlen8.h: Include test-float.h,
18690         test-math-no-inline.h and test-math-vector.h.
18691         (FLOAT): Remove macro.
18692         (FUNC): Likewise.
18693         (MATHCONST): Likewise.
18694         (PRINTF_EXPR): Likewise.
18695         (PRINTF_XEXPR): Likewise.
18696         (PRINTF_NEXPR): Likewise.
18697         (TEST_FLOAT): Likewise.
18698         (TEST_MATHVEC): Likewise.
18699         (__NO_MATH_INLINES): Likewise.
18700         (CNCT): Likewise.
18701         (CONCAT): Likewise.
18702         (WRAPPER_NAME): Likewise.
18703         (WRAPPER_DECL): Likewise.
18704         (WRAPPER_DECL_ff): Likewise.
18705         (WRAPPER_DECL_fFF): Likewise.
18706         (VECTOR_WRAPPER): Likewise.
18707         (VECTOR_WRAPPER_ff): Likewise.
18708         (VECTOR_WRAPPER_fFF): Likewise.
18709         (VEC_LEN): New macro.
18710         * math/test-float-vlen16.h: Include test-float.h,
18711         test-math-no-inline.h and test-math-vector.h.
18712         (FLOAT): Remove macro.
18713         (FUNC): Likewise.
18714         (MATHCONST): Likewise.
18715         (PRINTF_EXPR): Likewise.
18716         (PRINTF_XEXPR): Likewise.
18717         (PRINTF_NEXPR): Likewise.
18718         (TEST_FLOAT): Likewise.
18719         (TEST_MATHVEC): Likewise.
18720         (__NO_MATH_INLINES): Likewise.
18721         (CNCT): Likewise.
18722         (CONCAT): Likewise.
18723         (WRAPPER_NAME): Likewise.
18724         (WRAPPER_DECL): Likewise.
18725         (WRAPPER_DECL_ff): Likewise.
18726         (WRAPPER_DECL_fFF): Likewise.
18727         (VECTOR_WRAPPER): Likewise.
18728         (VECTOR_WRAPPER_ff): Likewise.
18729         (VECTOR_WRAPPER_fFF): Likewise.
18730         (VEC_LEN): New macro.
18731         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18732         test-vec-loop.h.
18733         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18735         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18736         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18737         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18738         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18739         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18741 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18743         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18744         (__getlogin_r): ... this.
18746 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18748         [BZ #18594]
18749         * math/s_ccosh.c (__ccosh): Compare with least normal value
18750         instead of comparing class with FP_SUBNORMAL.
18751         * math/s_ccoshf.c (__ccoshf): Likewise.
18752         * math/s_ccoshl.c (__ccoshl): Likewise.
18753         * math/s_cexp.c (__cexp): Likewise.
18754         * math/s_cexpf.c (__cexpf): Likewise.
18755         * math/s_cexpl.c (__cexpl): Likewise.
18756         * math/s_csin.c (__csin): Likewise.
18757         * math/s_csinf.c (__csinf): Likewise.
18758         * math/s_csinh.c (__csinh): Likewise.
18759         * math/s_csinhf.c (__csinhf): Likewise.
18760         * math/s_csinhl.c (__csinhl): Likewise.
18761         * math/s_csinl.c (__csinl): Likewise.
18762         * math/s_ctan.c (__ctan): Likewise.
18763         * math/s_ctanf.c (__ctanf): Likewise.
18764         * math/s_ctanh.c (__ctanh): Likewise.
18765         * math/s_ctanhf.c (__ctanhf): Likewise.
18766         * math/s_ctanhl.c (__ctanhl): Likewise.
18767         * math/s_ctanl.c (__ctanl): Likewise.
18768         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18769         csin, csinh, ctan and ctanh.
18770         * math/auto-libm-test-out: Regenerated.
18771         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18772         * sysdeps/i386/fpu/libm-test-ulps: Update.
18773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18775 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18777         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18778         return value is wrong, print the expected value too.
18780 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18782         [BZ #18585]
18783         * elf/readlib.c (is_gdb_python_file): New.
18784         (process_file): Don't issue errors on filenames with -gdb.py
18785         suffix.
18787 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18789         * math/auto-libm-test-in: Add more tests of csin and csinh.
18790         * math/auto-libm-test-out: Regenerated.
18791         * math/libm-test.inc (csin_test_data): Remove tests moved to
18792         auto-libm-test-in.
18793         (csinh_test_data): Likewise.
18795         [BZ #18593]
18796         * math/s_csin.c (__csin): Negate before rather than after possibly
18797         overflowing multiplication.
18798         * math/s_csinf.c (__csinf): Likewise.
18799         * math/s_csinh.c (__csinh): Likewise.
18800         * math/s_csinhf.c (__csinhf): Likewise.
18801         * math/s_csinhl.c (__csinhl): Likewise.
18802         * math/s_csinl.c (__csinl): Likewise.
18803         * math/auto-libm-test-in: Add some tests of csin and csinh.
18804         * math/auto-libm-test-out: Regenerated.
18805         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18806         (csinh_test_data): Likewise.
18807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18809         [BZ #18586]
18810         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18811         underflow exception for small results.
18813 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18816         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18817         variable and included header.
18818         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18819         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18820         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18821         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18823         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18824         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18825         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18826         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18827         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18828         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18829         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18830         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18831         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18832         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18833         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18835 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18837         [BZ #16526]
18838         [BZ #16538]
18839         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18840         (__sin): Force underflow exception for arguments with small
18841         absolute value.
18842         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18843         (__kernel_sinf): Force underflow exception for arguments with
18844         small absolute value.
18845         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18846         (__kernel_sincosl): Force underflow exception for arguments with
18847         small absolute value.
18848         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18849         (__kernel_sinl): Force underflow exception for arguments with
18850         small absolute value.
18851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18852         (__kernel_sincosl): Force underflow exception for arguments with
18853         small absolute value.
18854         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18855         (__kernel_sinl): Force underflow exception for arguments with
18856         small absolute value.
18857         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18858         (__kernel_sinl): Force underflow exception for arguments with
18859         small absolute value.
18860         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18861         (__kernel_sinf): Force underflow exception for arguments with
18862         small absolute value.
18863         * math/auto-libm-test-in: Add more tests of sin and sincos.
18864         * math/auto-libm-test-out: Regenerated.
18866         [BZ #18245]
18867         [BZ #18583]
18868         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18869         (__kernel_standard_l): Use feholdexcept and fesetenv around
18870         conversion to double instead of special-casing overflow and
18871         underflow.
18872         * math/libm-test.inc (fmod_test_data): Add more tests.
18873         (remainder_test_data): Likewise.
18874         (sqrt_test_data): Likewise.
18876 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18878         [BZ #17403]
18879         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18880         atomic_read_barrier, atomic_write_barrier): Define.
18881         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18882         atomic_read_barrier, atomic_write_barrier): Define.
18884 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18886         * math/Makefile [$(PERL) != no]
18887         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18888         dependency on libm-test.stmp below the inclusion of Rules.
18890 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18894         and included header.
18895         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18897         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18898         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18899         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18900         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18901         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18902         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18903         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18904         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18905         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18906         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18907         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18908         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18909         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18910         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18911         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18912         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18913         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18915 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18917         [BZ #18371]
18918         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18919         intermediate but not final result might underflow.
18920         * math/s_csqrtf.c (__csqrtf): Likewise.
18921         * math/s_csqrtl.c (__csqrtl): Likewise.
18922         * math/auto-libm-test-in: Add more tests of csqrt.
18923         * math/auto-libm-test-out: Regenerated.
18924         * sysdeps/i386/fpu/libm-test-ulps: Update.
18926         [BZ #18219]
18927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18928         threshold on absolute value of exponent for which scaling is used.
18929         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18930         * math/auto-libm-test-in: Add more tests of exp2.
18931         * math/auto-libm-test-out: Regenerated.
18933 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18935         [BZ #17977]
18936         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18937         when initializing interface list, based on the bug analysis
18938         and the patch proposed by Eric Newton.
18939         * resolv/tst-res_hconf_reorder.c: New test.
18940         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18941         tst-res_hconf_reorder.
18942         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18943         and $(shared-thread-library).
18944         (tst-res_hconf_reorder-ENV): New variable.
18946         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18947         in comment.
18949 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18951         [BZ #16353]
18952         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18953         (__expm1): Force underflow exception for arguments with small
18954         absolute value.
18955         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18956         (__expm1f): Force underflow exception for arguments with small
18957         absolute value.
18958         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18959         (__expm1): Force underflow exception for arguments with small
18960         absolute value.
18961         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18962         (__expm1f): Force underflow exception for arguments with small
18963         absolute value.
18964         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18965         Check for small arguments before calling __expm1.
18966         * math/auto-libm-test-in: Do not mark underflow exceptions as
18967         possibly missing for bug 16353.
18968         * math/auto-libm-test-out: Regenerated.
18970 2015-06-22  Andreas Schwab  <schwab@suse.de>
18972         [BZ #18513]
18973         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18974         PTR queries.
18976 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18978         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18980         * string/strcoll_l.c: Remove unused struct element idxnow.
18982 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18984         [BZ #18569]
18985         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18986         underflow and return argument in case of subnormal argument.
18987         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18988         Likewise.
18989         * math/auto-libm-test-in: Add more tests of expm1.
18990         * math/auto-libm-test-out: Regenerated.
18992         [BZ #16361]
18993         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18994         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18995         tiny results.
18996         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18997         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18998         tiny results.
18999         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19000         mark underflow exceptions as possibly missing for bug 16361.
19001         * math/auto-libm-test-out: Regenerated.
19003 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19005         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19006         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19007         Remove variable.
19008         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19009         (test-xfail-XOPEN2K8/utmpx.h/conform).
19011         * conform/conformtest.pl ($xerrors): New variable.
19012         (note_error): New function.
19013         (compiletest): New argument $xfail.  Use not_error.
19014         (runtest): Likewise.
19015         (top level): Handle xfail- lines.  Update calls to compiletest and
19016         runtest.  Handle xfail- and optional- in headers listed with
19017         allow-header.
19018         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19019         (O_EXEC): Likewise.
19020         (O_SEARCH): Likewise.
19021         * conform/data/stropts.h-data (ioctl): Likewise.
19022         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19023         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19024         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19025         (msghdr.msg_controllen): Likewise.
19026         (cmsghdr.cmsg_len): Likewise.
19027         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19028         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19029         variable.
19030         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19031         (test-xfail-XPG4/stropts.h/conform): Likewise.
19032         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19033         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19034         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19035         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19036         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19037         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19038         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19039         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19040         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19041         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19042         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19043         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19044         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19045         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19046         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19047         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19048         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19049         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19050         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19052 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19054         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19055         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19056         definitions for proper unfolding of __MATHDECL_VEC.
19058 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19060         * benchtests/bench-strcoll.c:
19061         Include string.h.
19062         (main): Remove unused variable res.
19064 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19066         * timezone/Makefile (%/UTC %/Universal):
19067         Generate test-result files for UTC and Universal.
19069 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19071         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19073 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19075         [BZ #16350]
19076         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19077         for arguments with small absolute value.
19078         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19079         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19080         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19081         (__asinh): Force underflow exception for arguments with small
19082         absolute value.
19083         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19084         (__asinhf): Force underflow exception for arguments with small
19085         absolute value.
19086         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19087         (__asinhl): Force underflow exception for arguments with small
19088         absolute value.
19089         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19090         (__asinhl): Force underflow exception for arguments with small
19091         absolute value.
19092         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19093         (__asinhl): Force underflow exception for arguments with small
19094         absolute value.
19095         * math/auto-libm-test-in: Do not mark underflow exceptions as
19096         possibly missing for bug 16350.
19097         * math/auto-libm-test-out: Regenerated.
19099         * include/bits/ipc.h: Remove file.
19100         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19101         variable.
19102         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19103         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19104         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19105         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19106         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19107         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19108         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19109         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19110         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19112         * math/auto-libm-test-in: Remove spurious underflow allowance for
19113         tests of cexp.
19114         * math/auto-libm-test-out: Regenerated.
19116         [BZ #18558]
19117         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19118         unconditional definition.
19119         (MCAST_BLOCK_SOURCE): Likewise.
19120         (MCAST_UNBLOCK_SOURCE): Likewise.
19121         (MCAST_LEAVE_GROUP): Likewise.
19122         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19123         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19124         (MCAST_MSFILTER): Likewise.
19125         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19126         Remove variable.
19127         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19128         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19129         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19130         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19131         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19133 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19135         * NEWS: Mention addition of x86_64 vector sincosf.
19136         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19137         * math/test-float-vlen4.h: Likewise.
19138         * math/test-float-vlen8.h: Likewise.
19139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19140         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19141         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19142         * sysdeps/x86_64/fpu/Versions: New versions added.
19143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19144         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19145         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19148         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19149         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19150         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19151         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19152         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19153         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19154         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19155         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19156         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19157         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19158         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19159         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19160         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19161         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19162         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19163         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19164         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19165         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19166         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19168         * NEWS: Mention addition of x86_64 vector sincos.
19169         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19170         * math/math.h (__MATHDECL_VEC): New macro.
19171         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19172         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19173         declaration under condition.
19174         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19175         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19176         TEST_VEC_LOOP change.
19177         * math/test-double-vlen4.h: Likewise.
19178         * math/test-double-vlen8.h: Likewise.
19179         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19180         * math/test-float-vlen4.h: Likewise.
19181         * math/test-float-vlen8.h: Likewise.
19182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19183         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19184         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19185         * sysdeps/x86_64/fpu/Versions: New versions added.
19186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19187         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19188         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19191         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19192         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19193         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19194         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19195         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19196         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19197         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19198         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19199         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19200         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19201         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19202         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19203         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19205         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19206         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19207         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19208         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19209         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19211         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19212         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19213         redirections for powf.
19214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19215         * sysdeps/x86_64/fpu/Versions: New versions added.
19216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19217         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19218         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19219         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19220         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19221         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19222         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19223         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19224         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19225         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19226         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19227         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19228         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19229         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19230         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19231         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19232         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19233         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19234         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19235         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19236         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19237         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19238         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19239         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19240         * math/test-float-vlen16.h: Fixed 2 argument macro.
19241         * math/test-float-vlen4.h: Likewise.
19242         * math/test-float-vlen8.h: Likewise.
19243         * NEWS: Mention addition of x86_64 vector powf.
19245 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19247         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19248         and redefine.
19249         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19250         and redefine.
19251         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19252         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19253         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19255         [BZ #18553]
19256         * resource/getpriority.c (getpriority): Rename to __getpriority
19257         and define as weak alias of __getpriority.
19258         * resource/setpriority.c (setpriority): Rename to __setpriority
19259         and define as weak alias of __setpriority.
19260         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19261         __getpriority and define as weak alias of __getpriority.
19262         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19263         __setpriority and define as weak alias of __setpriority.
19264         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19265         strong name.
19266         (setpriority): Use __setpriority as strong name.
19267         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19268         __getpriority and define as weak alias of __getpriority.
19269         * include/sys/resource.h (__getpriority): Declare.  Use
19270         libc_hidden_proto.
19271         (__setpriority): Likewise.
19272         (getpriority): Don't use libc_hidden_proto.
19273         (setpriority): Likewise.
19274         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19275         getpriority.  Call __setpriority instead of setpriority.
19276         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19277         Remove variable.
19279         [BZ #18547]
19280         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19281         as weak alias of __getttynam.  Use prototype function definition.
19282         Call __setttyent, __getttyent and __endttyent instead of
19283         setttyent, getttyent and endttyent.
19284         (getttyent): Rename to __getttyent and define as weak alias of
19285         __getttyent.  Call __setttyent instead of setttyent.  Call
19286         __fgets_unlocked instead of fgets_unlocked.
19287         (setttyent): Rename to __setttyent and define as weak alias of
19288         __setttyent.
19289         (endttyent): Rename to __endttyent and define as weak alias of
19290         __endttyent.
19291         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19292         (__setttyent): Likewise.
19293         (__endttyent): Likewise.
19294         (getttyent): Don't use libc_hidden_proto.
19295         (setttyent): Likewise.
19296         (endttyent): Likewise.
19297         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19298         __endttyent instead of setttyent, getttyent and endttyent.
19299         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19300         Remove variable.
19302         [BZ #18546]
19303         * socket/recv.c (__recv): Use libc_hidden_def.
19304         * socket/socket.c (__socket): Likewise.
19305         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19306         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19307         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19308         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19309         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19310         libc_hidden_def.
19311         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19312         libc_hidden_weak.
19313         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19314         Use libc_hidden_proto.
19315         (__recv): Likewise.
19316         * socket/Versions (libc): Export __recv and __socket at version
19317         GLIBC_PRIVATE.
19318         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19319         instead of recv.
19320         (init_mq_netlink): Call __socket instead of socket.
19321         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19322         Remove variable.
19324         [BZ #18545]
19325         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19326         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19327         hidden_weak.
19328         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19329         define as alias of __mq_timedsend.  Use hidden_weak.
19330         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19331         __mq_timedsend as strong name.
19332         (mq_timedreceive): Use __mq_timedreceive as strong name.
19333         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19334         (__mq_timedreceive): Likewise.
19335         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19336         __mq_timedreceive instead of mq_timedreceive.
19337         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19338         instead of mq_timedsend.
19339         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19340         Remove variable.
19342         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19343         hidden_def and hidden_weak instead of libc_hidden_def and
19344         libc_hidden_weak.
19345         (top level): Refer to hidden_def in comment.
19346         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19347         macro.  Use it instead of libc_hidden_def.
19348         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19349         specify __GI_* name explicitly.
19350         (mq_timedreceive): Likewise.
19351         (mq_setattr): Likewise.
19353         [BZ #18544]
19354         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19355         __pthread_barrier_init and define as weak alias of
19356         __pthread_barrier_init.
19357         * sysdeps/sparc/nptl/pthread_barrier_init.c
19358         (pthread_barrier_init): Likewise.
19359         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19360         __pthread_barrier_wait and define as weak alias of
19361         __pthread_barrier_wait.
19362         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19363         (pthread_barrier_wait): Likewise.
19364         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19365         (pthread_barrier_wait): Likewise.
19366         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19367         (pthread_barrier_wait): Likewise.
19368         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19369         (pthread_barrier_wait): Likewise.
19370         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19371         __pthread_barrier_wait at version GLIBC_PRIVATE.
19372         * include/pthread.h (__pthread_barrier_init): Declare.
19373         (__pthread_barrier_wait): Likewise.
19374         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19375         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19376         (helper_thread): Likewise.
19377         (init_mq_netlink): Call __pthread_barrier_init instead of
19378         pthread_barrier_init.
19380         [BZ #18542]
19381         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19382         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19383         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19384         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19385         vswscanf.
19386         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19387         Remove variable.
19389         [BZ #18540]
19390         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19391         strong alias of _IO_fflush.  Use libc_hidden_def.
19392         * libio/iofflush_u.c (fflush_unlocked): Rename to
19393         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19394         Use libc_hidden_weak.
19395         * include/stdio.h (__fflush_unlocked): Declare.  Use
19396         libc_hidden_proto.
19397         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19398         fflush_unlocked.
19399         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19400         Remove variable.
19402         [BZ #18539]
19403         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19404         define as weak alias of __addseverity.
19405         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19406         Remove variable.
19407         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19408         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19409         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19411         [BZ #18536]
19412         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19413         (__tfind): Likewise.
19414         (__tdelete): Likewise.
19415         (__twalk): Likewise.
19416         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19417         __twalk to GLIBC_PRIVATE.
19418         * include/search.h (__tsearch): Use libc_hidden_proto.
19419         (__tfind): Likewise.
19420         (__tdelete): Likewise.
19421         (__twalk): Likewise.
19422         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19423         Call __tdelete instead of tdelete.
19424         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19425         tfind.  Call __tsearch instead of tsearch.
19426         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19427         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19428         Remove variable.
19429         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19431         [BZ #18534]
19432         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19433         (dprintf): Define as a weak alias of __dprintf, not a strong
19434         alias.
19435         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19436         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19437         dprintf.
19438         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19439         Remove variable.
19440         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19441         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19443         [BZ #18533]
19444         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19445         not a strong alias.
19446         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19447         Remove variable.
19449         [BZ #18532]
19450         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19451         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19452         (in6addr_loopback): Rename to __in6addr_loopback and define as
19453         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19454         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19455         libc_hidden_proto.
19456         (__in6addr_any): Likewise.
19457         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19458         in6addr_any.
19459         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19460         variable.
19461         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19463 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19465         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19466         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19467         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19468         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19469         redirections for pow.
19470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19471         * sysdeps/x86_64/fpu/Versions: New versions added.
19472         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19473         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19474         build of SSE, AVX2 and AVX512 IFUNC versions.
19475         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19476         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19477         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19478         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19479         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19480         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19481         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19482         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19483         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19484         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19485         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19486         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19487         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19488         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19489         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19490         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19492         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19493         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19494         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19495         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19496         * NEWS: Mention addition of x86_64 vector pow.
19498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19499         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19500         redirections for expf.
19501         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19502         * sysdeps/x86_64/fpu/Versions: New versions added.
19503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19504         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19505         build of SSE, AVX2 and AVX512 IFUNC versions.
19506         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19507         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19509         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19510         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19511         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19512         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19513         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19514         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19515         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19516         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19517         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19518         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19519         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19521         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19522         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19526         * NEWS: Mention addition of x86_64 vector expf.
19528         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19529         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19530         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19531         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19532         redirections for exp.
19533         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19534         * sysdeps/x86_64/fpu/Versions: New versions added.
19535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19536         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19537         build of SSE, AVX2 and AVX512 IFUNC versions.
19538         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19539         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19540         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19541         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19542         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19543         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19544         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19545         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19546         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19547         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19548         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19549         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19550         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19551         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19552         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19553         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19554         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19555         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19556         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19557         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19558         * NEWS: Mention addition of x86_64 vector exp.
19560         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19561         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19562         redirections for logf.
19563         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19564         * sysdeps/x86_64/fpu/Versions: New versions added.
19565         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19566         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19567         build of SSE, AVX2 and AVX512 IFUNC versions.
19568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19571         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19572         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19573         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19574         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19575         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19576         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19577         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19578         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19579         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19580         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19581         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19582         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19583         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19584         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19585         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19586         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19587         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19588         * NEWS: Mention addition of x86_64 vector logf.
19590         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19591         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19594         redirections for log.
19595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19596         * sysdeps/x86_64/fpu/Versions: New versions added.
19597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19599         build of SSE, AVX2 and AVX512 IFUNC versions.
19600         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19601         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19602         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19603         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19604         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19605         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19606         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19607         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19608         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19609         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19610         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19611         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19612         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19613         test.
19614         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19615         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19616         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19617         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19618         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19619         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19620         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19621         * NEWS: Mention addition of x86_64 vector log.
19623 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19625         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19626         cfi_adjust_cfa_offset argument.
19627         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19628         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19630         [BZ #18034]
19631         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19632         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19633         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19634         ordering using ldar.
19635         (_dl_tlsdesc_dynamic): Likewise.
19636         (_dl_tlsdesc_return_lazy): Likewise.
19637         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19638         relaxed atomics instead of volatile and synchronize with release store.
19639         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19640         volatile.
19641         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19643 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19647         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19648         * sysdeps/x86_64/fpu/Versions: New versions added.
19649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19650         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19651         build of SSE, AVX2 and AVX512 IFUNC versions.
19652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19655         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19656         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19657         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19658         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19659         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19660         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19661         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19662         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19663         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19664         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19665         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19666         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19667         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19668         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19670         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19671         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19672         * NEWS: Mention addition of x86_64 vector sinf.
19674 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19676         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19677         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19678         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19679         Remove variable.
19680         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19681         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19683 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19685         [BZ #18530]
19686         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19687         strong alias of _IO_fputs.  Use libc_hidden_def.
19688         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19689         and define as weak alias of __fputs_unlocked.  Use
19690         libc_hidden_weak.
19691         * include/stdio.h (__fputs_unlocked): Declare.  Use
19692         libc_hidden_proto.
19693         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19694         fputs_unlocked.
19696         [BZ #18529]
19697         * resolv/netdb.h [__USE_POSIX]: Change condition to
19698         [__USE_XOPEN2K].
19699         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19700         not expect.
19701         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19702         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19703         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19704         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19705         [XPG4 || UNIX98] (AI_ALL): Likewise.
19706         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19707         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19708         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19709         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19710         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19711         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19712         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19713         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19714         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19715         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19716         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19717         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19718         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19719         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19720         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19721         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19722         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19723         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19724         [XPG4 || UNIX98] (gai_strerror): Likewise.
19725         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19726         [XPG4 || UNIX98] (getnameinfo): Likewise.
19728         [BZ #18528]
19729         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19730         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19731         __USE_XOPEN2K8].
19732         (getgrent): Likewise.
19733         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19734         expect.
19735         [XPG3 || POSIX2008] (endgrent): Likewise.
19736         [XPG3] (setgrent): Likewise.
19737         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19738         variable.
19739         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19741         [BZ #18527]
19742         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19743         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19744         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19745         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19746         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19747         * include/unistd.h (__getlogin_r): Declare.  Use
19748         libc_hidden_proto.
19749         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19750         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19751         variable.
19752         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19753         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19754         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19756 2015-06-12  Martin Sebor  <msebor@redhat.com>
19758         [BZ #18512]
19759         * Makerules (check-install-supported): New target.
19760         (install): Add check-install-supported as a dependency.
19761         * manual/install.texi (Installing the C Library): Document
19762         that overriding prefix and exec_prefix is not supported.
19763         Mention DESTDIR.
19764         * INSTALL: Regenerate from the above.
19766 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19768         [BZ #18519]
19769         * posix/Versions (libc): Export __libc_pread at version
19770         GLIBC_PRIVATE.
19771         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19772         instead of pread.
19773         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19774         variable.
19776         [BZ #18522]
19777         * misc/efgcvt_r.c
19778         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19779         (cvt_symbol): Use weak_alias instead of strong_alias.
19780         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19781         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19782         Remove variable.
19783         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19784         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19786         [BZ #18520]
19787         * inet/herrno.c (h_errno): Rename to __h_errno.
19788         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19789         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19790         to __h_errno instead of h_errno.
19791         * nptl/herrno.c (h_errno): Rename to __h_errno.
19792         (__h_errno_location): Refer to __h_errno not h_errno.
19793         * resolv/Versions (h_errno): Rename to __h_errno.
19794         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19795         Remove variable.
19796         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19798 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19800         * configure.ac: More strict check for AVX512 assembler support.
19801         * configure: Regenerated.
19803         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19804         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19805         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19806         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19808         * sysdeps/x86_64/fpu/Versions: New versions added.
19809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19811         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19812         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19813         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19817         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19818         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19819         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19820         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19821         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19822         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19823         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19824         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19825         test.
19826         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19829         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19830         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19831         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19832         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19833         * NEWS: Mention addition of x86_64 vector sin.
19835 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19837         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19838         comment.
19840 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19842         [BZ #18479]
19843         * nptl/pt-interp.c: New file.
19844         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19845         Add pt-interp.
19846         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19847         $(common-objpfx)runtime-linker.h.
19849 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19851         * Makeconfig (+interp): Remove unused variable.
19852         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19853         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19854         $(elf-objpfx)runtime-linker.h.
19855         ($(elf-objpfx)runtime-linker.h): Rename to
19856         $(common-objpfx)runtime-linker.h and move ...
19857         * Makerules [$(build-shared) = yes]: ... here.
19858         * elf/interp.c: Include <runtime-linker.h> instead of
19859         <elf/runtime-linker.h>.
19861 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19863         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19864         (__gettimeofday_syscall): Remove vsyscall fallback.
19865         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19866         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19867         Add syscall fallback function.
19868         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19869         if vDSO is not present.
19870         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19871         fallback function.
19872         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19873         present.
19874         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19875         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19877 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19879         [BZ #18497]
19880         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19881         of wcscmp.
19882         (wcscmp): Define as weak alias of WCSCMP.
19883         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19884         wcscoll.
19885         (USE_HIDDEN_DEF): Define.
19886         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19887         __wcscoll.  Don't use libc_hidden_weak.
19888         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19889         wcscmp.
19890         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19891         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19892         __GI_wcscmp.
19893         (weak_alias): Undefine and redefine.
19894         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19895         __wcscmp and define as weak alias of __wcscmp.
19896         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19897         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19898         (__wcscoll): Likewise.
19899         (wcscmp): Don't use libc_hidden_proto.
19900         (wcscoll): Likewise.
19901         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19902         wcscoll.
19903         * posix/regexec.c (check_node_accept_bytes): Likewise.
19904         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19905         variable.
19906         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19907         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19909         [BZ #18507]
19910         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19911         __fstatvfs and define as weak alias of __fstatvfs.  Use
19912         libc_hidden_weak.
19913         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19914         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19915         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19916         Define as alias of __fstatvfs, not fstatvfs.
19917         (fstatvfs64): Likewise.
19918         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19919         Define as alias of __statvfs, not statvfs.
19920         (statvfs64): Likewise.
19921         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19922         Remove variable.
19924 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19927         (HAVE_GETCPU_VSYSCALL): Define.
19928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19929         (HAVE_GETCPU_VSYSCALL): Likewise.
19930         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19931         * sysdeps/unix/sysv/linux/sched_getcpu.c
19932         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19933         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19934         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19935         prototype.
19936         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19937         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19938         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19940         Define.
19941         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19942         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19943         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19946 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19948         * sysdeps/x86_64/fpu/Makefile: New file.
19949         * sysdeps/x86_64/fpu/Versions: New file.
19950         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19951         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19952         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19953         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19954         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19955         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19956         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19957         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19958         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19960         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19964         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19965         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19966         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19967         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19968         * sysdeps/x86_64/configure: Regenerated.
19969         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19970         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19971         * manual/install.texi (Configuring and compiling): Document
19972         --disable-mathvec.
19973         * INSTALL: Regenerated.
19974         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19976         * math/Makefile: Added rules for vector tests.
19977         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19978         declaration under condition.
19979         * math/test-double-vlen2.h: New file.
19980         * math/test-double-vlen4.h: New file.
19981         * math/test-double-vlen8.h: New file.
19982         * math/test-vec-loop.h: Added initialization macro.
19983         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19985         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19986         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19987         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19989         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19990         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19991         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19992         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19993         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19996         * sysdeps/x86_64/fpu/Versions: New versions added.
19997         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20000         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20001         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20002         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20003         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20004         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20005         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20006         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20007         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20008         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20009         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20010         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20011         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20013         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20014         * NEWS: Mention addition of x86_64 vector cosf.
20016         * math/Makefile: Added CFLAGS for new tests.
20017         * math/test-float-vlen16.h: New file.
20018         * math/test-float-vlen4.h: New file.
20019         * math/test-float-vlen8.h: New file.
20020         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20021         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20023         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20024         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20026         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20030         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20032 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20034         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20035         * locale/programs/ld-ctype.c: Likewise.
20037 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20039         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20040         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20041         bit_ZMM16_31_state): New macro.
20042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20043         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20045 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20047         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20049 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20051         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20053 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20055         [BZ #18498]
20056         * libio/memstream.c (open_memstream): Rename to __open_memstream
20057         and define as weak alias of __open_memstream.
20058         * include/stdio.h (__open_memstream): Declare.  Use
20059         libc_hidden_proto.
20060         (open_memstream): Don't use libc_hidden_proto.
20061         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20062         open_memstream.
20063         * posix/getopt.c (_getopt_internal_r): Likewise.
20064         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20065         variable.
20066         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20067         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20068         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20070         [BZ #18496]
20071         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20072         instead of wcrtomb.
20074         [BZ #18483]
20075         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20076         [__USE_XOPEN2K8].  Remove redundant #endif.
20077         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20078         Remove redundant #if.
20079         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20080         Remove variable.
20081         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20082         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20084         [BZ #18495]
20085         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20086         (__iswlower): Likewise.
20087         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20088         (__iswlower): Likewise.
20089         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20090         instead of towlower.
20091         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20092         instead of iswlower.  Call __towupper instead of towupper.
20093         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20094         instead of iswalnum.
20096 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20098         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20099         errors to stderr.
20101 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20103         [BZ #15661]
20104         [BZ #17322]
20105         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20106         Check for overflow properly.  Check for O_APPEND.  Ignore large
20107         file system block sizes.  Add comments about problems.
20108         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20109         * manual/filesys.texi (Storage Allocation): New node.
20111 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20113         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20114         cancellable syscalls.
20115         (SYS_ify): Add guard to no redefine it.
20116         (INLINE_SYSCALL): Likewise.
20117         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20118         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20119         SYSCALL_CANCEL instead.
20120         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20121         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20122         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20123         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20124         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20125         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20126         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20127         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20128         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20129         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20130         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20131         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20132         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20133         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20134         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20136         Likewise.
20137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20138         (__libc_pread64): Likewise.
20139         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20140         (__libc_preadv): Likewise.
20141         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20142         (__libc_readv64): Likewise.
20143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20144         (__libc_pwrite): Likewise.
20145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20146         (__libc_pwrite64): Likewise.
20147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20148         (__libc_pwritev): Likewise.
20149         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20150         (__libc_pwritev64): Likewise.
20151         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20152         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20153         (sync_file_range): Likewise.
20154         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20155         Likewise.
20156         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20157         Likewise.
20158         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20159         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20160         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20161         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20162         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20163         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20164         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20165         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20167         Likewise.
20168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20169         (__libc_read64): Likewise.
20170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20171         Likewise.
20172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20173         Likewise.
20174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20175         Likewise.
20176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20177         Likewise.
20178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20179         (__libc_pread64): Likewise.
20180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20181         Likewise.
20182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20183         (__libc_pwrite64): Likewise.
20184         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20185         (sync_file_range): Likewise.
20186         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20187         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20188         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20189         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20190         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20191         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20192         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20193         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20194         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20195         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20196         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20197         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20198         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20199         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20200         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20201         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20202         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20203         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20205         Likewise.
20206         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20207         Likewise.
20208         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20209         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20210         Likewise.
20211         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20212         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20213         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20214         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20215         Likewise.
20216         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20217         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20218         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20219         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20220         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20222 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20224         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20225         Include dl-vdso.
20226         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20227         Use VDSO routines for gettimeofday, clock_gettime if
20228         available.
20229         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20230         Declare VDSO symbols.
20231         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20232         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20233         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20234         * sysdeps/unix/sysv/linux/arm/Versions: Add
20235         __vdso_clock_gettime.
20237 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20239         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20240         be an inline implementation regardless of library is built within.
20241         (open_not_cancel_2): Likewise.
20242         (__read_nocancel): Likewise.
20243         (__write_nocancel): Likewise.
20244         (openat_not_cancel): Likewise.
20245         (openat_not_cancel_3): Likewise.
20246         (openat64_not_cancel): Likewise.
20247         (openat64_not_cancel_3): Likewise.
20248         (__close_nocancel): Likewise.
20249         (pause_not_cancel): Likewise.
20250         (nanosleep_not_cancel): Likewise.
20251         (sigsuspend_not_cancel): Likewise.
20253 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20255         [BZ #14958]
20256         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20257         wake-up.
20258         (__pthread_rwlock_rdlock_slow): Likewise.
20259         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20260         Likewise.
20261         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20262         Likewise.
20263         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20264         * nptl/tst-rwlock16.c: New file.
20265         * nptl/Makefile (tests): Add new test.
20267 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20269         [BZ #18324]
20270         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20271         missing wake-up of readers.
20272         * nptl/tst-rwlock15.c: New file.
20273         * nptl/Makefile (tests): Add new test.
20275 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20277         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20278         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20279         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20280         and __nacl_supply_interface_rtld.
20281         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20282         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20283         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20284         Add __nacl_supply_interface_rtld.
20285         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20287 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20289         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20290         isfinite.
20291         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20292         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20294 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20296         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20297         __signbit* with standard C99 macros.
20298         * math/e_exp10l.c: Likewise.
20299         * math/e_exp2l.c: Likewise.
20300         * math/e_scalb.c: Likewise.
20301         * math/e_scalbf.c: Likewise.
20302         * math/e_scalbl.c: Likewise.
20303         * math/s_ldexp.c: Likewise.
20304         * math/s_ldexpf.c: Likewise.
20305         * math/s_ldexpl.c: Likewise.
20306         * math/w_atan2.c: Likewise.
20307         * math/w_atan2f.c: Likewise.
20308         * math/w_atan2l.c: Likewise.
20309         * math/w_cosh.c: Likewise.
20310         * math/w_coshf.c: Likewise.
20311         * math/w_coshl.c: Likewise.
20312         * math/w_exp10.c: Likewise.
20313         * math/w_exp10f.c: Likewise.
20314         * math/w_exp10l.c: Likewise.
20315         * math/w_exp2.c: Likewise.
20316         * math/w_exp2f.c: Likewise.
20317         * math/w_exp2l.c: Likewise.
20318         * math/w_fmod.c: Likewise.
20319         * math/w_fmodf.c: Likewise.
20320         * math/w_fmodl.c: Likewise.
20321         * math/w_hypot.c: Likewise.
20322         * math/w_hypotf.c: Likewise.
20323         * math/w_hypotl.c: Likewise.
20324         * math/w_jnl.c: Likewise.
20325         * math/w_lgamma.c: Likewise.
20326         * math/w_lgamma_r.c: Likewise.
20327         * math/w_lgammaf.c: Likewise.
20328         * math/w_lgammaf_r.c: Likewise.
20329         * math/w_lgammal.c: Likewise.
20330         * math/w_lgammal_r.c: Likewise.
20331         * math/w_pow.c: Likewise.
20332         * math/w_powf.c: Likewise.
20333         * math/w_powl.c: Likewise.
20334         * math/w_remainder.c: Likewise.
20335         * math/w_remainderf.c: Likewise.
20336         * math/w_remainderl.c: Likewise.
20337         * math/w_scalb.c: Likewise.
20338         * math/w_scalbf.c: Likewise.
20339         * math/w_scalbl.c: Likewise.
20340         * math/w_scalbln.c: Likewise.
20341         * math/w_scalblnf.c: Likewise.
20342         * math/w_scalblnl.c: Likewise.
20343         * math/w_sinh.c: Likewise.
20344         * math/w_sinhf.c: Likewise.
20345         * math/w_sinhl.c: Likewise.
20346         * math/w_tgamma.c: Likewise.
20347         * math/w_tgammaf.c: Likewise.
20348         * math/w_tgammal.c: Likewise.
20349         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20350         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20351         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20352         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20353         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20355         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20356         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20357         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20358         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20359         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20360         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20361         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20362         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20363         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20364         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20365         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20366         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20367         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20370         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20371         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20372         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20373         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20374         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20375         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20376         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20377         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20378         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20379         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20380         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20381         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20382         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20383         * stdio-common/printf_fp.c: Likewise.
20384         * stdio-common/printf_fphex.c: Likewise.
20385         * stdio-common/printf_size.c: Likewise.
20387 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20389         [BZ #18470]
20390         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20391         strnlen.
20392         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20393         Remove variable.
20394         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20395         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20396         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20397         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20398         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20399         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20400         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20401         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20402         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20403         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20405         [BZ #18468]
20406         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20407         weak alias of __wmemchr.  Use libc_hidden_weak.
20408         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20409         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20410         instead of wmemchr.
20412 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20414         [BZ #18383]
20415         * elf/tst-tlsalign-extern.c: New file.
20416         * elf/tst-tlsalign-extern-static.c: New file.
20417         * elf/tst-tlsalign-vars.c: New file.
20418         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20419         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20420         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20421         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20422         (test-xfail-tst-tlsalign-extern-static): New variable.
20424 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20426         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20427         Use variable name _sc_err instead of err.
20428         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20429         instead of ret.
20430         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20431         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20432         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20433         (INLINE_SYSCALL): Likewise.
20435         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20436         * include/string.h (__strnlen): Use libc_hidden_proto.
20437         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20438         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20439         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20440         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20441         (libc_hidden_def): Undefine and redefine.
20442         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20443         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20444         __GI_strnlen.
20445         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20446         libc_hidden_def.
20447         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20449         [BZ #18469]
20450         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20451         weak alias of __towlower.  Use libc_hidden_weak.
20452         (towupper): Rename to __towupper and define as weak alias of
20453         __towupper.  Use libc_hidden_weak.
20454         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20455         (__towupper): Likewise.
20456         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20457         __towlower instead of towlower.
20459 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20461         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20462         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20464 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20466         * sysdeps/aarch64/libm-test-ulps: Update.
20468 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20470         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20471         Define.
20472         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20474         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20475         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20476         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20477         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20478         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20480 2015-06-01  Martin Sebor  <msebor@redhat.com>
20482         [BZ #18116]
20483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20484         (__setcontext): Use extended four-operand version of mtsf whenever
20485         possible.
20486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20487         (__novec_swapcontext): Likewise.
20489 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20491         * benchtests/scripts/compare_bench.py: New file.
20492         * benchtests/scripts/import_bench.py (mean): New function.
20493         (split_list): Likewise.
20494         (do_for_all_timings): Likewise.
20495         (compress_timings): Likewise.
20497         * benchtests/scripts/import_bench.py: New file.
20498         * benchtests/scripts/validate_benchout.py: Import import_bench
20499         instead of jsonschema.
20500         (validate_bench): Remove function.
20501         (main): Use import_bench.
20503 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20505         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20506         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20508 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20512 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20514         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20515         set THREAD_SELF->tid to a magic value and futex-wake it.
20516         Pass its address to the thread_exit system call.
20517         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20518         bit is clear.
20519         * sysdeps/nacl/lowlevellock.h: New file.
20520         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20522         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20523         Add TIMEOUT to current time, don't subtract it.
20525 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20527         [BZ #2981]
20528         [BZ #18422]
20529         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20530         ($(objpfx)tst-audit2.out): Also depend on
20531         $(objpfx)tst-auditmod9b.so.
20532         * elf/tst-audit2.c: Include <dlfcn.h>.
20533         (calloc_called): New.
20534         (calloc): Allow to be called more than once.
20535         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20537 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20539         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20540         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20542 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20544         * stdlib/monetary.h: Fix comment.
20546 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20548         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20549         Avoid using variables in #defines that might cause shadowing.
20550         (INTERNAL_VSYSCALL_CALL): Likewise.
20552 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20554         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20556         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20557         * nptl/lll_timedlock_wait.c: ... to this new file.
20558         * nptl/Makefile (libpthread-routines): Add it.
20559         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20560         * nptl/lll_timedwait_tid.c: ... to this new file.
20561         * nptl/Makefile (libpthread-routines): Add it.
20562         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20563         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20564         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20565         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20566         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20567         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20568         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20569         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20570         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20571         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20573 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20575         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20576         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20577         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20579         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20581         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20583         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20584         * sysdeps/unix/sysv/linux/tile/sysdep.h
20585         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20586         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20587         using vDSO syscall macro.
20589 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20591         [BZ #17293]
20592         * uk_UA: Fix sorting order for Ukrainian locale
20594 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20596         * stdlib/monetary.h: Fix comment.
20598 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20600         [BZ #18234]
20601         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20602         st_mtim and st_ctim members.
20603         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20604         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20605         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20606         (struct stat64): Likewise.
20607         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20608         (struct stat64): Likewise.
20609         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20610         (struct stat64): Likewise.
20612 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20614         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20615         Define and include sysdep-vdso.h.
20616         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20617         Likewise.
20618         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20619         Likewise.
20620         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20621         Define with VDSO_SYMBOL and use PTR_MANGLE.
20622         (__vdso_clock_gettime): Likewise.
20623         (__vdso_clock_getres): Likewise.
20624         (_libc_vdso_platform_setup): Likewise.
20625         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20626         Likewise.
20627         (_libc_vdso_platform_setup): Likewise.
20628         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20629         Likewise.
20630         (__vdso_clock_gettime): Likewise.
20631         (__vdso_clock_getres): Likewise.
20632         (__vdso_get_tbfreq): Likewise.
20633         (__vdso_getcpu): Likewise.
20634         (__vdso_time): Likewise.
20635         (__vdso_sigtramp_rt64): Likewise.
20636         (__vdso_signtramp32): Likewise.
20637         (__vdso_sigtramp_rt32): Likewise.
20638         (_libc_vdso_platform_setup): Likewise.
20639         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20640         Likewise.
20641         (__vdso_clock_gettime): Likewise.
20642         (__vdso_clock_getres): Likewise.
20643         (_libc_vdso_platform_setup): Likewise.
20644         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20645         Likewise.
20646         (__vdso_clock_gettime): Likewise.
20647         (_libc_vdso_platform_setup): Likewise.
20648         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20649         Likewise.
20650         (__vdso_getcpu): Likewise.
20651         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20652         Use VDSO_SYMBOL macro to define.
20653         (__vdso_clock_gettime): Likewise.
20654         (__vdso_clock_getres): Likewise.
20655         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20656         Likewise.
20657         (__vdso_clock_gettime): Likewise.
20658         (__vdso_clock_getres): Likewise.
20659         (__vdso_get_tbfreq): Likewise.
20660         (__vdso_getcpu): Likewise.
20661         (__vdso_time): Likewise.
20662         (__vdso_sigtramp_rt64): Likewise.
20663         (__vdso_signtramp32): Likewise.
20664         (__vdso_sigtramp_rt32): Likewise.
20665         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20666         Likewise.
20667         (__vdso_clock_gettime): Likewise.
20668         (__vdso_clock_getres): Likewise.
20669         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20670         Likewise.
20671         (__vdso_clock_gettime): Likewise.
20672         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20673         Likewise.
20674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20675         macro.
20676         (INTERNAL_VSYSCALL): Likewise.
20677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20678         Remove macro.
20679         (INTERNAL_VSYSCALL): Likewise.
20680         (INTERNAL_VSYSCALL_NCS): Likewise.
20681         (INTERNAL_VSYSCALL_CALL): New macro.
20682         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20684         Likewise.
20685         (INTERNAL_VSYSCALL): Likewise.
20686         (INTERNAL_VSYSCALL_NCS): Likewise.
20687         (INTERNAL_VSYSCALL_CALL): New macro.
20688         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20690         (INLINE_VSYSCALL): Remove macro.
20691         (INTERNAL_VSYSCALL): Remove macro.
20692         (INTERNAL_VSYSCALL_NCS): Remove macro.
20693         (INTERNAL_VSYSCALL_CALL): New macro.
20694         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20696         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20697         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20698         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20700         (INLINE_VSYSCALL): Remove macro.
20701         (INTERNAL_VSYSCALL): Likewise.
20702         (INTERNAL_VSYSCALL_NCS): Likewise.
20703         (INTERNAL_VSYSCALL_CALL): New macro.
20704         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20705         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20706         PTR_DEMANGLE on vDSO pointer.
20707         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20708         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20709         macro.
20710         (INTERNAL_SYSCALL): Likewise.
20711         (INTERNAL_VSYSCALL_NCS): Remove macro.
20712         (INTERNAL_VSYSCALL_CALL): New macro.
20713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20714         Remove macro.
20715         (INTERNAL_VSYSCALL): Likewise.
20716         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20717         sysdep-vdso.h instead of libc-vdso.h.
20718         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20719         definition.
20720         (INLINE_VSYSCALL): Likewise.
20721         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20722         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20723         definition.
20724         (INLINE_VSYSCALL): Likewise.
20725         (INTERNAL_VSYSCALL): Likewise.
20726         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20727         * sysdeps/unix/sysv/linux/timespec_get.c
20728         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20729         (timespec_get): Use ANSI prototype.
20730         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20731         and definition for Linux.
20733 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20735         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20736         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20738 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20740         [BZ #2981]
20741         [BZ #18410]
20742         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20743         for missing DT_PLTRELSZ.
20745 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20747         Remove obsolete aliases that broke 'locale -a'
20748         [BZ #18412]
20749         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20750         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20751         breaking some applications that use 'locale -a' output.
20752         Change the encoding of this file from Latin-1 to ASCII to avoid
20753         other potential problems with people grepping this file.
20755 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20757         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20758         -fasynchronous-unwind-tables.
20759         (CFLAGS-sendto.c): Likewise.
20760         (CFLAGS-sendmsg.c): Likewise.
20761         (CFLAGS-connect.c): Likewise.
20762         (CFLAGS-recvmsg.c): Likewise.
20763         (CFLAGS-recvfrom.c): Likewise.
20764         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20765         (SOCKETCALL): New macro: non-cancellable socketcall.
20766         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20767         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20768         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20769         * sysdeps/unix/sysv/linux/accept.c: New file.
20770         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20771         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20772         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20773         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20774         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20775         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20776         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20777         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20778         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20779         * sysdeps/unix/sysv/linux/send.c: Likewise.
20780         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20781         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20782         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20783         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20784         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20785         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20786         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20787         prototype.
20788         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20789         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20790         instead of __internal_xxx function.
20791         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20792         prototype.
20793         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20794         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20795         instead of __internal_xxx function.
20796         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20797         prototype.
20798         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20799         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20800         instead of __internal_xxx function.
20801         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20802         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20803         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20804         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20805         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20806         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20807         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20808         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20809         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20810         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20811         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20812         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20813         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20814         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20815         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20816         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20817         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20818         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20819         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20820         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20823         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20824         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20825         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20826         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20827         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20828         * sysdeps/unix/sysv/linux/send.S: Likewise.
20829         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20830         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20831         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20832         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20833         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20834         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20835         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20836         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20837         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20838         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20839         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20840         socketcall is implemented in GLIBC.
20842 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20844         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20845         (__fma): Ignore uninitialized warnings around packing.
20846         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20847         (__fmaf): Ignore uninitialized warnings around packing.
20848         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20849         (__fmal): Ignore uninitialized warnings around packing.
20851         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20852         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20854         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20856         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20857         switch statement into default case.
20858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20860         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20861         a conditional in forcing "inexact".
20862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20863         Likewise.
20865 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20867         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20868         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20869         for each INTERNAL_SYSCALL use.
20871 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20873         [BZ #438]
20874         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20875         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20876         variable.
20878         [BZ #18444]
20879         * string/basename.c (basename): Rename to __basename and define as
20880         weak alias of __basename.  Use libc_hidden_weak.
20881         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20882         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20883         __basename instead of basename.
20884         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20885         Remove variable.
20886         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20888 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20890         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20891         (_IO_JUMPS_FILE_plus): New.
20892         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20893         _IO_CAST_FIELD_ACCESS.
20894         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20895         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20896         * libio/freopen.c (freopen): Likewise.
20897         * libio/freopen64.c (freopen64): Likewise.
20898         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20899         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20900         * libio/iofwide.c (_IO_fwide): Likewise.
20901         * libio/memstream.c (open_memstream): Likewise.
20902         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20903         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20904         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20906 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20908         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20909         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20910         NADJ.
20911         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20912         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20913         NADJ.
20914         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20915         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20916         NADJ.
20918         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20919         (p == 4) case.
20921         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20922         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20923         Remove variable.
20924         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20925         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20926         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20928 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20930         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20931         Adjust jump table label generation macros.
20933 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20935         * stdio-common/vfprintf.c (vfprintf): Move local variables
20936         args_malloced, specs, specs_malloced, and the code after
20937         do_positional to the printf_positional function.
20938         (printf_positional): New function.
20940 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20942         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20943         function.
20944         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20945         STEP4_TABLE, process_arg): Move macro definitions
20946         out of the vfprintf function.  (Cosmetic change only.)
20948 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20950         * benchtests/Makefile (stdio-common-bench): Define.
20951         (benchset): Add stdio-common-bench.
20952         * sprintf-inputs: New file.
20953         * sprintf-source.c: New file.
20955 2015-05-21  Andreas Schwab  <schwab@suse.de>
20957         [BZ #13028]
20958         [BZ #17053]
20959         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20960         of struct __res_state.
20961         * resolv/res_send.c (__libc_res_nsend): Likewise.
20962         (get_nsaddr): New function.
20963         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20964         statp directly.
20966 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20968         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20969         -D_POSIX_C_SOURCE=199506L.
20971         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20973         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20974         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20975         Do not mention otherwise.
20976         [POSIX] (_XOPEN_VERSION): Do not expect.
20977         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20978         [POSIX] (_POSIX2_C_BIND): Likewise.
20979         [POSIX] (_POSIX2_VERSION): Likewise.
20980         [POSIX] (_XOPEN_XPG2): Likewise.
20981         [POSIX] (_XOPEN_XPG3): Likewise.
20982         [POSIX] (_XOPEN_XPG4): Likewise.
20983         [POSIX] (_XOPEN_UNIX): Likewise.
20984         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20985         [POSIX] (_POSIX_BARRIERS): Likewise.
20986         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20987         [POSIX] (_POSIX_CPUTIME): Likewise.
20988         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20989         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20990         [POSIX] (_POSIX_SHELL): Likewise.
20991         [POSIX] (_POSIX_SPAWN): Likewise.
20992         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20993         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20994         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20995         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20996         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20997         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20998         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20999         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21000         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21001         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21002         [POSIX] (_POSIX2_PBS): Likewise.
21003         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21004         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21005         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21006         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21007         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21008         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21009         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21010         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21011         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21012         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21013         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21014         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21015         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21016         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21017         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21018         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21019         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21020         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21021         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21022         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21023         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21024         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21025         [POSIX] (_SC_2_C_BIND): Likewise.
21026         [POSIX] (_SC_2_C_VERSION): Likewise.
21027         [POSIX] (_SC_2_PBS): Likewise.
21028         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21029         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21030         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21031         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21032         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21033         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21034         [POSIX] (_SC_BARRIERS): Likewise.
21035         [POSIX] (_SC_BASE): Likewise.
21036         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21037         [POSIX] (_SC_DEVICE_IO): Likewise.
21038         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21039         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21040         [POSIX] (_SC_FD_MGMT): Likewise.
21041         [POSIX] (_SC_FIFO): Likewise.
21042         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21043         [POSIX] (_SC_FILE_LOCKING): Likewise.
21044         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21045         [POSIX] (_SC_IOV_MAX): Likewise.
21046         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21047         [POSIX] (_SC_NETWORKING): Likewise.
21048         [POSIX] (_SC_PAGE_SIZE): Likewise.
21049         [POSIX] (_SC_PASS_MAX): Likewise.
21050         [POSIX] (_SC_PIPE): Likewise.
21051         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21052         [POSIX] (_SC_REGEXP): Likewise.
21053         [POSIX] (_SC_SHELL): Likewise.
21054         [POSIX] (_SC_SIGNALS): Likewise.
21055         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21056         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21057         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21058         [POSIX] (_SC_USER_GROUPS): Likewise.
21059         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21060         [POSIX] (_SC_STREAMS): Likewise.
21061         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21062         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21063         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21064         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21065         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21066         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21067         [POSIX] (_PC_FILESIZEBITS): Likewise.
21068         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21069         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21070         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21071         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21072         [POSIX] (uid_t): Likewise.
21073         [POSIX] (gid_t): Likewise.
21074         [POSIX] (off_t): Likewise.
21075         [POSIX] (pid_t): Likewise.
21076         [POSIX] (cuserid): Allow.
21077         (_SC_2_CHAR_TERM): Require constant.
21078         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21079         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21080         variable.
21082 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21084         * sysdeps/nacl/pthread-pids.h: New file.
21085         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21086         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21088         * nptl/pthread-pids.h: New file.
21089         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21090         * nptl/nptl-init.c: Include <pthread-pids.h>.
21091         (__pthread_initialize_minimal_internal):
21092         Call __pthread_initialize_pids instead of set_tid_address syscall.
21094         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21095         * sysdeps/posix/usleep.c: ... here.
21097 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21099         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21100         call_pselect6 object.
21101         [$(subdir) = io]: Remove call_sync_file_range object.
21102         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21103         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21104         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21105         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21107 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21109         * math/s_cproj.c: Add include "math_private.h".
21110         * math/s_cprojf.c: Likewise.
21111         * math/s_cprojl.c: Likewise.
21113 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21115         [BZ #18244]
21116         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21117         high mantissa bit when testing whether P is a NaN.
21118         * math/libm-test.inc (remainder_test_data): Add more tests.
21119         (remquo_test_data): Likewise.
21121         [BZ #18049]
21122         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21123         below -32, return the argument, with underflow if subnormal.
21124         * math/auto-libm-test-in: Add more tests of atanh.
21125         * math/auto-libm-test-out: Regenerated.
21127 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21129         [BZ #18434]
21130         * nptl/tst-sem15.c: New file.
21131         * nptl/Makefile (tests): Add it.
21132         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21133         s/<</>>/ to fix typo in EOVERFLOW check.
21134         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21136 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21138         * manual/strings.texi (envz_remove): Fix typo in safety
21139         annotations.
21141 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21142             Steve Ellcey  <sellcey@imgtec.com>
21144         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21145         in order to avoid strict alias warnings.
21146         (iruserok_af): Ditto for ra.
21148 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21150         [BZ #17581]
21151         * malloc/hooks.c
21152         (magicbyte): Convert to a function and avoid returning 0x01.
21153         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21154         (mem2chunk_check): Fix unsigned comparisons to zero.
21155         Hoist defs of sz and magic.
21157 2015-05-19  Richard Henderson  <rth@redhat.com>
21159         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21161         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21163 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21165         [BZ #16159]
21166         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21167         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21168         (reused_arena): Find a non-corrupt arena.
21169         (heap_trim): Pass arena to unlink.
21170         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21171         malloc_printerr.
21172         (top_check): Likewise.
21173         (free_check): Likewise.
21174         (realloc_check): Likewise.
21175         * malloc/malloc.c (malloc_printerr): Add arena argument.
21176         (unlink): Likewise.
21177         (munmap_chunk): Adjust.
21178         (ARENA_CORRUPTION_BIT): New macro.
21179         (arena_is_corrupt): Likewise.
21180         (set_arena_corrupt): Likewise.
21181         (sysmalloc): Use mmap if there are no usable arenas.
21182         (_int_malloc): Likewise.
21183         (__libc_malloc): Don't fail if arena_get returns NULL.
21184         (_mid_memalign): Likewise.
21185         (__libc_calloc): Likewise.
21186         (__libc_realloc): Adjust for additional argument to
21187         malloc_printerr.
21188         (_int_free): Likewise.
21189         (malloc_consolidate): Likewise.
21190         (_int_realloc): Likewise.
21191         (_int_memalign): Don't touch corrupt arenas.
21192         * malloc/tst-malloc-backtrace.c: New test case.
21194         * Makefile (summarize-tests): Fix return value on success.
21196         * manual/string.texi (Envz Functions): Add envz_remove.
21198 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21200         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21201         (invalid_name): New function, broken out of ...
21202         (__opendirat): ... here.  Call it.
21203         (need_isdir_precheck): New function, broken out of ...
21204         (__opendirat): ... here.  Call it.
21205         Use __fxstatat64, not __xstatat64.
21206         (opendir_oflags): New function, broken out of ...
21207         (__opendirat): ... here.  Call it.
21208         (opendir_tail): New function, broken out of ...
21209         (__opendirat): ... here.  Call it.
21210         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21211         opendir_tail, rather than punting to __opendirat.
21212         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21214 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21216         * .gitignore: Ignore generated *.pyc.
21218 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21220         * include/stdio.h: Define __need_wint_t.
21221         * test-skeleton.c: Avoid `for' loop initial declaration.
21222         * nptl/tst-initializers1.c: Use test-skeleton.c.
21224 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21226         [BZ #18418]
21227         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21229 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21231         [BZ #16352]
21232         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21233         (__ieee754_atanh): Force underflow exception for results with
21234         small absolute value.
21235         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21236         (__ieee754_atanhf): Force underflow exception for results with
21237         small absolute value.
21238         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21239         (__ieee754_atanh): Force underflow exception for results with
21240         small absolute value.
21241         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21242         (__ieee754_atanhf): Force underflow exception for results with
21243         small absolute value.
21244         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21245         (__ieee754_atanhl): Force underflow exception for results with
21246         small absolute value.
21247         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21248         (__ieee754_atanhl): Force underflow exception for results with
21249         small absolute value.
21250         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21251         (__ieee754_atanhl): Force underflow exception for results with
21252         small absolute value.
21253         * math/auto-libm-test-in: Do not allow missing underflow
21254         exceptions from atanh.
21255         * math/auto-libm-test-out: Regenerated.
21257         [BZ #18221]
21258         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21259         2**-28 as threshold for returning x or +/- 1/x.
21260         * math/auto-libm-test-in: Add more tests of tan.
21261         * math/auto-libm-test-out: Regenerated.
21263         [BZ #18220]
21264         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21265         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21266         * math/auto-libm-test-in: Add another test of lgamma.
21267         * math/auto-libm-test-out: Regenerated.
21269 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21271         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21272         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21273         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21274         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21275         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21276         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21277         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21278         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21279         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21280         (log1): Use fabs.  (my_log2): Use fabs.
21281         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21282         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21284         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21286         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21287         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21288         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21289         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21290         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21291         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21293 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21295         [BZ #18217]
21296         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21297         as threshold for returning 1 - x.
21298         * math/auto-libm-test-in: Add more tests of erfc.
21299         * math/auto-libm-test-out: Regenerated.
21301 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21303         [BZ #18196]
21304         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21305         threshold for large arguments.
21306         * math/auto-libm-test-in: Add another test of atan.
21307         * math/auto-libm-test-out: Regenerated.
21309         [BZ #16339]
21310         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21311         (__log1p): Force underflow exception for results with small
21312         absolute value.
21313         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21314         (__log1pf): Force underflow exception for results with small
21315         absolute value.
21316         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21317         (__log1p): Force underflow exception for results with small
21318         absolute value.
21319         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21320         (__log1pf): Force underflow exception for results with small
21321         absolute value.
21322         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21323         (__log1pl): Force underflow exception for results with small
21324         absolute value.
21325         * math/auto-libm-test-in: Do not allow missing underflow
21326         exceptions from log1p.
21327         * math/auto-libm-test-out: Regenerated.
21329 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21330             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21332         [BZ #16704]
21333         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21335 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21337         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21338         (libmvec): New variable.
21339         * configure.ac: Added option for mathvec build.
21340         * configure: Regenerated.
21341         * mathvec/Depend: New file.
21342         * mathvec/Makefile: New file.
21343         * shlib-versions: Added libmvec.
21344         * math/Makefile: Added rule for libm.so installation.
21346         * bits/math-vector.h: New file.
21347         * bits/libm-simd-decl-stubs.h: New header.
21348         * math/Makefile (headers): Added new header
21349         libm-simd-decl-stubs.h.
21350         * math/math.h (__MATHCALL_VEC): New macro.
21352         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21353         for conditions in testing functions.
21354         * math/Makefile: Added call of libm-have-vector-test.sh.
21355         * math/libm-test.inc (HAVE_VECTOR): New macros.
21357         * math/libm-test.inc: START refactored.
21358         * math/test-double.c (TEST_MATHVEC): Add define.
21359         * math/test-float.c: Likewise.
21360         * math/test-idouble.c: Likewise.
21361         * math/test-ifloat.c: Likewise.
21362         * math/test-ildoubl.c: Likewise.
21363         * math/test-ldouble.c: Likewise.
21364         * sysdeps/generic/math-tests-arch.h
21365         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21366         architecture check.
21368         * math/test-double.c (FUNC_TEST): New macro.
21369         * math/test-float.c: Likewise.
21370         * math/test-idouble.c: Likewise.
21371         * math/test-ifloat.c: Likewise.
21372         * math/test-ildoubl.c: Likewise.
21373         * math/test-ldouble.c: Likewise.
21374         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21376 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21378         * sysdeps/nacl/fdopendir.c: New file.
21380         * dirent/scandir-tail.c: New file.
21381         * dirent/scandir64-tail.c: New file.
21382         * dirent/Makefile (routines): Add them.
21383         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21384         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21385         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21386         [!SCANDIR] (SCANDIR_TAIL): New macro.
21387         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21388         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21389         (SCANDIRAT): Macro removed.
21390         (SCANDIR_TAIL): New macro.
21391         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21392         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21393         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21394         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21395         (READDIR): Macro removed.
21396         (SCANDIR_TAIL): New macro.
21397         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21398         (SCANDIR_TAIL): New macro.
21400         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21401         * dirent/scandir-cancel.c: ... to this new file.
21402         * dirent/Makefile (routines): Add it.
21403         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21404         * sysdeps/unix/sysv/linux/i386/scandir64.c
21405         (SKIP_SCANDIR_CANCEL): Macro removed.
21406         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21408         * dirent/tst-scandir.c: New file.
21409         * dirent/tst-scandir64.c: New file.
21410         * dirent/Makefile (tests): Add them.
21412 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21414         [BZ #18409]
21415         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21417 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21419         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21420         list.
21422 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21424         * benchtests/bench-strcoll.c: New benchmark.
21425         * benchtests/Makefile: Generate locales and run benchmark.
21426         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21427         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21428         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21429         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21430         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21431         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21432         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21433         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21434         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21435         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21436         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21437         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21438         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21439         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21440         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21441         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21442         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21443         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21444         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21445         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21446         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21447         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21448         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21449         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21451 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21453         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21454         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21456 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21458         * posix/uname-values.h: New file.
21459         * posix/uname.c: Include that instead of <config-name.h>.
21460         * sysdeps/nacl/uname-values.h: New file.
21461         * sysdeps/arm/nacl/uname-values.h: New file.
21463 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21465         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21466         splitting into fields.
21468 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21470         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21471         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21472         * locale/localeinfo.h: Add enum collation_encoding_type.
21473         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21474         * programs/ld-collate.c (collate_output): Add encoding type info.
21475         * string/strcoll_l.c (STRDIFF): New function.
21476         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21477         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21479 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21481         [BZ #18397]
21482         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21483         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21484         <fpu_control.h> instead of <math/fpu_control.c>.
21485         * sysdeps/mips/mips32/fpu/Makefile: New file.
21487 2015-05-11  Andreas Schwab  <schwab@suse.de>
21489         [BZ #18007]
21490         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21491         nss_endgrent.
21492         (_nss_compat_endgrent): Call nss_endgrent.
21493         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21494         nss_endpwent.
21495         (_nss_compat_endpwent): Call nss_endpwent.
21496         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21497         needent, call nss_setspent only if non-zero.
21498         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21499         (internal_endspent): Don't call nss_endspent.
21500         (_nss_compat_endspent): Call nss_endspent.
21501         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21502         Remove.  All uses removed.
21503         (internal_setent): Remove parameter stayopen, add parameter
21504         stream.  Use it instead of global variable.
21505         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21506         (internal_endent, internal_getent): Add parameter stream.  Use it
21507         instead of global variable.
21508         (CONCAT(_nss_files_end,ENTNAME))
21509         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21510         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21511         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21512         uses removed.
21513         (internal_setent, internal_endent): Add parameter stream.  Use it
21514         instead of global variable.
21515         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21516         stream.
21517         (get_next_alias): Add parameter stream.
21518         (_nss_files_getaliasent_r): Pass global stream.
21519         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21520         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21521         (_nss_files_gethostbyname4_r): Pass local stream to
21522         internal_setent, internal_getent and internal_endent.  Remove
21523         locking.
21525 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21527         * tst-strfmon1.c (tests): Update expected currency symbol.
21529 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21531         * sysdeps/nacl/gethostname.c: New file.
21533 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21535         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21536         and sinh.
21537         * math/auto-libm-test-out: Regenerated.
21538         * sysdeps/i386/fpu/libm-test-ulps: Update.
21539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21541 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21543         [BZ #18125]
21544         * stdlib/tst-setcontext3.c: New file.
21545         * stdlib/tst-setcontext3.sh: New file.
21546         * stdlib/Makefile (tests): Add tst-setcontext3.
21547         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21548         to verify test program created output file.
21549         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21550         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21551         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21552         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21554 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21556         [BZ #18383]
21557         * elf/tst-tlsalign.c: New file.
21558         * elf/tst-tlsalign-static.c: New file.
21559         * elf/tst-tlsalign-lib.c: New file.
21560         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21561         (tests-static): Add tst-tlsalign-static.
21562         (modules-names): Add tst-tlsalign-lib.
21563         (test-xfail-tst-tlsalign): New variable.
21564         (test-xfail-tst-tlsalign-static): New variable.
21566         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21567         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21569 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21571         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21572         csqrt, erfc, sin and sincos.
21573         * math/auto-libm-test-out: Regenerated.
21574         * sysdeps/i386/fpu/libm-test-ulps: Update.
21575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21577 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21579         * sysdeps/aarch64/libm-test-ulps: Update.
21581 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21583         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21584         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21585         * math/auto-libm-test-out: Regenerated.
21586         * sysdeps/i386/fpu/libm-test-ulps: Update.
21587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21589 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21591         [BZ #18265]
21592         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21593         (wcsncpy): Likewise.
21595 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21597         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21598         Assume __ASSUME_FALLOCATE is always true.
21599         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21600         (__posix_fallocate64_l64): Likweise.
21601         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21602         (posix_fallocate): Likewise.
21603         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21604         (__posix_fallocate64_l64): Likewise.
21605         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21606         [!__ASSUME_FALLOCATE]: Add comment.
21608 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21610         * sysdeps/unix/sysv/linux/i386/Makefile
21611         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21612         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21613         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21614         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21615         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21616         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21617         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21619 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21621         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21622         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21623         tgamma.
21624         * math/auto-libm-test-out: Regenerated.
21625         * sysdeps/i386/fpu/libm-test-ulps: Update.
21626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21628 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21630         * math/auto-libm-test-in: Add more tests of tgamma.
21631         * math/auto-libm-test-out: Regenerated.
21632         * sysdeps/i386/fpu/libm-test-ulps: Update.
21633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21635         * math/auto-libm-test-in: Add more tests of tanh.
21636         * math/auto-libm-test-out: Regenerated.
21637         * sysdeps/i386/fpu/libm-test-ulps: Update.
21638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21640         * math/auto-libm-test-in: Add more tests of tan.
21641         * math/auto-libm-test-out: Regenerated.
21642         * sysdeps/i386/fpu/libm-test-ulps: Update.
21643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21646         * math/auto-libm-test-out: Regenerated.
21647         * sysdeps/i386/fpu/libm-test-ulps: Update.
21648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21650         * math/auto-libm-test-in: Add another test of pow.
21651         * math/auto-libm-test-out: Regenerated.
21652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21654         * math/auto-libm-test-in: Add more tests of lgamma.
21655         * math/auto-libm-test-out: Regenerated.
21656         * sysdeps/i386/fpu/libm-test-ulps: Update.
21657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21659         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21660         log1p.
21661         * math/auto-libm-test-out: Regenerated.
21662         * sysdeps/i386/fpu/libm-test-ulps: Update.
21663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21665 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21667         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21668         Elf64_Chdr structs and ELFCOMPRESS constants.
21670 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21672         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21673         expm1.
21674         * math/auto-libm-test-out: Regenerated.
21675         * sysdeps/i386/fpu/libm-test-ulps: Update.
21676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678         * math/auto-libm-test-in: Add more tests of erf and erfc.
21679         * math/auto-libm-test-out: Regenerated.
21680         * sysdeps/i386/fpu/libm-test-ulps: Update.
21681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21683 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21685         * config.h.in (HAVE_AARCH64_BE): Add.
21687 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21689         * math/auto-libm-test-in: Add more tests of csqrt.
21690         * math/auto-libm-test-out: Regenerated.
21691         * sysdeps/i386/fpu/libm-test-ulps: Update.
21692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21694         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21695         * math/auto-libm-test-out: Regenerated.
21696         * sysdeps/i386/fpu/libm-test-ulps: Update.
21697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21699         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21701 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21703         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21704         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21706         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21707         (euidaccess, eaccess): Define as weak aliases.
21709         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21710         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21711         but __suseconds_t is often 'long int' so some sources assume that
21712         type is being used (e.g. they use %ld to print tv_usec).
21714 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21716         [BZ #18007]
21717         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21718         (CVE-2014-8121)
21719         * nss/tst-nss-getpwent.c: New file.
21720         * nss/Makefile (tests): Add new test.
21722 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21724         [BZ #18346]
21725         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21726         exponents less than 48 as cases where high part of mantissa needs
21727         examining to determine whether argument is integral.
21728         * math/libm-test.inc (round_test_data): Add more tests.
21730 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21732         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21734 2015-04-27  David S. Miller  <davem@davemloft.net>
21736         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21737         __tls_get_addr.
21738         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21740 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21742         [BZ#18333]
21743         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21745 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21747         [BZ#18333]
21748         * time/tzset.c (parse_tzname): Return error on memory allocation
21749         failure.
21750         * test-skeleton.c (struct temp_name_list): Change type of name
21751         member to non-const.
21752         (add_temp_file): Create a copy of the file name.
21753         (delete_temp_files): Deallocate memory.
21754         (create_temp_file): Add comment.
21756 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21758         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21759         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21761 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21763         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21764         * sysdeps/arm/configure: Regenerated.
21766 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21768         [BZ #17715]
21769         * time/tzfile.c (__tzfile_read): Check for large values of
21770         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21771         * time/tzset.c (__tzstring_len): New function, based on the old
21772         __tzstring function.
21773         (__tzstring): Call __tzstring_len.
21774         (parse_tzname): New helper function extracted from
21775         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21776         the input string.
21777         (parse_offset): New helper function extracted from
21778         __tzset_parse_tz.  Replace switch with fallthrough with
21779         initialization before sscanf.
21780         (parse_rule): Likewise.
21781         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21782         new-style function definition.
21783         * timezone/Makefile (tests): Add tst-tzset.
21784         (tst-tzset.out): Dependencies on time zone files.
21785         (tst-tzset-ENV): Set TZDIR.
21786         (testdata/XT%): Copy crafted time zone files.
21787         * timezone/README: Mention crafted time zone files.
21788         * timezone/testdata/XT1, timezone/testdata/XT2,
21789         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21790         files.
21791         * timezone/tst-tzset.c: New test.
21793 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21795         * Makeconfig (+gccwarn): Remove -Winline.
21797 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21799         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21801 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21803         * NEWS: Mention sysconf() cache information support for s390.
21804         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21806 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21808         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21809         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21810         (__nearbyint): Likewise.
21811         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21812         (copysignl): Likewise.
21814 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21816         [BZ #18287]
21817         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21818         based on padding.  (CVE-2015-1781)
21820 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21822         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21823         libc-vdso.h.
21824         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21825         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21826         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21827         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21828         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21829         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21830         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21831         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21832         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21833         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21834         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21835         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21836         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21837         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21838         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21839         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21840         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21841         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21842         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21843         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21844         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21845         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21846         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21848 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21850         * stdlib/setenv.c (__add_to_environ):
21851         Dump core quickly if setenv (..., NULL, ...) is called.
21852         This time, do it the right way, and pacify GCC with a pragma.
21854 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21856         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21857         IMAP->l_prev cannot be null, and #if out the code for the contrary
21858         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21859         believe that NS (&_dl_ns[NSID]) could point outside the array.
21861         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21862         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21863         before using NSID as an index.
21865 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21867         [BZ #17825]
21868         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21869         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21870         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21872 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21874         Add preliminary port to Google Native Client on ARM.
21875         * abi-tags (.*-.*-nacl.*): New entry.
21876         * sysdeps/arm/nacl: New directory.
21877         * sysdeps/nacl: New directory.
21879 2015-04-16  David S. Miller  <davem@davemloft.net>
21881         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21882         lowlevellock-futex.h
21884 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21886         * sysdeps/tile/configure.ac: New file.
21887         * sysdeps/tile/configure: Regenerated.
21889 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21891         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21892         conditionals for weak_alias and libc_hidden_weak.
21893         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21894         libc_hidden_weak and weak_alias.
21895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21896         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21897         and weak_alias for static one.
21899 2015-04-15  David S. Miller  <davem@davemloft.net>
21901         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21903 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21905         [BZ #18206]
21906         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21907           Use signed comparision instead of substraction to avoid
21908           overflow bug.
21909         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21910           Take the sign of ret.
21911         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21912           Do not expect precise return values. Only the sign matters.
21913         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21914         * wcsmbs/test-wcsncmp.c: New File.
21915         * string/test-strncmp.c: Add wcsncmp support.
21917 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21919         [BZ #6792]
21920         * math/w_log1p.c: New file.
21921         * math/w_log1pf.c: Likewise.
21922         * math/w_log1pl.c: Likewise.
21923         * math/Makefile (libm-calls): Add w_log1p.
21924         * math/s_log1pl.c (log1pl): Remove weak_alias.
21925         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21926         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21927         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21928         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21929         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21930         [NO_LONG_DOUBLE] (log1pl): Likewise.
21931         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21932         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21933         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21934         (log1p): Remove long_double_symbol.
21935         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21936         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21937         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21938         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21939         remove weak_alias for corresponding log1p function.
21940         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21941         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21942         * sysdeps/ia64/fpu/w_log1p.c: New file.
21943         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21944         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21945         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21947 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21949         [BZ #18247]
21950         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21951         decimal exponent by 1.
21952         * stdlib/tst-strtod-round-data: Add more tests.
21953         * stdlib/tst-strtod-round.c (tests): Regenerated.
21955 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21957         * math/auto-libm-test-in: Add more tests of clog and clog10.
21958         * math/auto-libm-test-out: Regenerated.
21959         * sysdeps/i386/fpu/libm-test-ulps: Update.
21960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21964         * Makeconfig (module-cppflags): Exclude all .v.i files.
21965         (skip-module-cppflags): Variable removed.
21967         * configure.ac (libc_config_ok): Initialize before reading
21968         preconfigure scripts, not after.
21969         * configure: Regenerated.
21971         * test-skeleton.c (TIMEOUT): Move #define to top level.
21972         (main): Grok environment variable TEST_DIRECT.  If set, print
21973         test expectation details into that file and then behave as if
21974         given --direct.
21976 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21978         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21979         warning on 32-bit.
21981 2015-04-08  David S. Miller  <davem@davemloft.net>
21983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21985 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21987         * math/auto-libm-test-in: Add more tests of atanh.
21988         * math/auto-libm-test-out: Regenerated.
21989         * sysdeps/i386/fpu/libm-test-ulps: Update.
21990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992         * math/auto-libm-test-in: Add more tests of atan.
21993         * math/auto-libm-test-out: Regenerated.
21994         * sysdeps/i386/fpu/libm-test-ulps: Update.
21995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21997 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21999         * elf/pldd.c (main): Rewrite to use struct
22000         scratch_buffer instead of extend_alloca.
22001         * elf/pldd-xx.c (find_maps): Likewise.
22002         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22003         <alloca.h>.
22004         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22005         scratch_buffer instead of extend_alloca.
22006         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22007         grp/compat-initgroups.c.
22008         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22009         Rewrite to use struct scratch_buffer instead of extend_alloca.
22010         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22011         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22013 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22015         * math/auto-libm-test-in: Add more tests of cbrt.
22016         * math/auto-libm-test-out: Regenerated.
22017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22019         * math/auto-libm-test-in: Add more tests of cabs.
22020         * math/auto-libm-test-out: Regenerated.
22021         * sysdeps/i386/fpu/libm-test-ulps: Update.
22022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22024         [BZ #18210]
22025         [BZ #18211]
22026         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22027         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22028         computations.
22029         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22030         clog10.
22031         * math/auto-libm-test-out: Regenerated.
22032         * sysdeps/i386/fpu/libm-test-ulps: Update.
22033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22035         [BZ #18197]
22036         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22037         (atan): Set FE_TONEAREST mode for internal computations.
22038         * math/auto-libm-test-in: Add more tests of atan.
22039         * math/auto-libm-test-out: Regenerated.
22041 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22043         [BZ #17930]
22044         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22046 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22048         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22050 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22052         * include/scratch_buffer.h: New file.
22053         * malloc/scratch_buffer_grow.c: Likewise.
22054         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22055         * malloc/scratch_buffer_set_array_size.c: Likewise.
22056         * malloc/tst-scratch_buffer.c: Likewise.
22057         * malloc/Makefile (routines): Add scratch_buffer_grow.
22058         (tests): Add test case.
22059         * malloc/Versions (GLIBC_PRIVATE): Export
22060         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22061         __libc_scratch_buffer_set_array_size.
22063 2015-04-06  Richard Henderson  <rth@redhat.com>
22065         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22066         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22068         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22069         unsigned int before printing.
22071 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22073         [BZ #17596]
22074         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22075         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22077 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22079         * include/libc-internal.h (libc_max_align_t): Define.
22081 2015-04-02  Andreas Schwab  <schwab@suse.de>
22083         [BZ #16850]
22084         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22086 2015-04-02  Mel Gorman  <mgorman@suse.de>
22088         [BZ #17195]
22089         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22090         as well as the main arena.
22092 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22094         [BZ #18185]
22095         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22096         sharing L2 cache to 2 for Silvermont/Knights Landing.
22098 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22100         [BZ #17711]
22101         * config.make.in (have-protected-data): New.
22102         * configure.ac: Check linker support for protected data symbol.
22103         * configure: Regenerated.
22104         * elf/Makefile (modules-names): Add tst-protected1moda and
22105         tst-protected1modb if $(have-protected-data) is yes.
22106         (tests): Add tst-protected1a and tst-protected1b if
22107         $(have-protected-data) is yes.
22108         ($(objpfx)tst-protected1a): New.
22109         ($(objpfx)tst-protected1b): Likewise.
22110         (tst-protected1modb.so-no-z-defs): Likewise.
22111         * elf/tst-protected1a.c: New file.
22112         * elf/tst-protected1b.c: Likewise.
22113         * elf/tst-protected1mod.h: Likewise.
22114         * elf/tst-protected1moda.c: Likewise.
22115         * elf/tst-protected1modb.c: Likewise.
22117 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22119         [BZ #17711]
22120         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22121         indicates it is called from do_lookup_x on relocation against
22122         protected data, skip the data definion in the executable from
22123         copy reloc.
22124         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22125         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22126         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22127         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22128         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22129         otherwise to 0.
22130         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22131         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22132         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22133         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22134         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22135         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22137 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22139         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22140         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22142 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22144         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22145         THREAD_SETMEM_NC.
22146         * sysdeps/x86_64/nptl/tls.h: Ditto.
22148 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22150         * dlfcn/tststatic.c (main): Converted to ...
22151         (do_test): ... this.
22152         (TEST_FUNCTION): New macro.
22153         Include test-skeleton.c.
22155 2015-03-26  Alan Modra  <amodra@gmail.com>
22157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22158         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22159         zero for undefined weak.
22160         (elf_machine_plt_conflict): Similarly.
22162 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22164         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22165         atanh.
22166         * math/auto-libm-test-out: Regenerated.
22167         * sysdeps/i386/fpu/libm-test-ulps: Update.
22168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22170         * math/auto-libm-test-in: Add another test of asin.
22171         * math/auto-libm-test-out: Regenerated.
22172         * sysdeps/i386/fpu/libm-test-ulps: Update.
22173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22176         Remove macro.
22177         (LLL_EBX_REG): Likewise.
22178         (LLL_ENTER_KERNEL): Likewise.
22180         * math/auto-libm-test-in: Add more tests of asin.
22181         * math/auto-libm-test-out: Regenerated.
22182         * sysdeps/i386/fpu/libm-test-ulps: Update.
22183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22185         [BZ #18138]
22186         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22187         libc_do_syscall_args): New structure.
22188         (INTERNAL_SYSCALL_MAIN_0): New macro.
22189         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22190         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22191         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22192         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22193         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22194         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22195         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22196         Replace conditional definitions by conditional definitions of ....
22197         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22198         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22199         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22200         (libpthread-sysdep_routines): Add libc-do-syscall.
22201         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22202         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22203         to __NR_futex not 240.
22205 2015-03-25  Alan Modra  <amodra@gmail.com>
22207         * NEWS: Advertise TLS optimization.
22208         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22209         (DT_PPC_NUM): Increment.
22210         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22211         (CHECK_STATIC_TLS): Use here.
22212         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22213         TLS descriptors.
22214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22215         * sysdeps/powerpc/dl-tls.c: New file.
22216         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22217         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22219         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22224 2015-03-25  Alan Modra  <amodra@gmail.com>
22226         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22227         for overlapping .opd entries" to "support...".
22228         * sysdeps/powerpc/powerpc64/configure: Regenerate
22230 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22232         * math/auto-libm-test-in: Add more tests of acos.
22233         * math/auto-libm-test-out: Regenerated.
22234         * sysdeps/i386/fpu/libm-test-ulps: Update.
22235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237         * math/auto-libm-test-in: Add more tests of expm1.
22238         * math/auto-libm-test-out: Regenerated.
22239         * sysdeps/i386/fpu/libm-test-ulps: Update.
22240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22242 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22244         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22245         * math/auto-libm-test-out: Regenerated.
22246         * sysdeps/i386/fpu/libm-test-ulps: Update.
22247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22249         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22252         * math/auto-libm-test-in: Add more tests of log2.
22253         * math/auto-libm-test-out: Regenerated.
22254         * sysdeps/i386/fpu/libm-test-ulps: Update.
22255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22257 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22259         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22260         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22261         _IO_IS_APPENDING bit in READ_WRITE instead.
22263 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22265         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22266         (__determine_cpumask_size): Replace extend_alloca with a
22267         variable-length array.  Do not treat res == 0 as an error.
22269 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22271         [BZ #18100]
22272         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22273         and integer overflow.
22274         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22275         (main): Add integer overflow tests.
22276         * manual/pattern.texi (Calling Wordexp): Document additional use
22277         for WRDE_SYNTAX.
22279 2015-03-23  Alan Modra  <amodra@gmail.com>
22281         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22282         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22283         and false branch of conditional.
22284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22285         Likewise.
22287 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22289         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22290         libc-modules.h
22291         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22292         unused declaration of _hurd_intr_rpc_msg_in_trap.
22293         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22294         defined instead of whether it is non-zero.
22295         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22296         input constraint instead of both input and output constraint.  Use ecx
22297         clobber instead of %ecx.
22298         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22299         mutex_unlock): Use a statement expression instead of an expression list.
22300         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22301         type to vm_size_t instead of vm_address_t.
22302         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22303         defined instead of whether it is non-zero.
22304         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22305         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22306         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22307         comparisons with mapaddr.
22308         * nscd/nscd-client.h: Include <time.h>.
22309         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22310         9th parameter to __vm_region instead of int.
22311         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22312         * scripts/check-local-headers.sh (exclude): Add device/,
22313         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22314         cthreads.h.
22316 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22318         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22319         to account for alignment padding.
22320         * sysdeps/arm/memmove.S: Likewise.
22322 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22324         * sysdeps/unix/sysv/linux/generic/README: New file.
22326 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22328         [BZ #18138]
22329         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22330         (futex_abstimed_wait)
22331         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22332         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22333         of lll_futex_timed_wait.
22335 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22337         [BZ #17542]
22338         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22340 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22342         [BZ #17090]
22343         [BZ #17620]
22344         [BZ #17621]
22345         [BZ #17628]
22346         * NEWS: Update.
22347         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22348         entries with Static TLS too.  Skip entries past the end of the
22349         allocated DTV, from Alan Modra.
22350         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22351         Static TLS DTV entry set up from...
22352         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22353         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22354         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22355         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22356         for Static TLS.
22357         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22358         that the slot we find is associated with the given map before
22359         using its generation count.
22360         * nptl_db/db_info.c: Include ldsodefs.h.
22361         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22362         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22363         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22364         (link_map::l_tls_offset): New struct field.
22365         (dtv_t::counter): Likewise.
22366         (rtld_global): New struct.
22367         (_rtld_global): New rtld variable.
22368         (dl_tls_dtv_slotinfo_list): New rtld global field.
22369         (dtv_slotinfo_list): New struct.
22370         (dtv_slotinfo): Likewise.
22371         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22372         (td_lookup): Rename to...
22373         (td_mod_lookup): ... this.  Use new mod parameter instead of
22374         LIBPTHREAD_SO.
22375         * nptl_db/td_thr_tlsbase.c: Include link.h.
22376         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22377         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22378         addresses even if the DTV is out of date or missing them.
22379         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22380         index zero-length arrays.
22381         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22382         (td_lookup): Make it a macro implemented in terms of...
22383         (td_mod_lookup): ... this declaration.
22384         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22385         (DB_MAIN_VARIABLE): Likewise.
22387 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22389         [BZ #18134]
22390         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22392 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22394         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22396 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22398         [BZ #18128]
22399         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22400         (atomic_add, atomic_increment_and_test)
22401         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22403 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22405         * stdlib/setenv.c (__add_to_environ):
22406         Dump core quickly if setenv (..., NULL, ...) is called.
22408 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22410         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22411         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22412         all the necessary asm magic in one place.
22413         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22414         using those.
22416 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22418         [BZ #14906]
22419         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22420         traced file mtime. Use consistent log message.
22421         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22422         (register_traced_file): Call install_watches. Always set mtime.
22423         (invalidate_cache): Iterate over all trace files. Call install_watches.
22424         (inotify_check_files): Don't inline. Handle watching parent
22425         directories and configuration file movement in and out.
22426         (handle_inotify_events): New function.
22427         (main_loop_poll): Call handle_inotify_events.
22428         (main_loop_epoll): Likewise.
22429         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22430         (struct traced_file): Use array of inotify fds. Add parent directory,
22431         and basename.
22432         (struct database_dyn): Remove unused file_mtime.
22433         (init_traced_file): New inline function.
22434         (define_traced_file): New macro.
22435         * nss/nss_db/db-init.c: Use define_traced_file.
22436         (_nss_db_init): Use init_traced_file.
22437         * nss/nss_files/files-init.c: Use define_traced_file.
22438         (_nss_files_init): Use init_traced_file.
22440 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22442         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22443         [_LIBC]: Do not include <stdlib.h>.
22444         [!_LIBC] (abort): Remove declaration.
22445         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22446         _FP_STATIC_ASSERT instead of conditionally calling abort.
22447         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22448         (_FP_EXTEND_CNAN): Likewise.
22449         (FP_TRUNC): Likewise.
22450         (__FP_CLZ): Likewise.
22451         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22453 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22455         * manual/string.texi (XPG basename): Fix prototype.
22457 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22459         [BZ #18080]
22460         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22461         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22462         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22463         (__setcontext): Likewise.
22464         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22465         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22466         Call rt_sigprocmask syscall one time to set new signal mask
22467         and retrieve the current signal mask instead of two calls.
22468         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22469         (__swapcontext): Likewise.
22470         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22471         * stdlib/tst-setcontext2.c: New file.
22473 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22475         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22477 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22479         [BZ #18093]
22480         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22481         the wrong size.
22483 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22485         [BZ #18043]
22486         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22488 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22490         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22491         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22492         Remove define.
22493         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22494         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22495         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22496         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22497         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22498         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22499         define.
22500         * nptl_db/td_symbol_list.c (td_lookup): Remove
22501         HAVE_ASM_GLOBAL_DOT_NAME code.
22502         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22503         HAVE_ASM_GLOBAL_DOT_NAME check.
22504         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22505         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22506         (DOT_LABEL): Remove define.
22507         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22508         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22509         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22510         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22511         (__TLS_GET_ADDR): Likewise.
22512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22513         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22515 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22517         [BZ #18111]
22518         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22519         (_FPU_SETCW): Initialize cw from fpsr before storing.
22520         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22521         (fesetexceptflag): Rewrite using fpu_control.h.
22522         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22524 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22526         [BZ #18110]
22527         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22528         asms.
22529         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22531 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22533         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22534         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22535         abort.
22536         (_FP_FMA): Likewise.
22537         (_FP_DIV): Likewise.
22539 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22541         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22542         with 0 in that case.
22543         * Makefile (summarize-tests): New canned sequence, factored out of
22544         commands for targets tests and xtests.  Display summary lines that
22545         don't start with PASS: or XFAIL: rather than ones that do start with
22546         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22547         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22548         do start with ERROR: or FAIL:.
22549         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22550         (except for [$(build-shared) = yes]).
22551         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22552         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22553         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22554         * nptl/Makefile: Revert 2015-03-04 changes.
22555         [$(CXX) empty] (tests-unsupported): New variable.
22556         * debug/Makefile: Likewise.
22558         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22559         gnulib file.  Replace __attribute with __attribute__ throughout.
22561 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22563         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22565 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22567         [BZ #18104]
22568         * math/auto-libm-test-in: Add another test of pow.
22569         * math/auto-libm-test-out: Regenerated.
22571 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22573         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22574         $(config-cflags-nofma).
22576 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22578         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22579         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22580         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22581         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22582         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22583         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22584         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22585         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22586         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22587         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22588         Add comment on closing #endif.
22590 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22592         * posix/wordexp.c (CHAR_IN_SET): New macro.
22593         (parse_param): Use it.
22595 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22597         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22599 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22601         [BZ #18043]
22602         * posix/wordexp.c (parse_param): Fix buffer overflow.
22603         * posix/wordexp-test.c (test_case): Add test case.
22605 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22607         [BZ #18042]
22608         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22609         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22611 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22613         [BZ #18043]
22614         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22615         (do_bz18043): Delete.
22616         (at_page_end): New.
22617         (testit): Refactor to have words at the edge of unreadable page.
22619 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22621         [BZ #16734]
22622         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22623         Cleanup read-only streams as well.
22624         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22626 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22628         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22629         <bits/libc-lockP.h>
22631 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22633         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22634         on [__KERNEL__].
22635         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22636         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22637         * soft-fp/op-common.h (_FP_DECL): Likewise.
22639 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22641         * elf/ifuncdep2.c (global): Replace
22642         __attribute__((visibility("protected"))) with
22643         asm (".protected global").
22644         * elf/ifuncmod1.c (global): Likewise.
22645         * elf/ifuncmod5.c (global): Likewise.
22647 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22649         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22650         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22652 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22654         * manual/install.texi (Configuring and compiling):
22655         Document test-wrapper-env-only.
22656         * INSTALL: Regenerated.
22658 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22660         [BZ #18043]
22661         * posix/wordexp.c (parse_param): Fix buffer overflow.
22662         * posix/wordexp-test.c (do_bz18043): Add test case.
22664 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22666         * time/tst-strptime2.c (do_test): Ensure failing tests are
22667         reported correctly.
22668         * time/tst-strptime3.c (do_test): Likewise.
22670 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22672         Fix aio_error thread-safety.
22673         * sysdeps/pthread/aio_error.c: New file
22674         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22675         synchronization.
22677 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22679         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22680         (group_number, vfprintf): Use it.
22681         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22682         (JUMP, REF): Use it.
22683         (WORK_BUFFER_SIZE): New enum constant.
22684         (process_arg, vfprintf): Use it.
22686 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22688         * manual/errno.texi (Error Messages): Complete example function
22689         by adding missing #define.
22690         (program_invocation_name): Add statement indicating GNU
22691         extension and reference which header file declares the variable.
22692         (program_invocation_short_name): Likewise.
22694 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22696         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22697         compatibility note.
22699 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22701         * Makeconfig (test-wrapper-env-only): New variable.
22702         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22703         then use that with $(test-wrapper-env-only) rather than using
22704         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22706 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22708         [BZ #18082]
22709         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22710         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22711         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22712         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22713         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22714         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22715         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22716         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22717         Likewise.
22718         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22719         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22720         Likewise.
22721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22722         Likewise.
22723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22724         Likewise.
22725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22726         Likewise.
22727         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22729         Likewise.
22730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22731         Likewise.
22732         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22733         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22735 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22737         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22738         (ETH_ALEN): New macro.
22739         (struct ether_addr): Use it for length of ether_addr_octet.
22741         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22742         (setdb): Don't call __nss_configure_lookup for "rpc".
22743         (do_test): Don't call test_rpc.
22744         (output_rpcent, test_rpc): Functions moved ...
22745         * sunrpc/test-rpcent.c: ... to this new file.
22746         * sunrpc/Makefile (tests): Add it.
22748         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22749         __xpg_sigpause.
22750         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22751         * nptl/tst-signal6.c: Likewise.
22752         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22753         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22755         * configure.ac (libc_cv_cxx_link_ok): New check.
22756         Reset CXX to empty if it fails to link.
22757         * configure: Regenerated.
22758         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22759         bug-atexit3-lib only if $(CXX) is nonempty.
22760         * nptl/Makefile (tests): Likewise for tst-cancel24.
22761         (tests, tests-static): Likewise for tst-cancel24-static.
22762         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22763         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22764         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22765         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22767 2015-03-04  Andreas Schwab  <schwab@suse.de>
22769         [BZ #17631]
22770         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22771         for non-GCC compilers.
22772         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22773         Likewise.
22775 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22777         [BZ #17776]
22778         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22779         integer before bitwise and assembly operations.
22780         (feclearexcept): Likewise.
22781         * math/test-fenvinline.c: New file.
22782         * math/Makefile: Add test-fenvinline test.
22784 2015-03-03  Alan Modra  <amodra@gmail.com>
22786         [BZ #16512]
22787         * scripts/localplt.awk: Strip off symbol version.
22788         * NEWS: Mention bug fix.
22790 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22792         * sysdeps/pthread/timer_routines.c
22793         (timer_free_list, thread_free_list, thread_active_list): Make static.
22795 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22797         [BZ #17779]
22798         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22799         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22800         Undefine.
22801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22802         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22803         Likewise.
22804         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22805         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22806         Likewise.
22808 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22810         [BZ #18036]
22811         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22812         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22814 2015-03-02  Andreas Schwab  <schwab@suse.de>
22816         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22817         variable name.
22819 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22821         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22822         Return error status.
22824 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22826         [BZ #15969]
22827         * locale/findlocale.c (_nl_find_locale): Introduce const
22828         version of loc_name and drop unsafe type casts.
22830 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22832         * dlfcn/tststatic2.c (main): Converted to ...
22833         (do_test): ... this.
22834         (TEST_FUNCTION): New macro.
22835         Include test-skeleton.c.
22837 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22839         [BZ #17711]
22840         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22841         (tests-pie): Add vismain.
22842         (CFLAGS-vismain.c): New.
22843         * elf/vismain.c: Add comments for PIE requirement.
22845 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22847         [BZ #18046]
22848         [BZ #18047]
22849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22850         0x1p-56L as threshold for just returning the argument.
22851         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22852         0x1p-32L as threshold for just returning the argument.
22853         * math/auto-libm-test-in: Add more tests of atanh.
22854         * math/auto-libm-test-out: Regenerated.
22855         * sysdeps/i386/fpu/libm-test-ulps: Update.
22856         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22858 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22860         * string/bcopy.c (bcopy): Call memmove for performance.
22862 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22864         * string/bzero.c (__bzero): Call memset for performance.
22866 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22868         [BZ #18068]
22869         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22870         to 00100000.
22872 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22874         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22876 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22878         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22879         (__kernel_standard): Use CSTR macro when setting exc.name.
22880         * sysdeps/ieee754/Makefile [$(subdir) = math]
22881         (CFLAGS-k_standard.c): Remove variable.
22883         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22884         setting p and q from "else if" to "else".
22885         (qzero): Likewise.
22886         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22887         (qone): Likewise.
22888         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22889         (qzerof): Likewise.
22890         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22891         (qonef): Likewise.
22892         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22893         (qzero): Likewise.
22894         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22895         (qone): Likewise.
22897         [BZ #18038]
22898         [BZ #18039]
22899         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22900         return pi/2 for arguments below 0x1p-113L.
22901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22902         return pi/2 for arguments below 0x1p-106L.
22903         * math/auto-libm-test-in: Add more tests of acos.
22904         * math/auto-libm-test-out: Regenerated.
22906         [BZ #16351]
22907         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22908         (MO): New macro.
22909         (__ieee754_asin): Force underflow exception for results with small
22910         absolute value.
22911         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22912         (MO): New macro.
22913         (__ieee754_asinf): Force underflow exception for results with
22914         small absolute value.
22915         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22916         (__ieee754_asin): Force underflow exception for results with small
22917         absolute value.
22918         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22919         (__ieee754_asinf): Force underflow exception for results with
22920         small absolute value.
22921         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22922         (__ieee754_asinl): Force underflow exception for results with
22923         small absolute value.
22924         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22925         (__ieee754_asinl): Force underflow exception for results with
22926         small absolute value.
22927         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22928         (__ieee754_asinl): Force underflow exception for results with
22929         small absolute value.
22930         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22931         Include <math.h>.
22932         * math/auto-libm-test-in: Do not mark underflow exceptions as
22933         possibly missing for bug 16351.
22934         * math/auto-libm-test-out: Regenerated.
22936         [BZ #18030]
22937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22938         of power of 2 down when low part has opposite sign.
22939         * math/libm-test.inc (logb_test_data): Add more tests.
22941 2015-02-26  Andreas Schwab  <schwab@suse.de>
22943         [BZ #18032]
22944         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22945         over collating symbol inside a bracket expression.  Minor cleanup.
22946         * posix/tst-fnmatch3.c (do_test): Add test case.
22948 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22950         [BZ #18029]
22951         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22952         Adjust exponent of power of 2 down when low part has opposite
22953         sign.
22954         * math/libm-test.inc (ilogb_test_data): Add more tests.
22956 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22958         [BZ #15969]
22959         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22960         the previous change.
22962         [BZ #15969]
22963         * locale/findlocale.c (_nl_find_locale): Retry archive search
22964         after alias expansion.
22966 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22968         * iconv/tst-iconv3.c (main): Converted to ...
22969         (do_test): ... this.
22970         (TEST_FUNCTION): New macro.
22971         Include test-skeleton.c.
22973         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22974         (convert): Make function static.
22975         (test_unalign): Likewise.  Add const to argument pointee types.
22976         (main): Replace with static function do_test.
22977         Print "Succeeded." only if RET is zero.
22978         (TEST_FUNCTION): New macro.
22979         Include test-skeleton.c.
22981         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22982         returns a null pointer.
22984 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22986         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22987         to __memcpy_ppc only for static builds.
22989 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22991         [BZ #18020]
22992         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22993         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22994         * math/auto-libm-test-in: Add more tests of asinh.
22995         * math/auto-libm-test-out: Regenerated.
22996         * sysdeps/i386/fpu/libm-test-ulps: Update.
22997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22999 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23001         [BZ #15850]
23002         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23003         and ip6_mtuinfo definitions here.
23004         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23005         in this define too.  Update comment.
23007 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23009         * elf/sprof.c (load_shobj): Tweak error message to match others.
23011 2015-02-24  Kevin Easton  <kevin@guarana.org>
23013         [BZ #16145] (partial fix)
23014         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23015         to reduce lock contention.
23017 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23019         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23020         (struct timex): Update time comment.
23021         (ADJ_SETOFFSET): Define.
23023 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23025         [BZ #18019]
23026         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23027         2**56 not 2**28 as threshold for log (2x) formula.
23028         * math/auto-libm-test-in: Add more tests of acosh.
23029         * math/auto-libm-test-out: Regenerated.
23030         * sysdeps/i386/fpu/libm-test-ulps: Update.
23031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23033 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23035         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23036         parenthesis around the buf assignment.
23037         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23039 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23041         [BZ #16783]
23042         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23043         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23044         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23045         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23046         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23047         * math/libm-test.inc (scalb_test_data): Add more tests.
23049 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23051         [BZ #17916]
23052         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23053         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23055 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23057         [BZ #17523]
23058         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23059         * io/bits/fcntl2.h (open): Use it.
23060         (openat): Likewise.
23061         * io/open.c (__libc_open): Likewise.
23062         * io/open64.c (__libc_open64): Likewise.
23063         * io/open64_2.c (__open64_2): Likewise.
23064         * io/open_2.c (__open_2): Likewise.
23065         * io/openat.c (__openat): Likewise.
23066         * io/openat64.c (__openat64): Likewise.
23067         * io/openat64_2.c (__openat64_2): Likewise.
23068         * io/openat_2.c (__openat_2): Likewise.
23069         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23070         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23071         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23072         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23073         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23074         (__open_nocancel): Likewise.
23075         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23076         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23077         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23079 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23081         [BZ #14841]
23082         * resolv/gethnamaddr.c (getanswer): Skip logging if
23083         RES_USE_DNSSEC is set.
23084         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23086 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23088         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23090 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23092         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23093         201304L, for Unicode 7.
23095 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23097         [BZ #17836]
23098         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23099         shared library.  Add gmon-start.os otherwise.
23100         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23101         $(objpfx)gmon-start.os if builing shared library.
23102         ($(objpfx)g$(static-start-installed-name)): Likewise.
23104 2015-02-23  Andreas Schwab  <schwab@suse.de>
23106         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23108 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23110         [BZ #17269]
23111         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23112         (enlarge_userbuf): Likewise.
23114 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23116         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23117         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23118         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23119         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23121 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23123         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23124         expression inside statement expression.
23126 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23128         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23129         <sysdeps/nptl/lowlevellock.h> and remove macros and
23130         functions that are now defined there.
23131         (SYS_futex): Remove.
23132         (lll_compare_and_swap): Remove.
23133         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23135 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23137         [BZ #17999]
23138         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23139         instead of scandirat.
23140         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23141         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23142         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23143         __scandirat.
23144         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23145         (__scandirat): Declare.  Use libc_hidden_proto.
23146         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23147         Remove variable.
23148         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23150 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23152         [BZ #15319]
23153         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23154         (MO): New macro.
23155         (__ieee754_atan2): For results with small absolute value, force
23156         underflow exception and remove excess range and precision from
23157         return value.
23158         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23159         (MO): New macro.
23160         (__ieee754_atan2f): For results with small absolute value, force
23161         underflow exception and remove excess range and precision from
23162         return value.
23163         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23164         (MO): New macro.
23165         (__atan): For results with small absolute value, force underflow
23166         exception and remove excess range and precision from return value.
23167         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23168         (MO): New macro.
23169         (__atanf): For results with small absolute value, force underflow
23170         exception and remove excess range and precision from return value.
23171         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23172         <math.h>.
23173         (__ieee754_atan2): Force underflow exception for results with
23174         small absolute value.
23175         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23176         <math_private.h>.
23177         (atan): Force underflow exception for results with small absolute
23178         value.
23179         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23180         (__atanf): Force underflow exception for results with small
23181         absolute value.
23182         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23183         <math.h>.
23184         (__atanl): Force underflow exception for results with small
23185         absolute value.
23186         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23187         (__atanl): Force underflow exception for results with small
23188         absolute value.
23189         * sysdeps/x86/fpu/bits/mathinline.h
23190         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23191         (__ieee754_atan2): Only define inline for long double.
23192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23193         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23194         * math/auto-libm-test-in: Do not mark underflow exceptions as
23195         possibly missing for bug 15319.  Add more tests of atan2.
23196         * math/auto-libm-test-out: Regenerated.
23197         * math/libm-test.inc (casin_test_data): Do not mark underflow
23198         exceptions as possibly missing for bug 15319.
23199         (casinh_test_data): Likewise.
23200         * sysdeps/i386/fpu/libm-test-ulps: Update.
23202 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23204         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23205         * sysdeps/mips/bits/endian.h: Fix comments.
23207 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23209         [BZ #17996]
23210         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23211         (hdestroy_r): Likewise.
23212         (hsearch_r): Likewise.
23213         (__hcreate_r): Declare and use libc_hidden_proto.
23214         (__hdestroy_r): Likewise.
23215         (__hsearch_r): Likewise.
23216         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23217         (hcreate): Call __hcreate_r instead of hcreate_r.
23218         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23219         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23220         as weak alias of __hcreate_r.
23221         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23222         __hdestroy_r.
23223         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23224         __hsearch_r.
23225         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23226         Remove variable.
23227         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23228         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23229         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23230         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23232 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23234         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23235         arena_lock into a single arena_get.
23237 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23239         * dl-reloc.c: Inlucde libc-internal.h.
23240         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23241         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23242         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23243         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23244         (grow_heap): Likewise.
23245         * malloc/malloc.c: Include libc-internal.h.
23246         (do_check_malloc): Call powerof2.
23247         (sysmalloc): Use pagesize. Call ALIGN_UP.
23248         (systrim): Use pagesize.
23249         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23250         (__libc_valloc): Use pagesize.
23251         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23253 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23255         [BZ #17991]
23256         * include/sys/resource.h (__getrlimit64): Declare.  Use
23257         libc_hidden_proto.
23258         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23259         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23260         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23261         getrlimit64.
23262         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23263         __getrlimit64.
23264         [!getrlimit64] (getrlimit64): Define as weak alias of
23265         __getrlimit64.  Use libc_hidden_weak.
23266         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23267         using __getrlimit64 not __new_getrlimit64.
23268         (__GI_getrlimit64): Likewise.
23269         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23270         Likewise.
23271         (__GI_getrlimit64): Likewise.
23272         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23274         (getrlimit): Add __getrlimit64 alias.
23275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23276         Likewise.
23277         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23278         Remove variable.
23279         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23280         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23282 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23284         * libio/fileops.c: Add missing sys/mman.h
23285         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23287 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23289         * manual/math.texi (Errors in Math Functions): Clarify goals
23290         regarding inexact and underflow exceptions.
23292 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23294         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23295         * sysdeps/mips/memset.S: Ditto.
23297 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23299         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23301 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23303         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23304         (__v1longjmp): Remove versioned symbol.
23305         (__v1siglongjmp): Remove alias and versioned symbol.
23306         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23307         (__v2siglongjmp): Likewise.
23309 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23311         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23313 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23315         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23317 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23319         [BZ #17987]
23320         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23321         zero result does not depend on the sign resulting from
23322         subtraction.
23323         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23324         Likewise.
23325         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23326         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23327         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23328         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23329         * math/libm-test.inc (remquo_test_data): Add more tests.
23331 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23333         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23334         Problem reported by J William Piggott.
23336 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23338         [BZ #17978]
23339         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23340         products 4 * y and 2 * y where those would overflow.
23341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23342         Likewise.
23343         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23344         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23345         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23346         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23347         * math/libm-test.inc (remquo_test_data): Add more tests.
23349         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23351         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23352         [defined _COMPILING_NEWLIB].
23353         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23354         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23356         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23357         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23359 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23361         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23362         acquired.
23364 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23366         [BZ #17792]
23367         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23368         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23369         HOST_STACK_END_ADDR): Likewise.
23371 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23373         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23374         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23375         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23377 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23379         * sysdeps/generic/c++-types.data: New file.
23380         * sysdeps/generic/ld.abilist: New file.
23381         * sysdeps/generic/libBrokenLocale.abilist: New file.
23382         * sysdeps/generic/libanl.abilist: New file.
23383         * sysdeps/generic/libc.abilist: New file.
23384         * sysdeps/generic/libcrypt.abilist: New file.
23385         * sysdeps/generic/libdl.abilist: New file.
23386         * sysdeps/generic/libm.abilist: New file.
23387         * sysdeps/generic/libpthread.abilist: New file.
23388         * sysdeps/generic/libresolv.abilist: New file.
23389         * sysdeps/generic/librt.abilist: New file.
23391 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23393         [BZ #17569]
23394         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23395         Compute absolute value of x as modified by fmod, not original
23396         value of x.
23397         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23398         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23399         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23400         RUN_TEST_ffI_f1_mod8.
23401         (remquo_test_data): Add more tests.
23403 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23405         * sysdeps/init_array/pt-crti.S: New file.
23407 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23409         [BZ #17967]
23410         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23411         __builtin_fmaf instead of relying on contraction of a * b + c.
23413 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23415         [BZ #17969]
23416         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23417         node.
23419 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #17964]
23422         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23423         __builtin_fma instead of relying on contraction of a * b + c.
23425 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23427         * Makeconfig (ASFLAGS): Add -Werror=undef.
23428         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23429         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23430         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23432         * Makeconfig (after-link): New variable.
23433         (+link-pie, +link-pie-tests): Use it.
23434         (+link-static, +link-static-tests): Likewise.
23435         (+link, +link-tests): Likewise.
23436         * Makerules (build-module, build-module-asneeded): Likewise.
23437         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23438         Likewise.
23439         * elf/Makefile ($(objpfx)ld.so): Likewise.
23441 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23443         [BZ #17965]
23444         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23445         both struct timeval and struct timespec.
23447 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23449         [BZ #16560]
23450         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23451         and redefine.
23452         (__ieee754_exp2l): Do not multiply small fractional parts by
23453         M_LN2l.
23454         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23455         small argument.
23456         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23457         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23458         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23459         * math/auto-libm-test-in: Add more tests of exp2.
23460         * math/auto-libm-test-out: Regenerated.
23462 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23464         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23465         unaligned path.
23467 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23469         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23470         little endian.
23472 2015-02-12  Andreas Schwab  <schwab@suse.de>
23474         [BZ #15790]
23475         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23476         Filter out elision flags from value returned in kind.
23477         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23478         * nptl/tst-pthread-mutexattr.c: New file.
23480 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23482         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23483         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23484         into gnu-gnu, and update comment to refer to abi-tags.
23486 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23488         [BZ #15467]
23489         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23490         (__sincos): Set errno to EDOM for infinite argument.
23491         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23492         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23493         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23494         (__sincosl): Set errno to EDOM for infinite argument.
23495         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23496         (__sincosl): Set errno to EDOM for infinite argument.
23497         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23498         (__sincosl): Set errno to EDOM for infinite argument.
23499         * math/libm-test.inc (sincos_test_data): Test errno setting.
23501 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23503         * string/strxfrm_l.c: Remove #define STRCMP.
23504         * string/strcoll_l.c: Remove #define STRLEN.
23505         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23506         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23508 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23510         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23511         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23512         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23513         * sysdeps/mips/mips64/Makefile: ... here.
23514         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23515         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23516         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23517         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23518         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23519         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23520         * sysdeps/mips/mips64/n64/Implies: Likewise.
23522 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23524         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23525         <sys/time.h>, <string.h>, and <errno.h>.
23526         (dest_offset, dest_address, value, zero): Remove unused variables.
23527         (ldouble): Remove typedef.
23528         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23529         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23530         1).  Fix code style.
23531         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23532         (check): Function removed.
23533         (CHECK): New macro.
23534         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23535         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23536         Don't call set_sigaction_FP and remove_sigaction_FP here.
23537         (ldouble_test): Just use 'long double' as macro argument, no need for
23538         the 'ldouble' typedef.
23539         (do_test): Set up SIGFPE handler at start, using plain signal rather
23540         than sigaction.  Fix code style.
23542 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23544         [BZ #17949]
23545         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23546         jump label.
23548 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23550         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23551         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23553         * sysdeps/powerpc/configure.ac: Remove file.
23554         * sysdeps/powerpc/configure: Likewise.
23556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23557         [sysdep_routines]: Remove wordcopy-power6 object.
23558         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23559         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23560         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23561         (__memmove_ppc32): Likewise.
23562         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23563         file.
23564         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23565         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23566         Remove preprocessor.
23568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23569         [sysdep_routines]: Remove wide chars objects.
23570         [wcsmbs]: New rule for wide char objects.
23572         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23573         Remove wordcopy-power6 obejct.
23574         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23575         Use local call for wordcopy and memcpy symbols.
23576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23578         implementation for loader.
23579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23582         Remove wordcopy-power7 object.
23583         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23584         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23585         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23586         (_wordcopy_fwd_dest_aligned): Likewise.
23587         (_wordcopy_bwd_aligned): Likewise.
23588         (_wordcopy_bwd_dest_aligned): Likewise.
23590         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23591         Rewrite to call __memmove_ppc instead of include default
23592         implementation.
23594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23595         Remove wide chars objects.
23596         [wcsmbs]: New rule for wide char objects.
23598 2015-02-09  Andreas Schwab  <schwab@suse.de>
23600         [BZ #17912]
23601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23602         in terms of __O_DIRECTORY.
23604 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23606         * time/getdate.c: Include <stdbool.h>.
23607         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23608         call PTR_MANGLE.
23609         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23610         PTR_DEMANGLE.
23612 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23614         Add ersatz _Static_assert on older C hosts
23615         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23616         pre-C11 C platform that is not known to support _Static_assert.
23618 2015-02-07  Richard Braun  <rbraun@sceen.net>
23620         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23621         sigstate.
23622         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23624 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23626         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23627         priority against unexistent AIO_PRIO_DELTA_MAX.
23628         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23629         instead of int.
23630         * misc/fchflags.c (fchflags): Likewise.
23631         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23632         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23633         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23634         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23635         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23636         Declare macros.
23637         [__USE_MISC] (chflags, fchflags): Declare functions.
23638         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23639         EINVAL when nfds is greater than FD_SETSIZE.
23640         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23641         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23642         45.
23643         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23644         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23645         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23646         MACH_RCV_TIMED_OUT.
23647         * hurd/hurd/signal.h (_hurd_self_sigstate,
23648         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23649         Explicit casts from void *.
23650         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23651         * abi-tags: Rename gnu-gnu os into gnu.
23653         [BZ #4719]
23654         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23655         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23656         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23657         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23658         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23659         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23661         [BZ #17944]
23662         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23663         duplicates ADDR->sun_path with sockaddr LEN limitation.
23664         * sysdeps/mach/hurd/connect.c: Include <string.h>
23665         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23666         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23667         * sysdeps/mach/hurd/sendto.c: Likewise.
23668         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23669         implementing it by hand.
23671 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23673         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23674         Use sfi_breg on ldr.
23675         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23676         Likewise.
23678         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23679         it's defined.
23680         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23681         Test SIGSETXID only if it's defined.
23683         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23685         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23686         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23688         * nptl/tst-align2.c: Moved ...
23689         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23690         * nptl/Makefile (tests): Remove tst-align2.
23691         * sysdeps/unix/sysv/linux/Makefile
23692         [$(subdir) = nptl] (tests): Add tst-align-clone.
23693         * nptl/tst-getpid1.c: Moved ...
23694         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23695         * nptl/tst-getpid2.c: Moved ...
23696         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23697         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23698         * sysdeps/unix/sysv/linux/Makefile
23699         [$(subdir) = nptl] (tests): ... here.
23700         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23701         * sysdeps/unix/sysv/linux/Makefile
23702         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23704         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23705         Drop trailing \n from perror argument.  Use return rather than exit.
23707         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23708         on [SA_SIGINFO].
23709         * nptl/tst-cancel21.c (do_test): Likewise.
23710         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23711         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23712         [!SA_SIGINFO]: Make it a stub test.
23714         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23715         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23717         * posix/tst-getlogin.c: Move to ...
23718         * login/tst-getlogin.c: ... here.
23719         * posix/Makefile (tests): Move tst-getlogin to ...
23720         * login/Makefile (tests): ... here.
23722         * libio/tst-atime.c (do_test): Move local variables SV and E
23723         inside [ST_NOATIME] conditional.
23725         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23727         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23729         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23730         (wait_code): New function replaces macro.
23731         Call nanosleep rather than syscall.
23733         * nptl/pt-system.c: Rewritten.  Put everything under
23734         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23735         Use IFUNC to redirect when possible.
23737         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23738         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23739         Use IFUNC to redirect when possible.
23741         * nptl/pt-fork.c: Rewritten.  Put everything under
23742         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23743         Use IFUNC to redirect when possible.
23744         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23746         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23747         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23748         unconditionally nowadays.  This included the only reference to
23749         __vdso_clock_gettime that appears outside libc proper.
23750         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23751         Remove version set (containing only __vdso_clock_gettime).
23752         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23753         Add attribute_hidden.
23754         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23755         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23756         libc_hidden_data_def.
23757         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23758         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23760         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23761         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23762         setrpcent, and getrpcport to ...
23763         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23764         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23765         getrpcbynumber_r, and getrpcent_r to ...
23766         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23767         * inet/getrpcbyname.c: Moved ...
23768         * sunrpc/getrpcbyname.c: ... here.
23769         * inet/getrpcbyname_r.c: Moved ...
23770         * sunrpc/getrpcbyname_r.c: ... here.
23771         * inet/getrpcbynumber.c: Moved ...
23772         * sunrpc/getrpcbynumber.c: ... here.
23773         * inet/getrpcbynumber_r.c: Moved ...
23774         * sunrpc/getrpcbynumber_r.c: ... here.
23775         * inet/getrpcent.c: Moved ...
23776         * sunrpc/getrpcent.c: ... here.
23777         * inet/getrpcent_r.c: Moved ...
23778         * sunrpc/getrpcent_r.c: ... here.
23779         * inet/Makefile (routines): Move those to ...
23780         * sunrpc/Makefile (routines): ... here.
23781         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23782         the $(subdirs) list.
23783         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23784         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23785         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23786         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23788         * elf/Makefile (routines): Include $(all-dl-routines), not just
23789         $(dl-routines).
23790         (rtld-routines): Likewise.  Use = rather than :=.
23791         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23792         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23793         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23794         * sysdeps/arm/Makefile: Likewise.
23795         * sysdeps/i386/Makefile: Likewise.
23796         * sysdeps/x86_64/Makefile: Likewise.
23797         * sysdeps/hppa/Makefile [$(subdir) = elf]
23798         (sysdep_routines, sysdep-rtld-routines): Don't add
23799         $(sysdep-dl-routines) to these.
23800         * sysdeps/ia64/Makefile: Likewise.
23801         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23802         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23803         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23804         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23805         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23806         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23807         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23808         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23809         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23810         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23811         these; sysdep-dl-routines alone is enough.
23813 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23815         [BZ #17932]
23816         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23817         where multiplication results in zero and third argument is finite
23818         and nonzero.
23819         * math/auto-libm-test-in: Add more tests of fma.
23820         * math/auto-libm-test-out: Regenerated.
23822         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23823         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23824         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23825         (_FP_CMP_EQ): Likewise.
23826         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23828         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23829         extra argument CHECK_NAN.  Redefine as wrapper around
23830         _FP_EXTEND_CNAN.
23832 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23834         * version.h (RELEASE): Set to "stable".
23835         (VERSION): Set to "2.21"
23836         * include/features.h (__GLIBC_MINOR__): Set to 21.
23838         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23840 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23841             Paul Eggert  <eggert@cs.ucla.edu>
23843         [BZ #16618]
23844         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23845         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23846         size in bytes. Store needed elements in wpmax. Use needed size
23847         in bytes for extend_alloca.
23849 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23851         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23852         binutls 2.25, and texinfo 5.2.
23853         * INSTALL: Regenerate.
23854         * sysdeps/nios2/configure: Regenerate.
23855         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23856         * manual/contrib.texi: Update.
23857         * po/be.po: Update.
23858         * po/bg.po: Update.
23859         * po/ca.po: Update.
23860         * po/cs.po: Update.
23861         * po/da.po: Update.
23862         * po/de.po: Update.
23863         * po/el.po: Update.
23864         * po/eo.po: Update.
23865         * po/es.po: Update.
23866         * po/fi.po: Update.
23867         * po/fr.po: Update.
23868         * po/gl.po: Update.
23869         * po/hr.po: Update.
23870         * po/hu.po: Update.
23871         * po/ia.po: Update.
23872         * po/id.po: Update.
23873         * po/it.po: Update.
23874         * po/ja.po: Update.
23875         * po/ko.po: Update.
23876         * po/lt.po: Update.
23877         * po/nb.po: Update.
23878         * po/nl.po: Update.
23879         * po/pl.po: Update.
23880         * po/pt_BR.po: Update.
23881         * po/ru.po: Update.
23882         * po/rw.po: Update.
23883         * po/sk.po: Update.
23884         * po/sl.po: Update.
23885         * po/sv.po: Update.
23886         * po/tr.po: Update.
23887         * po/uk.po: Update.
23888         * po/vi.po: Update.
23889         * po/zh_CN.po: Update.
23890         * po/zh_TW.po: Update.
23892         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23893         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23894         * sysdeps/hppa/dl-irel.h: Remove #warning.
23895         * sysdeps/hppa/entry.h: Provide prototype for
23896         __canonicalize_funcptr_for_compare and cast argument.
23897         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23898         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23899         * sysdeps/hppa/sotruss-lib.c: New file.
23900         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23901         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23902         (atomic_compare_and_exchange_bool_acq): Likewise.
23903         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23904         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23906         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23907         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23908         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23910 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23912         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23913         called function in non-PIC case.
23915 2015-01-31  David S. Miller  <davem@davemloft.net>
23917         * sysdeps/sparc/sparc32/bits/atomic.h
23918         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23919         unlock not after it.
23920         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23921         volatile register usage warnings from the compiler.
23923         * sysdeps/sparc/nptl/sem_init.c: Delete.
23924         * sysdeps/sparc/nptl/sem_post.c: Delete.
23925         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23926         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23927         * sysdeps/sparc/sparc32/sem_init.c: New file.
23928         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23929         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23930         padding explicitly initialized.
23931         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23932         padding for in-semaphore spinlock.
23933         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23934         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23935         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23936         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23937         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23938         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23939         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23940         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23941         version.
23942         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23943         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23945 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23947         [BZ #17801]
23948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23949         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23950         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23951         New.
23952         (index_AVX_Fast_Unaligned_Load): Likewise.
23953         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23954         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23955         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23956         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23957         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23958         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23959         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23960         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23961         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23963 2015-01-29  Andreas Schwab  <schwab@suse.de>
23965         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23967 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23969         [BZ #17892]
23970         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23972 2015-01-28  Martin Sebor  <msebor@redhat.com>
23974         * math/README.libm-test: Clarify. Add "How to read the test output."
23976 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23978         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23979         Define to 0.
23981 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23983         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23984         (__HAVE_64B_ATOMICS): Define to 0.
23986 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23988         [BZ #17885]
23989         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23990         value to set as new flag.
23992         [BZ #16576]
23993         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23994         and use _ARCH_PPCSQ instead.
23995         (__ieee754_sqrt): Likewise.
23996         (__ieee754_sqrtf): Likewise.
23997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23998         _ARCH_PPCSQ is defined.
23999         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24000         fsqrt instruction.
24001         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24002         _ARCH_PPCSQ is defined.
24003         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24004         fsqrts instruction.
24005         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24007 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24009         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24010         bug (GCC BZ #64739).
24012 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24014         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24015         Mark _retval as used.
24016         (lll_futex_wake_unlock): Likewise.
24017         (lll_futex_timed_wait_requeue_pi): Likewise.
24019         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24020         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24021         register variables.
24023         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24024         libm_hidden_def.
24026         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24027         (__bswap_64): Mark as __always_inline.
24029 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24031         [BZ #15378]
24032         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24033         when none of the search directories exist.
24035 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24037         [BZ #17869]
24038         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24039         power8 in .machine directive.
24041         [BZ #17868]
24042         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24043         set dependency from opd value.
24045 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24048         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24049         architecture.
24051 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24053         [BZ #17870]
24054         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24055         with uint64_t.
24056         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24057         (uint64_t) 1.
24058         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24059         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24060         Replace 1UL with (uint64_t) 1.
24061         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24062         int with uint64_t.
24064 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24066         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24067         (if_freenameindex): Likewise.
24069         * resource/getrlimit64.c: Add missing libc_hidden_def.
24071 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24073         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24074         __label__.
24075         (_FP_FMA): Likewise.
24076         (_FP_TO_INT_ROUND): Likewise.
24077         (_FP_FROM_INT): Likewise.
24079 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24081         [BZ #16418]
24082         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24083         Make code racy and cancel safe.
24085 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24087         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24088         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24089         attribution.
24091         * pwd/tst-getpw.c: Rewrite.
24093         [BZ #17702]
24094         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24095         (modules-names): Add moddummy1 and moddummy2.
24096         ($(objpfx)tst-rec-dlopen): Define.
24097         * dlfcn/moddummy1.c: New file.
24098         * dlfcn/moddummy2.c: New file.
24099         * dlfcn/tst-rec-dlopen.c: New file.
24100         * elf/dl-cache.c (_dl_load_cache_lookup):
24101         Return char*. Copy result with alloca/strcpy/strdup.
24102         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24103         returns char*. Free cached. If not saving realname
24104         free cached.
24105         * elf/dl-open.c (dl_open_worker): Do not assert that
24106         _r_debug->r_state is RT_CONSISTENT.
24107         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24108         returns char*.
24110 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24111             Carlos O'Donell  <carlos@redhat.com>
24113         [BZ #12674]
24114         * nptl/sem_waitcommon.c: New file.
24115         * nptl/sem_wait.c: Include sem_waitcommon.c.
24116         (__sem_wait_cleanup, do_futex_wait): Remove.
24117         (__new_sem_wait): Adapt.
24118         (__new_sem_trywait): New function.
24119         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24120         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24121         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24122         (sem_timedwait): Adapt.
24123         * nptl/sem_post.c (__new_sem_post): Adapt.
24124         (futex_wake): New function.
24125         (__old_sem_post): Add release MO fence.
24126         * nptl/sem_open.c (sem_open): Adapt.
24127         * nptl/sem_init.c (__new_sem_init): Adapt.
24128         (futex_private_if_supported): New function.
24129         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24130         (__old_sem_getvalue): Add using previous code.
24131         * sysdeps/nptl/internaltypes.h: Adapt.
24132         * nptl/tst-sem13.c (do_test): Adapt.
24133         * nptl/tst-sem11.c (main): Adapt.
24134         * nptl/sem_trywait.c: Remove.
24135         * nptl/DESIGN-sem.txt: Remove.
24136         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24137         (gen-as-const-headers): Remove structsem.sym.
24138         * nptl/structsem.sym: Remove.
24139         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24140         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24141         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24142         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24143         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24144         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24145         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24146         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24147         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24148         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24149         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24150         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24151         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24152         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24153         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24154         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24155         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24156         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24157         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24158         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24159         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24160         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24162 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24164         * INSTALL: Regenerated.
24166         * po/libc.pot: Regenerated.
24168 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24169             Sandra Loosemore  <sandra@codesourcery.com>
24170             Andrew Jenner  <andrew@codesourcery.com>
24171             Joseph Myers  <joseph@codesourcery.com>
24172             Nathan Sidwell  <nathan@codesourcery.com>
24174         * NEWS: Mention new Nios II port.
24175         * sysdeps/nios2/Implies: New file.
24176         * sysdeps/nios2/Makefile: New file.
24177         * sysdeps/nios2/Subdirs: New file.
24178         * sysdeps/nios2/Versions: New file.
24179         * sysdeps/nios2/__longjmp.S: New file.
24180         * sysdeps/nios2/abort-instr.h: New file.
24181         * sysdeps/nios2/backtrace.c: New file.
24182         * sysdeps/nios2/bits/endian.h: New file.
24183         * sysdeps/nios2/bits/fenv.h: New file.
24184         * sysdeps/nios2/bits/link.h: New file.
24185         * sysdeps/nios2/bits/setjmp.h: New file.
24186         * sysdeps/nios2/bsd-_setjmp.S: New file.
24187         * sysdeps/nios2/bsd-setjmp.S: New file.
24188         * sysdeps/nios2/configure: New generated file.
24189         * sysdeps/nios2/configure.ac: New file.
24190         * sysdeps/nios2/crti.S: New file.
24191         * sysdeps/nios2/crtn.S: New file.
24192         * sysdeps/nios2/dl-init.c: New file.
24193         * sysdeps/nios2/dl-machine.h: New file.
24194         * sysdeps/nios2/dl-sysdep.h: New file.
24195         * sysdeps/nios2/dl-tls.h: New file.
24196         * sysdeps/nios2/dl-trampoline.S: New file.
24197         * sysdeps/nios2/gccframe.h: New file.
24198         * sysdeps/nios2/gmp-mparam.h: New file.
24199         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24200         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24201         * sysdeps/nios2/ldsodefs.h: New file.
24202         * sysdeps/nios2/libc-tls.c: New file.
24203         * sysdeps/nios2/libm-test-ulps: New file.
24204         * sysdeps/nios2/machine-gmon.h: New file.
24205         * sysdeps/nios2/math-tests.h: New file.
24206         * sysdeps/nios2/math_private.h: New file.
24207         * sysdeps/nios2/memusage.h: New file.
24208         * sysdeps/nios2/nptl/Makefile: New file.
24209         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24210         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24211         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24212         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24213         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24214         * sysdeps/nios2/nptl/tls.h: New file.
24215         * sysdeps/nios2/preconfigure: New file.
24216         * sysdeps/nios2/s_fma.c: New file.
24217         * sysdeps/nios2/s_fmaf.c: New file.
24218         * sysdeps/nios2/setjmp.S: New file.
24219         * sysdeps/nios2/sfp-machine.h: New file.
24220         * sysdeps/nios2/sotruss-lib.c: New file.
24221         * sysdeps/nios2/stackguard-macros.h: New file.
24222         * sysdeps/nios2/stackinfo.h: New file.
24223         * sysdeps/nios2/start.S: New file.
24224         * sysdeps/nios2/sysdep.h: New file.
24225         * sysdeps/nios2/tls-macros.h: New file.
24226         * sysdeps/nios2/tst-audit.h: New file.
24227         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24228         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24229         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24230         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24231         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24232         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24233         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24234         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24235         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24236         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24237         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24238         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24239         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24240         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24241         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24242         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24243         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24244         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24245         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24246         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24247         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24248         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24249         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24250         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24251         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24252         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24253         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24254         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24255         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24256         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24257         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24258         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24259         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24260         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24261         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24262         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24263         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24264         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24265         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24266         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24267         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24268         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24269         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24270         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24272 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24274         [BZ #17844]
24275         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24276         (getutent): Use weak_alias in non SHARED case
24277         and default_symbol_version in SHARED case.
24278         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24279         (getutent_r, pututline): Likewise.
24280         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24281         (getutid): Likewise.
24282         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24283         (getutid_r): Likewise.
24284         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24285         (getutline): Likewise.
24286         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24287         (getutline_r): Likewise.
24288         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24289         (updwtmp): Likewise.
24291 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24293         [BZ #17848]
24294         * sysdeps/s390/s390-32/memcmp.S
24295         (memcmp_g5): Rename to __memcmp_g5.
24296         * sysdeps/s390/s390-32/memcpy.S
24297         (memcpy_g5): Rename to __memcpy_g5.
24298         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24299         (memcpy_mvcle) Rename to __memcpy_mvcle.
24300         * sysdeps/s390/s390-32/memset.S
24301         (memset_g5): Rename to __memset_g5.
24302         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24303         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24304         and use prefixed functions.
24305         * sysdeps/s390/s390-32/multiarch/memcmp.S
24306         (memcmp_z196): Rename to __memcmp_z196.
24307         (memcmp_z10): Rename to __memcmp_z10.
24308         (memcmp): Set alias to __memcmp_g5.
24309         (bcmp): Set alias to __memcmp_g5.
24310         * sysdeps/s390/s390-32/multiarch/memcpy.S
24311         (memcpy_z196): Rename to __memcpy_z196.
24312         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24313         (memcpy_z10): Rename to __memcpy_z10.
24314         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24315         (memcpy): Set alias to __memcpy_g5.
24316         * sysdeps/s390/s390-32/multiarch/memset.S
24317         (memset_z196): Rename to __memset_z196.
24318         Jump to __memset_mvcle instead of memset_mvcle.
24319         (memset_z10): Rename to __memset_z10.
24320         Jump to __memset_mvcle instead of memset_mvcle.
24321         (memset_mvcle) Rename to __memset_mvcle.
24322         (memset): Set alias to __memset_g5.
24323         * sysdeps/s390/s390-64/memcmp.S
24324         (memcmp_z900): Rename to __memcmp_z900.
24325         * sysdeps/s390/s390-64/memcpy.S
24326         (memcpy_z900): Rename to __memcpy_z900.
24327         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24328         (memcpy_mvcle) Rename to __memcpy_mvcle.
24329         * sysdeps/s390/s390-64/memset.S
24330         (memset_z900): Rename to __memset_z900.
24331         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24332         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24333         and use prefixed functions.
24334         * sysdeps/s390/s390-64/multiarch/memcmp.S
24335         (memcmp_z196): Rename to __memcmp_z196.
24336         (memcmp_z10): Rename to __memcmp_z10.
24337         (memcmp): Set alias to __memcmp_z900.
24338         (bcmp): Set alias to __memcmp_z900.
24339         * sysdeps/s390/s390-64/multiarch/memcpy.S
24340         (memcpy_z196): Rename to __memcpy_z196.
24341         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24342         (memcpy_z10): Rename to __memcpy_z10.
24343         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24344         (memcpy): Set alias to __memcpy_z900.
24345         * sysdeps/s390/s390-64/multiarch/memset.S
24346         (memset_z196): Rename to __memset_z196.
24347         Jump to __memset_mvcle instead of memset_mvcle.
24348         (memset_z10): Rename to __memset_z10.
24349         Jump to __memset_mvcle instead of memset_mvcle.
24350         (memset_mvcle) Rename to __memset_mvcle.
24351         (memset): Set alias to __memset_z900.
24353 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24355         [BZ #17748]
24356         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24357         __fesetenv instead of fesetenv.
24359 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24361         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24362         macro.
24364 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24366         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24367         regression on LE.
24369         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24370         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24372         strncmp-power8 object.
24373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24374         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24375         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24376         * NEWS: Update.
24378 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24379             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24381         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24382         trailing byte check.
24384 2015-01-13  David S. Miller  <davem@davemloft.net>
24386         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24388 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24390         * login/logout.c (logout): Use memset rather than bzero.
24391         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24392         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24393         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24394         (_gethtbyaddr): Likewise.
24395         * locale/programs/simple-hash.c (bcopy): Macro removed.
24397 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24400         Add strcmp-power8 object.
24401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24402         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24403         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24404         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24405         __strcmp_power8 implementation.
24406         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24407         * NEWS: Update.
24409         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24410         Add strncpy-power8 and stpncpy-power8 objects.
24411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24412         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24413         implementations.
24414         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24415         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24416         __stpncpy_power8 implementation.
24417         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24418         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24419         __strncpy_power8 implementation.
24420         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24421         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24422         * NEWS: Update.
24424         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24425         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24426         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24429         strncat-power8 object.
24430         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24431         __strcat_power8 implementation.
24432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24433         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24434         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24435         optimized strcat for power8.
24437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24438         strcpy-power8 and stpcpy-power8 objects.
24439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24440         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24441         implementations.
24442         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24443         multiarch stpcpy implementation for POWER8.
24444         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24445         multiarch strcpy implementation for POWER8.
24446         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24447         __strcpy_power8 function.
24448         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24449         stpcpy for POWER8.
24450         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24451         strcpy for POWER8.
24452         * NEWS: Update.
24454 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24456         [BZ #16009]
24457         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24458         weights and rules. Use do_xfrm_cached if data fits in cache,
24459         do_xfrm otherwise.  Moved former main loop to...
24460         * (do_xfrm_cached): New function.
24461         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24462         find_idx, find_position and stack_push.
24463         * (find_idx): New function.
24464         * (find_position): Likewise.
24465         * localedata/sort-test.sh: Added test run for do_xfrm.
24466         * localedata/xfrm-test.c (main): Added command line option
24467         -nocache to run the test with strings that are too large for
24468         the STRXFRM cache.
24470 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24472         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24473         variable to lll_futex_wake call, not the value itself.
24475 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24477         [BZ #17803]
24478         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24479         twom64.  Adjust value to 0x1p-64L.
24480         (__scalblnl): Only return standard underflowing result for K <=
24481         -64 not K <= -63; adjust exponent for underflowing result by 64
24482         not 63.
24483         * math/libm-test.inc (scalbn_test_data): Add more tests.
24484         (scalbln_test_data): Likewise.
24486         [BZ #17834]
24487         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24488         0x1p63L.
24489         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24490         not HX.
24491         * math/libm-test.inc (scalbn_test_data): Add more tests.
24492         (scalbln_test_data): Likewise.
24494 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24495             Stefani Seibold  <stefani@seibold.net>
24497         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24498         (sysdep_routines): Add dl-vdso here, ...
24499         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24500         (sysdep_routines): ... not here.
24501         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24502         fallback when vDSO is not presented.
24503         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24504         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24505         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24506         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24507         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24508         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24509         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24510         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24511         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24513         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24514         fallback configurable symbol when vDSO is not available.
24515         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24516         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24517         be able to redefine fallback symbol when vDSO is not available.
24518         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24519         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24521 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24523         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24524         (TLS_INIT_TP): Add tm_capable initialization.
24525         (TLS_DEFINE_INIT_TP): Likewise.
24526         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24527         TCB.
24528         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24529         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24530         calculation.
24531         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24532         transactoion is lock elision is built and TCB tm_capable is set.
24533         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24535         (INTERNAL_SYSCALL_NCS): Likewise.
24536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24537         (INTERNAL_SYSCALL_NCS): Likewise.
24538         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24540         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24541         for powerpc.
24542         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24543         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24544         and remove it for 32 bits case.
24545         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24547         initialization.
24548         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24549         Disable lock elision with rdlocks if elision is not available.
24551         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24552         (sysdep_routines): Add lock elision objects.
24553         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24554         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24555         [pthread_mutex_t] (__elision): Add field.
24556         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24557         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24558         elision definitions for powerpc.
24559         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24560         implementation of lock elision for powerpc.
24561         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24562         implementation of timed lock elision for powerpc.
24563         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24564         implementation of trylock with lock elision for powerpc.
24565         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24566         implementaion of unlock for lock elision for powerpc.
24567         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24568         automatic enable lock elision for mutexes.
24569         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24570         transaction execution definitions for powerpc.
24571         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24572         definitions.
24573         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24574         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24575         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24576         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24577         * NEWS: Update.
24579 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24581         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24582         for #include of <shm-directory.h>.
24584 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24586         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24587         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24589 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24591         [BZ #17791]
24592         * NEWS: Mention bug fix.
24593         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24594         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24595         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24597 2015-01-09  Torvald Riegel <triegel@redhat.com>
24599         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24601 2015-01-09  Torvald Riegel <triegel@redhat.com>
24603         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24605 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24607         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24608         pointer and cast to uintptr_t.
24610 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24612         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24613         removed.
24614         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24616 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24618         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24619         of 0.
24621 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24623         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24624         <nptl/pthreadP.h> instead.
24625         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24627         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24628         already defined.
24629         [__SIGRTMIN] (init): Function removed.
24630         [__SIGRTMIN] (initialized): Variable removed.
24631         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24632         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24633         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24634         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24635         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24636         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24637         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24638         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24639         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24640         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24641         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24642         * sysdeps/nptl/allocrtsig.c: New file.
24643         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24644         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24645         * sysdeps/generic/testrtsig.h: File removed.
24647         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24648         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24650         * nptl/nptl-init.c (pthread_functions): Conditionalize
24651         .ptr__nptl_setxid initialization on [SIGSETXID].
24653         * sysdeps/nptl/sys/procfs.h: New file.
24654         * nptl_db/Makefile (headers): Add it.
24655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24657         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24658         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24659         * nptl/pthread_attr_setaffinity.c: Include it.
24660         * nptl/pthread_setattr_default_np.c: Likewise.
24661         * nptl/check-cpuset.h: New file.
24663 2015-01-08  Richard Henderson  <rth@redhat.com>
24665         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24666         (CFLAGS-tst-execstack-prog.c): Likewise.
24667         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24669 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24670             Sandra Loosemore  <sandra@codesourcery.com>
24671             Andrew Jenner  <andrew@codesourcery.com>
24672             Joseph Myers  <joseph@codesourcery.com>
24673             Nathan Sidwell  <nathan@codesourcery.com>
24675         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24676         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24677         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24678         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24679         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24680         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24681         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24682         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24683         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24684         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24685         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24686         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24687         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24688         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24689         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24690         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24691         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24693 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24695         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24696         timespec struct member in syscall macro.
24697         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24698         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24699         first timeval struct member in syscall macro.
24700         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24702 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24704         [BZ #17748]
24705         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24706         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24707         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24708         __feupdateenv and define as weak alias of __feupdateenv.  Use
24709         libm_hidden_weak.
24710         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24711         libm_hidden_def.
24712         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24713         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24714         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24715         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24716         libm_hidden_def.
24717         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24718         __feupdateenv and define as weak alias of __feupdateenv.  Use
24719         libm_hidden_weak.
24720         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24721         libm_hidden_def.
24722         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24723         __feupdateenv and define as weak alias of __feupdateenv.  Use
24724         libm_hidden_weak.
24725         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24726         libm_hidden_def.
24727         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24728         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24729         (__feupdateenv): Likewise.
24730         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24731         __feupdateenv and define as weak alias of __feupdateenv.  Use
24732         libm_hidden_weak.
24733         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24734         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24735         libm_hidden_def.
24736         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24737         function.
24738         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24739         libm_hidden_def.
24740         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24741         __feupdateenv instead of feupdateenv.
24742         (default_libc_feupdateenv_test): Likewise.
24743         (libc_feresetround_ctx): Likewise.
24745 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24747         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24748         prototype.
24750 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24752         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24753         COLL_SYM in a couple of places to avoid uninitialized variable
24754         wanings on tilegx gcc 4.8.2.
24756 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24758         * sysdeps/aarch64/strcpy.S: New file.
24759         * sysdeps/aarch64/stpcpy.S: New file.
24760         * NEWS: Updated.
24762 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24764         * sysdeps/aarch64/strrchr.S: New file.
24765         * NEWS: Updated.
24767 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24769         [BZ #17658]
24770         * stdlib/setenv.c: Fix memory leak when setting large,
24771         duplicate string.
24773 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24775         [BZ #17273]
24776         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24777         and tabs from buffer before parsing fstab entry.
24778         * misc/tst-mntent.c (main): Add test for mount entry with
24779         trailing spaces and tabs.
24781 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24783         [BZ #17748]
24784         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24785         * math/fesetround.c (fesetround): Rename to __fesetround and
24786         define as weak alias of __fesetround.  Use libm_hidden_weak.
24787         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24788         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24789         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24790         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24791         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24792         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24793         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24794         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24795         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24796         __fesetround_inline.
24797         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24798         __fesetround_inline instead of __fesetround.
24799         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24800         __fesetround and define as weak alias of __fesetround.  Use
24801         libm_hidden_weak.  Call __fesetround_inline instead of
24802         __fesetround.
24803         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24804         __fesetround and define as weak alias of __fesetround.  Use
24805         libm_hidden_weak.
24806         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24807         Likewise.
24808         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24809         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24810         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24811         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24812         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24813         __fesetround and define as weak alias of __fesetround.  Use
24814         libm_hidden_weak.
24815         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24816         __fesetround instead of fesetround.
24817         (default_libc_feholdexcept_setround): Likewise.
24818         (libc_feholdsetround_ctx): Likewise.
24819         (libc_feholdsetround_noex_ctx): Likewise.
24821         [BZ #17748]
24822         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24823         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24824         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24825         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24826         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24827         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24828         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24829         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24830         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24831         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24832         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24833         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24834         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24835         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24836         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24837         libm_hidden_def.
24838         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24839         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24840         Likewise.
24841         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24842         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24843         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24844         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24845         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24846         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24847         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24848         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24849         __fesetenv instead of fesetenv.
24850         (libc_feresetround_noex_ctx): Likewise.
24851         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24852         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24853         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24854         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24855         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24856         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24857         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24858         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24859         (__feupdateenv): Likewise.
24860         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24861         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24862         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24863         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24865 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24867         [BZ #17806]
24868         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24869         addresses have been freed.
24871 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24873         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24874         and nservall.
24876 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24878         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24879         Clean up check_pf allocation pattern. addresses
24881 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24883         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24884         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24885         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24886         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24887         * nptl/pthread_join.c (pthread_join): Likewise.
24888         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24889         * sysdeps/posix/waitid.c (__waitid): Likewise.
24890         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24891         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24892         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24893         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24895         Likewise.
24896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24897         (__libc_pread64): Likewise.
24898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24899         (__libc_pwrite): Likewise.
24900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24901         (__libc_pwrite64): Likewsie.
24902         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24903         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24904         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24905         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24906         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24907         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24908         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24910         Likewise.
24911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24912         (__libc_pread64): Likewise.
24913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24914         Likewise.
24915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24916         (__libc_pwrite64): Likewise.
24917         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24918         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24919         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24920         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24921         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24922         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24923         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24924         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24925         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24926         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24927         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24928         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24929         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24930         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24931         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24932         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24933         Likewise.
24935 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24937         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24938         (CFLAGS-test-double.c): Likewise.
24939         (CFLAGS-test-ldouble.c): Likewise.
24940         (CPPFLAGS-test-ifloat.c): Likewise.
24941         (CPPFLAGS-test-idouble.c): Likewise.
24942         (CPPFLAGS-test-ildoubl.c): Likewise.
24943         (CFLAGS-test-test-fenv.c): Remove variable.
24944         (CFLAGS-test-misc.c): Likewise.
24946 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24948         [BZ #17797]
24949         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24950         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24951         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24952         CLOCKS_PER_SEC == 1000000.
24953         * time/clocktest.c (main): Replace %ld with %jd and cast to
24954         intmax_t.
24956 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24958         * sysdeps/generic/unwind-resume.h: New file.
24959         * sysdeps/gnu/unwind-resume.c: Include it.
24960         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24961         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24962         argument list.
24963         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24964         global rather than static.
24965         (_Unwind_Resume): Update user.
24966         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24967         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24968         rather than static.  Add __attribute__ ((cold)).
24969         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24970         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24971         * sysdeps/arm/arm-unwind-resume.S: New file.
24972         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24973         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24974         * sysdeps/arm/Makefile [$(subdir) = csu]
24975         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24976         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24977         Add rt-arm-unwind-resume.
24978         [$(subdir) = nptl]
24979         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24980         Add pt-arm-unwind-resume.
24981         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24982         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24984 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24986         [BZ #17748]
24987         * include/fenv.h (__feholdexcept): Declare.  Use
24988         libm_hidden_proto.
24989         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24990         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24991         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24992         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24993         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24994         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24995         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24996         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24997         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24998         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24999         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25000         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25001         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25002         (feholdexcept): Likewise.
25003         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25004         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25005         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25006         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25007         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25008         __feholdexcept instead of feholdexcept.
25009         (default_libc_feholdexcept_setround): Likewise.
25011 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25013         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25014         to avoid using stl/str to align destination.
25016 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25018         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25020 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25022         [BZ #17796]
25023         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25024         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25025         Define as weak alias not strong alias.
25027 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25029         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25030         bltzal with addiupc.
25031         (RTLD_START): Ditto.
25033 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25035         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25036         for __vdso_* functions in declarations.
25037         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25038         definitions.
25039         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25040         INTERNAL_VSYSCALL): Use struct return types to check for error.
25042         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25043         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25044         function with cast from llround().
25045         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25046         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25047         Define.
25049 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25051         [BZ #17793]
25052         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25053         Define as weak alias not strong alias.
25055         [BZ #17635]
25056         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25057         ...
25058         * ctype/ctype-extn.c: ... here.
25059         (__isblank_l): Move to ...
25060         * ctype/ctype-c99_l.c: ... here.  New file.
25061         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25062         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25063         Remove variable.
25064         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25065         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25066         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25067         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25068         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25070         [BZ #17777]
25071         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25072         (posix_fadvise64): Define as weak alias not strong alias.
25073         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25074         (posix_fallocate64): Likewise.
25075         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25076         Remove variable.
25077         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25078         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25079         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25080         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25081         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25083 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25085         [BZ #16191]
25086         * NEWS: Mention bug fix.
25087         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25088         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25089         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25090         (HOST_STACK_END_ADDR): Likewise.
25092 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25094         [BZ #17748]
25095         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25096         * math/fegetround.c (fegetround): Rename to __fegetround and
25097         define as weak alias of __fegetround.  Use libm_hidden_weak.
25098         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25099         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25100         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25101         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25102         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25103         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25104         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25105         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25106         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25107         Undefine after rather than before function definition; use
25108         parentheses around function name in definition.
25109         (__fegetround): Also undefine macro after function definition.
25110         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25111         __fegetround and define as weak alias of __fegetround.  Use
25112         libm_hidden_weak.  Do not undefine as macro.
25113         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25114         Likewise.
25115         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25116         __fegetround and define as weak alias of __fegetround.  Use
25117         libm_hidden_weak.
25118         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25119         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25120         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25121         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25122         __fegetround and define as weak alias of __fegetround.  Use
25123         libm_hidden_weak.
25124         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25125         __fegetround instead of fegetround.
25127         [BZ #17782]
25128         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25129         Condition macro definition on [__USE_MISC].
25131         [BZ #17781]
25132         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25133         (struct sigaction): Change type of sa_flags field to int.
25135         [BZ #17780]
25136         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25137         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25138         __glibc_reserved0.
25140         * nptl/version.c (banner): Use single year in copyright notice.
25142         * NEWS: Update copyright dates.
25143         * catgets/gencat.c (print_version): Likewise.
25144         * csu/version.c (banner): Likewise.
25145         * debug/catchsegv.sh: Likewise.
25146         * debug/pcprofiledump.c (print_version): Likewise.
25147         * debug/xtrace.sh (do_version): Likewise.
25148         * elf/ldconfig.c (print_version): Likewise.
25149         * elf/ldd.bash.in: Likewise.
25150         * elf/pldd.c (print_version): Likewise.
25151         * elf/sotruss.sh: Likewise.
25152         * elf/sprof.c (print_version): Likewise.
25153         * iconv/iconv_prog.c (print_version): Likewise.
25154         * iconv/iconvconfig.c (print_version): Likewise.
25155         * locale/programs/locale.c (print_version): Likewise.
25156         * locale/programs/localedef.c (print_version): Likewise.
25157         * login/programs/pt_chown.c (print_version): Likewise.
25158         * malloc/memusage.sh (do_version): Likewise.
25159         * malloc/memusagestat.c (print_version): Likewise.
25160         * malloc/mtrace.pl: Likewise.
25161         * manual/libc.texinfo: Likewise.
25162         * nptl/version.c (banner): Likewise.
25163         * nscd/nscd.c (print_version): Likewise.
25164         * nss/getent.c (print_version): Likewise.
25165         * nss/makedb.c (print_version): Likewise.
25166         * posix/getconf.c (main): Likewise.
25167         * scripts/test-installation.pl: Likewise.
25168         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25170 2015-01-02  Will Newton  <will.newton@linaro.org>
25172         * sysdeps/arm/armv7/configure: Removed.
25173         * sysdeps/arm/armv7/configure.ac: Likewise.
25175 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25177         * All files with FSF copyright notices: Update copyright dates
25178         using scripts/update-copyrights.
25179         * intl/plural.c: Regenerated.
25180         * locale/programs/charmap-kw.h: Likewise.
25181         * locale/programs/locfile-kw.h: Likewise.
25183 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25185         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25187 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25189         [BZ #17748]
25190         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25191         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25192         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25193         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25194         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25195         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25196         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25197         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25198         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25199         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25200         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25201         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25202         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25203         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25204         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25205         libm_hidden_def.
25206         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25207         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25208         Likewise.
25209         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25210         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25212         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25213         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25214         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25215         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25216         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25217         __fegetenv instead of fegetenv.
25218         (libc_feholdsetround_noex_ctx): Likewise.
25220 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25222         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25223         (Elf_MIPS_ABIFlags_v0): New structure.
25224         (EF_MIPS_FP64): Define.
25225         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25226         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25227         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25228         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25229         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25230         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25231         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25232         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25233         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25234         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25235         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25236         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25237         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25238         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25239         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25240         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25241         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25242         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25243         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25244         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25245         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25246         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25247         field.
25248         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25249         EF_MIPS_FP64.
25250         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25251         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25252         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25253         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25254         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25255         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25256         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25257         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25258         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25259         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25260         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25261         record the current FP ABI extension.
25262         (mips-mode-switch): Define to show if kernel headers support mode
25263         switching.
25264         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25265         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25266         supported SYSV ABI version to 3.
25267         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25268         feature.
25270 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25271             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25273         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25274         path.
25275         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25277 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25279         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25280         __fegetround and redefine to call __fegetround.  Remove condition
25281         on [!__NO_MATH_INLINES].
25282         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25283         function.
25284         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25285         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25286         Remove macro.
25287         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25288         instead of <fenv_libc.h>.
25289         (__llrintl): Call fegetround instead of __fegetround.
25290         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25291         instead of <fenv_libc.h>.
25292         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25293         (__lrintl): Call fegetround instead of __fegetround.
25294         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25295         instead of <fenv_libc.h>.
25296         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25297         (__rintl): Call fegetround instead of __fegetround.
25299 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25301         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25302         arrays.
25304 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25306         [BZ #17775]
25307         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25308         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25309         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25311 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25313         * sysdeps/i386/tls-macros.h: Include <features.h>.
25314         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25315         (TLS_IE): Likewise.
25316         (TLS_LD): Likewise.
25317         (TLS_GD): Likewise.
25318         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25319         define for GCC >= 5.0.
25321 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25323         * math/test-fenv.c (test_single_exception, set_single_exc,
25324         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25325         feexcp_mask_test, feenable_test, fe_single_test): Add
25326         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25327         case where they are not used.
25328         * math/libm-test.inc: Likewise.
25329         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25330         unused in the absence of FP rounding/exception support.
25331         * stdio-common/tst-printf-round.c: Likewise.
25332         * stdlib/tst-strtod-round.c: Likewise.
25333         * stdlib/tst-strtod-underflow.c: Likewise.
25335 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25337         [BZ #17723]
25338         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25339         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25340         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25341         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25342         libm_hidden_weak.
25343         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25344         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25345         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25346         libm_hidden_def.
25347         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25348         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25349         libm_hidden_weak.
25350         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25351         Likewise.
25352         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25353         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25354         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25355         libm_hidden_weak.
25356         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25357         libm_hidden_def.
25358         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25359         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25360         (__feraiseexcept): Likewise.
25361         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25362         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25363         libm_hidden_weak.
25364         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25365         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25366         libm_hidden_def.
25367         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25368         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25369         Use libm_hidden_def.
25370         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25371         libm_hidden_def.
25372         (feraiseexcept): Define as weak not strong alias.  Use
25373         libm_hidden_weak.
25374         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25375         New inline function.  Factored out of ...
25376         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25377         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25378         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25379         feraiseexcept.
25380         * math/w_acos.c (__acos): Likewise.
25381         * math/w_asin.c (__asin): Likewise.
25382         * math/w_ilogb.c (__ilogb): Likewise.
25383         * math/w_j0.c (y0): Likewise.
25384         * math/w_j1.c (y1): Likewise.
25385         * math/w_jn.c (yn): Likewise.
25386         * math/w_log.c (__log): Likewise.
25387         * math/w_log10.c (__log10): Likewise.
25388         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25389         * sysdeps/aarch64/fpu/math_private.h
25390         (libc_feupdateenv_test_aarch64): Likewise.
25391         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25392         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25393         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25394         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25395         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25396         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25397         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25398         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25399         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25400         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25402 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25404         [BZ #17732]
25405         * io/test-utime.c (main): Replace %ld with %jd and cast to
25406         intmax_t.
25407         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25408         * nptl/tst-mutex5.c: Include <stdint.h>.
25409         (do_test): Replace %ld with %jd and cast to intmax_t.
25410         * posix/tst-regex.c (run_test): Likewise.
25411         (run_test_backwards): Likewise.
25412         * rt/tst-clock.c: Include <stdint.h>.
25413         (clock_test): Replace %ld with %jd and cast to intmax_t.
25414         * rt/tst-cpuclock1.c: Include <stdint.h>.
25415         (do_test): Replace %lu with %ju and cast to uintmax_t.
25416         * rt/tst-cpuclock2.c: Include <stdint.h>.
25417         (do_test): Replace %lu with %ju and cast to uintmax_t.
25418         * rt/tst-mqueue1.c: Include <stdint.h>.
25419         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25420         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25421         intmax_t.
25422         * rt/tst-mqueue4.c (do_test): Likewise.
25423         * rt/tst-timer4.c: Include <stdint.h>.
25424         (check_ts): Replace %ld with %jd and cast to intmax_t.
25425         (do_test): Likewise.
25426         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25427         and cast to intmax_t.
25428         * sysdeps/pthread/tst-timer.c (main): Likewise.
25429         * time/clocktest.c (main): Likewise.
25430         * time/tst-posixtz.c (do_test): Likewise.
25431         * timezone/tst-timezone.c (main): Likewise.
25433 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25434             H.J. Lu  <hongjiu.lu@intel.com>
25436         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25437         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25438         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25439         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25440         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25441         version if bit_Fast_Unaligned_Load is set.
25442         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25443         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25444         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25445         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25446         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25449         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25450         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25451         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25452         to 4.
25453         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25454         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25455         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25456         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25458 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25460         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25461         instead of #if to avoid a Wundef warning.
25462         * stdlib/tst-limits.c (do_test): Likewise.
25464         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25465         parallel other exception macros.
25466         (fegetenv): Convert from macro to extern inline so that it applies
25467         retroactively to inline functions already seen by the compiler.
25468         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25470         * posix/Makefile (before-compile): Use $(objpfx) for
25471         posix-conf-vars-def.h.
25473 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25475         * posix/getconf.c (main): Use size_t for type of I.
25476         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25477         NSPEC.
25479         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25480         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25481         * posix/posix-envs.def: Likewise.
25482         * sysdeps/posix/sysconf.c: Likewise.
25483         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25484         (specs): Remove array.
25485         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25486         array.
25488         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25489         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25490         (__sysconf): Use CONF_IS_* macros.
25492         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25493         ($(objpfx)posix-conf-vars-def.h): New target.
25494         * posix/posix-conf-vars.list: New file.
25495         * posix/posix-conf-vars.h: New file.
25496         * posix/confstr.c: Include posix-conf-vars.h.
25497         (confstr): Use CONF_IS_* macros.
25498         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25499         CONF_IS_* macros.
25500         * scripts/gen-posix-conf-vars.awk: New file.
25502 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25504         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25505         fegetround): Add no-op macros to avoid linknamespace issues.
25507         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25508         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25510         * sysdeps/unix/sysv/linux/tile/sysdep.h
25511         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25512         assembly-specific section to avoid a redefinition warning.
25514         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25515         long before casting to pointer to avoid a cast warning.
25517 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25519         * sysdeps/tile/tilegx/Implies: New file.
25521 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25523         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25525 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25527         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25529 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25532         not define.
25533         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25534         <kernel-features.h>.
25535         (__utimes) [__NR_utimes]: Make code unconditional.
25536         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25538         (__ASSUME_UTIMES): Do not undefine.
25539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25540         (__ASSUME_UTIMES): Likewise.
25541         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25542         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25543         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25544         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25546 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25548         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25550 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25552         [BZ #17747]
25553         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25554         alias to weak alias for j0l, y0l.
25555         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25556         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25558         [BZ #17746]
25559         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25560         conversion.
25562 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25564         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25565         to zero if not already defined.
25567 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25569         [BZ #17724]
25570         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25571         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25572         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25573         (char *) casts added.
25574         * sysdeps/ieee754/k_standardf.c: New file.
25575         * sysdeps/ieee754/k_standardl.c: Likewise.
25576         * math/Makefile (libm-support): Remove k_standard.
25577         (libm-calls): Add k_standard.
25579 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25581         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25582         Optimize to avoid an unnecessary FPCR read.
25584 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25586         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25587         Optimize to reduce FPCR/FPSR accesses.
25589 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25591         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25592         Call libc_fetestexcept_aarch64.
25594 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25596         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25597         Call libc_fesetround_aarch64.
25599 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25601         [BZ #17733]
25602         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25603         (__bind): Do not define as weak alias.
25604         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25605         define.
25606         (__getsockname): Do not define as weak alias.
25608 2014-12-22  Will Newton  <will.newton@linaro.org>
25610         * manual/install.texi: Document that we require bison 2.7
25611         or above.
25612         * INSTALL: Regenerate.
25613         * configure.ac: Use AC_CHECK_PROG_VER instead of
25614         AC_PATH_PROG when checking for bison and check for
25615         version 2.7 or above.
25616         * configure: Regenerate.
25618 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25620         [BZ #17745]
25621         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25622         * sysdeps/tile/ffsll.c (ffsll): To here.
25624         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25626 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25628         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25629         if not defined.
25630         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25631         definition.
25632         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25633         hidden ___tls_get_addr.
25634         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25635         hidden __tls_get_addr.
25636         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25637         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25638         Likewise.
25640 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25642         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25643         _dl_init call.
25645 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25647         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25648         from "call _dl_init@PLT".
25649         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25651 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25653         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25654         guarantees.
25656 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25658         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25660 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25662         [BZ #17744]
25663         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25664         strnlen.
25666 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25668         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25669         of multu on MIPSr6.
25670         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25671         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25672         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25673         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25674         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25676 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25678         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25679         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25680         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25681         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25682         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25683         mips32r6/mips64r6.
25684         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25686 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25688         * string/strncat.c (STRNCAT): Simplify implementation.
25690 2014-12-19  David S. Miller  <davem@davemloft.net>
25692         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25693         access the quad as both a long double and as a series of 4 words.
25695         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25696         link_map->l_info array access.
25698 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25700         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25702         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25703         * math/atest-exp2.c (TIMEOUT): Likewise.
25704         * math/atest-sincos.c (TIMEOUT): Likewise.
25706 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25708         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25709         -Wno-error with -fno-builtin-lround.
25711 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25713         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25714         Contains futex constants and functions moved over from ...
25715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25716         <lowlevellock-futex.h>.
25717         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25718         (lll_timedwait_tid): Add comments and parentheses around macro
25719         arguments.
25721 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25723         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25724         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25725         (__lll_private_flag): Remove.
25726         (lll_futex_wait): Likewise.
25727         (lll_futex_timed_wait): Likewise.
25728         (lll_futex_wake): Likewise.
25729         (lll_futex_requeue): Likewise.
25730         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25731         (__lll_timedwait_tid): Spell out argument names.
25732         (lll_timedwait_tid): Add comments and parentheses around macro
25733         arguments.
25734         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25735         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25737 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25739         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25740         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25741         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25742         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25743         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25744         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25745         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25746         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25747         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25748         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25749         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25750         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25751         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25753         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25754         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25755         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25756         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25757         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25759 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25761         * sysdeps/x86_64/x32/Makefile: New file.
25763 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25765         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25766         1L with (mp_limb_t) 1.
25768 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25770         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25771         * nptl/libc_pthread_init.c: ... here.
25772         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25773         * nptl/register-atfork.c: ... here.
25775         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25776         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25777         Use assert_perror to check its return value.
25778         (__gai_create_helper_thread): Likewise.
25780         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25782         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25784 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25786         [BZ #17725]
25787         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25788         __profil_counter.
25789         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25790         Likewise.
25791         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25792         Likewise.
25793         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25794         Likewise.
25795         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25796         (profil_counter): Likewise.
25797         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25798         (profil_counter): Likewise.
25799         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25800         Likewise.
25801         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25802         Likewise.
25803         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25804         (profil_counter): Likewise.
25805         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25806         Likewise.
25807         [!__profil_counter] (profil_counter): Define as weak alias of
25808         __profil_counter.
25809         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25810         (profil_counter): Rename to __profil_counter.
25811         [!__profil_counter] (profil_counter): Define as weak alias of
25812         __profil_counter.
25813         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25814         (profil_counter): Rename to __profil_counter.
25815         [!__profil_counter] (profil_counter): Define as weak alias of
25816         __profil_counter.
25817         * sysdeps/posix/profil.c: Update comment referring to
25818         profil_counter.
25819         (__profil): Use __profil_counter instead of profil_counter.
25820         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25821         __profil_counter.  Use __profil_counter_ushort and
25822         __profil_counter_uint in definitions.
25823         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25824         instead of profil_counter_uint and profil_counter_ushort.
25826         [BZ #17722]
25827         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25828         define as weak alias of __inet_makeaddr.
25829         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25830         as weak alias of __inet_addr.
25831         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25832         as weak alias of __inet_pton.  Use libc_hidden_weak.
25833         * include/arpa/inet.h (__inet_pton): Declare.  Use
25834         libc_hidden_proto.
25835         (inet_makeaddr): Don't use libc_hidden_proto.
25836         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25837         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25838         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25839         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25840         Remove variable.
25841         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25842         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25844 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25846         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25848 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25850         * stdio-common/bug-vfprintf-nargs.c (do_test):
25851         Cast value to intptr_t to avoid format warning
25852         for usage with PRIdPTR printing macro.
25854 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25856         * libio/tst-widetext.c (do_test):
25857         Use format type %td instead of %Zd for ptrdiff_t
25858         in order to avoid format warning.
25860 2014-12-17  Andreas Schwab  <schwab@suse.de>
25862         * nscd/mem.c (gc): Add size_t cast to match printf format.
25864 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25866         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25867         (init): Apply PTR_MANGLE to pointers before storing them.
25868         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25869         before using them.
25871 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25873         [BZ #17719]
25874         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25875         define as weak alias of __memrchr.
25876         (__memrchr): Do not define as strong alias of memrchr.
25877         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25878         Remove variable.
25879         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25880         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25881         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25883         [BZ #17717]
25884         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25885         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25886         (if_indextoname): Rename to __if_indextoname and define as weak
25887         alias of __if_indextoname.  Use libc_hidden_weak.
25888         (if_freenameindex): Rename to __if_freenameindex and define as
25889         weak alias of __if_freenameindex.
25890         (if_nameindex): Rename to __if_nameindex and define as weak alias
25891         of __if_nameindex.
25892         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25893         __if_nametoindex and define as weak alias of __if_nametoindex.
25894         Use libc_hidden_weak.
25895         (if_freenameindex): Rename to __if_freenameindex and define as
25896         weak alias of __if_freenameindex.
25897         (if_nameindex): Rename to __if_nameindex and define as weak alias
25898         of __if_nameindex.
25899         (if_indextoname): Rename to __if_indextoname and define as weak
25900         alias of __if_indextoname.  Use libc_hidden_weak.
25901         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25902         __if_nametoindex and define as weak alias of __if_nametoindex.
25903         Use libc_hidden_weak.
25904         (if_freenameindex): Rename to __if_freenameindex and define as
25905         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25906         (if_nameindex_netlink): Use __if_freenameindex instead of
25907         if_freenameindex.
25908         (if_nameindex): Rename to __if_nameindex and define as weak alias
25909         of __if_nameindex.  Use libc_hidden_weak.
25910         (if_indextoname): Rename to __if_indextoname and define as weak
25911         alias of __if_indextoname.  Use libc_hidden_weak.
25912         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25913         libc_hidden_proto.
25914         [!_ISOMAC] (__if_freenameindex): Likewise.
25915         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25916         if_nametoindex.
25917         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25918         variable.
25919         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25920         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25921         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25922         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25923         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25924         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25925         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25927         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25928         Remove variable.
25929         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25930         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25932 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25934         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25935         subscript above bounds'
25937         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25938         bounds.
25940 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25942         * libio/tst-fopenloc.c: Use test-skeleton.c.
25944         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25945         (entry): Rename to ITEM.
25946         (do_test, comp): Adjust.
25948         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25950 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25952         * string/tester.c: Include <libc-internal.h>.
25953         (test_memset): Ignore -Wmemset-transposed-args.
25955 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25957         * misc/tst-mntent2.c (do_test): Fix warning.
25959 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25961         * elf/tst-unique4lib.cc(a): Mark as used.
25963 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25965         [BZ #17630]
25966         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25967         names.
25969 2014-12-16  Allan McRae  <allan@archlinux.org>
25971         * stdio-common/Makefile (tests): Re-add bug26.
25973 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25975         [BZ #17657]
25976         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25977         static array.
25979 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25981         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25982         (__lll_lock_wait): Likewise.
25983         (__lll_timedlock_wait): Likewise.
25984         (__lll_timedwait_tid): Likewise.
25985         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25986         (__lll_robust_timedlock_wait): Likewise.
25987         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25988         (lll_cond_trylock): Likewise.
25989         (__lll_lock): Likewise.
25990         (__lll_robust_lock): Likewise.
25991         (__lll_cond_lock): Likewise.
25992         (lll_robust_cond_lock): Likewise.
25993         (__lll_timedlock): Likewise.
25994         (__lll_robust_timedlock): Likewise.
25995         (__lll_unlock): Likewise.
25996         (__lll_robust_unlock): Likewise.
25997         (lll_wait_tid): Likewise.
25998         (lll_timedwait_tid): Likewise.
26000 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26002         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26004 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26006         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26008 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26010         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26011         * stdio-common/tst-sprintf.c: Likewise.
26013 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26015         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26017 2014-12-15  Jeff Law  <law@redhat.com>
26019         [BZ #16617]
26020         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26021         on the heap.  (CVE-2012-3406)
26022         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26023         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26024         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26026 2014-12-15  Will Newton  <will.newton@linaro.org>
26028         * manual/install.texi: Bump required version of texinfo
26029         to 4.7 from 4.5.
26030         * INSTALL: Regenerated.
26031         * configure.ac: Check for makeinfo version 4.7 and above.
26032         * configure: Regenerated.
26034 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26036         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26037         PREFIX, string constant to insert between directory and name.
26038         * sysdeps/posix/shm_open.c: Update caller.
26039         * sysdeps/posix/shm_unlink.c: Likewise.
26040         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26041         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26042         (SEM_SHM_PREFIX): New macro.
26043         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26044         [$(have-thread-library) = no].
26045         * nptl/Makefile (libpthread-routines): Add shm-directory.
26046         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26047         * sysdeps/nptl/shm-directory.h: New file.
26048         * sysdeps/posix/shm-directory.c
26049         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26050         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26051         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26052         INTERNAL_SYSCALL.
26053         (__where_is_shmfs): Function removed.
26054         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26055         Variables removed.
26056         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26057         Use SHM_GET_NAME.
26058         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26060         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26061         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26062         unconditional for use inside libpthread.
26063         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26065 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26067         * nptl/pthread_getaffinity.c: New file.
26068         * nptl/pthread_setaffinity.c: New file.
26069         * nptl/pthread_getname.c: New file.
26070         * nptl/pthread_setname.c: New file.
26072         * nptl/pthread_create.c (START_THREAD_DEFN)
26073         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26075 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26076             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26078         * resolv/res_send.c (send_vc): Disable warning resplen may
26079         be used uninitialized.
26081 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26083         * nptl/tst-mutex6.c
26084         (ATTR_NULL): New define checks ATTR against NULL.
26085         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26086         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26088 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26090         [BZ #17581]
26091         * malloc/hooks.c
26092         (mem2mem_check): Revert my previous change.
26093         (malloc_check_get_size): Revert my previous change.
26094         (mem2chunk_check): Revert my previous change.
26096 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26098         * sysdeps/posix/shm-directory.c: New file.
26099         * sysdeps/posix/shm-directory.h: New file.
26100         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26101         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26102         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26103         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26104         Transmute EPERM to EACCES.
26105         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26106         from ...
26107         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26108         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26110 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26112         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26113         pointer and cast to uintptr_t.
26114         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26115         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26116         Add cast to avoid warning.
26117         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26119 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26121         * nptl/semaphore.h: Move to ...
26122         * sysdeps/pthread/semaphore.h: ... here.
26123         * Makefile (installed-headers): Change nptl/semaphore.h to
26124         sysdeps/pthread/semaphore.h.
26126 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26128         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26129         generated error format strings.
26131         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26132         -Wformat-extra-args warnings for scanf formats.
26133         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26134         test of zero-length format (duh).
26135         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26136         corner-case scanf format test.
26137         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26138         generated fprintf format string.
26139         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26140         corner-case sprintf format tests.
26141         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26142         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26143         -Wformat-extra-args warnings throughout.
26144         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26145         (CFLAGS-scanf4.c): Likewise.
26146         (CFLAGS-scanf7.c): Likewise.
26147         (CFLAGS-tst-sprintf.c): Likewise.
26148         (CFLAGS-tst-printf.c): Likewise.
26149         (CFLAGS-tst-printfsz.c): Likewise.
26151 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26153         * include/cpio.h: New file.
26154         * include/fmtmsg.h: Likewise.
26156         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26157         corresponding format argument to size_t.
26158         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26159         arguments.
26160         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26161         corresponding format argument to size_t.
26162         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26163         arguments.
26164         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26165         corresponding format argument to size_t.
26166         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26167         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26168         (CFLAGS-tst-mbswcs2.c): Likewise.
26169         (CFLAGS-tst-mbswcs3.c): Likewise.
26170         (CFLAGS-tst-mbswcs4.c): Likewise.
26171         (CFLAGS-tst-mbswcs5.c): Likewise.
26172         (CFLAGS-tst-trans.c): Likewise.
26174 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26176         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26177         rather than assuming they won't contain any '%'s.
26179 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26181         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26182         inhibit_loop_to_libcall to avoid recursive calls.
26183         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26184         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26186 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26188         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26189         prototype.
26191 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26193         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26194         integer value instead of boolean.
26196 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26198         * malloc/malloc.c: Fix powerof2 check.
26200 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26202         * locale/programs/locfile.h (maybe_swap_uint32):
26203         Remove inline and add unused attribute.
26205 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26208         Truncating assembler expression to a .long expression.
26210 2014-12-11  Andreas Schwab  <schwab@suse.de>
26212         * elf/rtld.c (struct map_args): Constify str member.
26213         (do_preload): Constify fname argument.
26215 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26217         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26218         constants definition.
26220 2014-12-11  Andreas Schwab  <schwab@suse.de>
26222         [BZ #16657]
26223         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26224         FORCE_ELISION instead of DO_ELISION.
26225         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26226         Remove.
26227         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26228         Likewise.
26230         * iconvdata/gconv-modules: Remove duplicate entry.
26232 2014-12-11  Will Newton  <will.newton@linaro.org>
26234         Merge gettext 0.19.3 into intl/.
26236         This involves a number of cosmetic changes to comments
26237         and ANSI function definitions and prototypes throughout
26238         all the files. The gettext copyright header is used but
26239         with the date ranges taken from the glibc copy.
26241         * NEWS: Add gettext merge to 2.21.
26242         * intl/bindtextdom.c: Switch to gettext copyright.
26243         Use ANSI definitions and prototypes.
26244         Use gl_* locking primitives rather than __libc_* ones.
26245         Use __builtin_expect rather than __glibc_likely/unlikely.
26246         * intl/dcgettext.c: Switch to gettext copyright.
26247         Use ANSI definitions and prototypes.
26248         * intl/dcigettext.c: Switch to gettext copyright.
26249         Use ANSI definitions and prototypes.
26250         (INTDIV0_RAISES_SIGFPE): New define.
26251         Use gl_* locking primitives rather than __libc_* ones.
26252         Include eval-plural.h instead of plural-eval.c.
26253         Use __builtin_expect rather than __glibc_likely/unlikely.
26254         * intl/dcngettext.c: Switch to gettext copyright.
26255         Use ANSI definitions and prototypes.
26256         * intl/dgettext.c: Likewise.
26257         * intl/dngettext.c: Likewise.
26258         * intl/plural-eval.c: Renamed to...
26259         * intl/eval-plural.h: ...this.
26260         * intl/explodename.c: Switch to gettext copyright.
26261         Use ANSI definitions and prototypes.
26262         (_nl_explode_name): Use strchr instead of __rawmemchr.
26263         * intl/finddomain.c: Switch to gettext copyright.
26264         Use ANSI definitions and prototypes.
26265         Use gl_* locking primitives rather than __libc_* ones.
26266         (_nl_find_domain): Use malloc rather than alloca for
26267         allocation of temporary locale name.
26268         * intl/gettext.c: Switch to gettext copyright.
26269         Use ANSI definitions and prototypes.
26270         * intl/gettextP.h: Switch to gettext copyright.
26271         Use ANSI definitions and prototypes.
26272         Use gl_* locking primitives rather than __libc_* ones.
26273         * intl/gmo.h: Switch to gettext copyright.
26274         (struct sysdep_string): Move struct segment_pair outside of
26275         struct definition.
26276         * intl/hash-string.c: Use ANSI definitions and prototypes.
26277         * intl/hash-string.h: Switch to gettext copyright.
26278         Use ANSI definitions and prototypes.
26279         * intl/l10nflist.c: Switch to gettext copyright.
26280         Use ANSI definitions and prototypes.
26281         (_nl_normalize_codeset): Avoid integer overflow.
26282         * intl/loadinfo.h: Switch to gettext copyright.
26283         Use ANSI definitions and prototypes.
26284         (LIBINTL_DLL_EXPORTED): New define.
26285         (PATH_SEPARATOR): New define.
26286         * intl/loadmsgcat.c: Switch to gettext copyright.
26287         * intl/localealias.c: Switch to gettext copyright.
26288         Use ANSI definitions and prototypes.
26289         (_nl_expand_alias): Use PATH_SEPARATOR.
26290         * intl/ngettext.c: Switch to gettext copyright.
26291         Use ANSI definitions and prototypes.
26292         * intl/plural-exp.c: Likewise.
26293         * intl/plural-exp.h: Switch to gettext copyright.
26294         Use ANSI definitions and prototypes.
26295         (struct expression): Move definition of enum operator outside
26296         of struct definition.
26297         * intl/plural.c: Regenerate.
26298         * intl/plural.y: Switch to gettext copyright.
26299         Use ANSI definitions and prototypes.
26300         Port to bison 3.0.
26301         * intl/textdomain.c: Switch to gettext copyright.
26302         Use ANSI definitions and prototypes.
26303         Use gl_* locking primitives rather than __libc_* ones.
26305 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26307         * debug/warning-nop.c: Add used atrribute.
26309 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26311         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26313         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26314         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26315         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26317 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26318             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26320         [BZ #17634]
26321         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26322         Undefine after defining function.  Define as weak alias of
26323         __wcschr.  Use libc_hidden_weak.
26324         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26325         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26326         (libc_hidden_def): Also define __GI___wcschr alias.
26327         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26328         __wcschr and define as weak alias of __wcschr.
26329         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26330         __wcschr.
26331         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26332         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26333         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26334         libc_hidden_weak.  Do not use libc_hidden_def.
26335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26336         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26337         __GI___wcschr alias.
26338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26339         [IS_IN (libc)] (wcschr): Define as macro expanding to
26340         __redirect_wcschr.
26341         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26342         [IS_IN (libc)] (__wcschr_power6): Likewise.
26343         [IS_IN (libc)] (__wcschr_power7): Likewise.
26344         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26345         instead of wcschr.
26346         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26347         __libc_wcschr.
26348         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26349         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26350         __wcschr and define as weak alias of __wcschr.  Use
26351         libc_hidden_builtin_def.
26352         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26353         as weak alias of __wcschr.  Use libc_hidden_weak.
26354         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26355         wcschr.
26356         * time/era.c (_nl_init_era_entries): Likewise.
26357         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26358         variable.
26359         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26360         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26362 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26364         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26365         format for long int variable.
26367 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26369         [BZ #10672]
26370         * manual/search.texi: (Array Sort Function): Remove claim how to make
26371         qsort stable.
26373 2014-12-10  Andreas Schwab  <schwab@suse.de>
26375         [BZ #12847]
26376         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26377         user-controlled locks.
26379 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26381         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26382         register.
26384 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26386         * configure.ac (--disable-werror): New configure option.
26387         (enable_werror): New AC_SUBST.
26388         * configure: Regenerated.
26389         * config.make.in (enable-werror): New variable.
26390         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26391         -Wno-error=undef.
26392         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26393         * manual/install.texi (Configuring and compiling): Document
26394         --disable-werror.
26395         * INSTALL: Regenerated.
26396         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26397         (CFLAGS-tst-chk2.c): Likewise.
26398         (CFLAGS-tst-chk3.c): Likewise.
26399         (CFLAGS-tst-chk4.cc): Likewise.
26400         (CFLAGS-tst-chk5.cc): Likewise.
26401         (CFLAGS-tst-chk6.cc): Likewise.
26402         (CFLAGS-tst-lfschk1.c): Likewise.
26403         (CFLAGS-tst-lfschk2.c): Likewise.
26404         (CFLAGS-tst-lfschk3.c): Likewise.
26405         (CFLAGS-tst-lfschk4.cc): Likewise.
26406         (CFLAGS-tst-lfschk5.cc): Likewise.
26407         (CFLAGS-tst-lfschk6.cc): Likewise.
26409         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26410         (main): Disable -Wdeprecated-declarations around calls to
26411         register_printf_function.
26413         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26414         (do_test): Disable -Wdiv-by-zero around some calls to
26415         fwrite_unlocked and fread_unlocked.
26417         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26418         (DIAG_POP_NEEDS_COMMENT): Likewise.
26419         (_DIAG_STR1): Likewise.
26420         (_DIAG_STR): Likewise.
26421         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26422         * stdio-common/bug21.c: Include <libc-internal.h>.
26423         (do_test): Disable -Wformat around call to sscanf.
26424         * stdio-common/scanf14.c: Include <libc-internal.h>.
26425         (main): Disable -Wformat around some calls to scanf functions.
26427 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26429         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26431 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26433         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26434         stack variable alignment.
26436 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26438         [BZ #17682]
26439         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26440         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26441         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26442         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26443         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26444         __getrlimit instead of getrlimit.
26445         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26446         __gettimeofday instead of gettimeofday.
26447         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26448         Likewise.
26449         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26450         Likewise.
26451         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26452         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26453         Remove variable.
26454         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26455         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26457 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26459         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26460         for wide-character tests.
26462 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26464         * io/openat64.c: #include <libc-internal.h>
26465         (__openat64): Prototypify.  Use ignore_value on MODE.
26466         * io/openat.c: Likewise.
26467         * misc/reboot.c: #include <libc-internal.h>
26468         (reboot): Prototypify.  Use ignore_value on HOWTO.
26469         * misc/ptrace.c: #include <libc-internal.h>
26470         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26472 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26474         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26475         XPG4, UNIX98 and XOPEN2K.
26476         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26477         Remove variable.
26478         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26480 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26482         * libio/fileops.c: Use ISO C style for function definitions.
26483         * libio/iofopen.c: Likewise.
26484         * libio/wfileops.c: Likewise.
26486         [BZ #17653]
26487         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26488         offset on EOF.
26489         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26490         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26491         (fgets_func): Function pointer to fgets and fgetws.
26492         (do_ftell_test): Add test to verify ftell value after read
26493         EOF.
26494         (do_test): Set fgets_func.
26496         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26497         O_TRUNC flag for w and w+ modes.
26498         (do_rewind_test): Likewise.
26499         (do_ftell_test): Likewise.
26500         (do_write_test): Likewise.
26502         [BZ #17647]
26503         * libio/fileops.c (do_ftell): Seek only when there are
26504         unflushed writes.
26505         * libio/wfileops.c (do_ftell_wide): Likewise.
26506         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26507         test case.
26508         (do_one_test): Call it.
26510 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26512         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26513         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26514         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26515         Remove variable.
26516         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26517         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26518         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26520 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26522         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26523         Remove variable.
26524         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26526         [BZ #17668]
26527         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26528         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26529         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26530         __freeifaddrs.  Use libc_hidden_weak.
26531         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26532         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26533         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26534         __freeifaddrs.  Use libc_hidden_weak.
26535         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26536         __getifaddrs and define as weak alias of __getifaddrs.  Use
26537         libc_hidden_weak.
26538         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26539         __freeifaddrs.  Use libc_hidden_weak.
26540         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26541         Remove variable.
26542         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26543         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26545 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26547         [BZ #17601]
26548         * sysdeps/mips/start.S (__start): Use indirect jump to call
26549         __libc_start_main.
26551 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26553         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26555         * nptl/tst-mutex1.c: Include <stdbool.h>.
26556         [!ATTR] (ATTR_NULL): New macro.
26557         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26558         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26559         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26561         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26562         to char *.
26564         [BZ #17665]
26565         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26566         Change conditional to [__USE_MISC].
26568         [BZ #17664]
26569         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26570         fgets_unlocked.
26571         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26572         __fgets_unlocked.
26573         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26574         fgets_unlocked.
26575         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26576         Remove variable.
26577         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26578         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26579         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26580         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26581         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26582         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26583         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26584         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26585         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26587         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26589 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26591         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26592         Remove strpbrk objects.
26593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26594         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26595         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26596         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26597         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26598         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26600         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26601         Remove strcspn objects.
26602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26603         (__libc_ifunc_impl_list): Remove strcspn implementation.
26604         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26605         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26606         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26607         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26609         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26610         Remove strspn objetcs.
26611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26612         (__libc_ifunc_impl_list): Remove strspn implementation.
26613         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26614         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26615         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26616         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26618 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26620         [BZ #17581]
26621         * malloc/hooks.c
26622         (mem2mem_check): Add a terminator to the chain of checking blocks.
26623         (malloc_check_get_size): Use it here.
26624         (mem2chunk_check): Ditto.
26626 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26628         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26629         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26631 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26633         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26635         * nptl/nptl-init.c: Include libc-internal.h.
26636         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26638         * elf/ldconfig.c (search_dir): Expand comment.
26640 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26642         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26643         variable.
26644         (linknamespace-symlist-stdlibs-tests): Likewise.
26645         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26646         instead of $(objpfx)symlist-stdlibs.
26647         (linknamespace-libs-isoc): New variable.
26648         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26649         (linknamespace-libs-ISO): New variable.
26650         (linknamespace-libs-ISO99): Likewise.
26651         (linknamespace-libs-ISO11): Likewise.
26652         (linknamespace-libs-XPG3): Likewise.
26653         (linknamespace-libs-XPG4): Likewise.
26654         (linknamespace-libs-POSIX): Likewise.
26655         (linknamespace-libs-UNIX98): Likewise.
26656         (linknamespace-libs-XOPEN2K): Likewise.
26657         (linknamespace-libs-POSIX2008): Likewise.
26658         (linknamespace-libs-XOPEN2K8): Likewise.
26659         ($(objpfx)symlist-stdlibs): Replace by
26660         $(linknamespace-symlist-stdlibs-tests).  Use
26661         $(linknamespace-libs-$*) as set of libraries.
26662         ($(linknamespace-header-tests)): Update dependencies.  Use
26663         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26664         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26665         * conform/linknamespace.pl: Remove comment about considering
26666         definitions of symbols from irrelevant libraries.
26668 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26670         [BZ #13862]
26671         * elf/dl-tls.c: Include <atomic.h>.
26672         (oom): Remove #ifdef SHARED/#endif.
26673         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26674         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26675         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26676         big enough.
26677         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26678         * nptl/Makefile (tests): Add tst-stack4.
26679         (modules-names): Add tst-stack4mod.
26680         ($(objpfx)tst-stack4): New.
26681         (tst-stack4mod.sos): Likewise.
26682         ($(objpfx)tst-stack4.out): Likewise.
26683         ($(tst-stack4mod.sos)): Likewise.
26684         (clean): Likewise.
26685         * nptl/tst-stack4.c: New file.
26686         * nptl/tst-stack4mod.c: Likewise.
26688 2014-11-27  J. Brown  <jb999@gmx.de>
26690         * sysdeps/x86/bits/string.h: Add recent CPUs.
26692 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26694         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26695         sigblock.
26697         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26698         feof.
26700         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26701         variable.
26703 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26705         * nscd/connections.c: Include libc-internal.h because of macro
26706         usage ignore_value.
26708 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26710         * string/bits/string3.h (__warn_memset_zero_len): Don't
26711         declare for gcc newer than 5.0.
26712         (memset): Don't test for zero-length __LEN for gcc newer than
26713         5.0.
26715 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26717         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26718         size_t for %zu format.
26720         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26721         difference, not %ju.
26723 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26725         * include/libc-internal.h (ignore_value): New macro.
26726         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26727         with ignore_value.
26729         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26730         definition.
26732         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26733         pthread_cleanup_push to void *.
26735         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26736         Undefine.
26738         [BZ #16619]
26739         [BZ #16740]
26740         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26741         instead of 1L << 52.
26743         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26744         * libio/bug-rewind2.c (do_test): Likewise.
26746         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26747         * debug/test-strcpy_chk-ifunc.c: Likewise.
26748         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26749         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26750         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26751         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26752         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26753         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26754         * Rules [$(multi-arch) = no] (tests): Do not filter out
26755         $(tests-ifunc).
26756         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26757         * debug/Makefile (tests-ifunc): Remove variable.
26758         (tests): Do not add $(tests-ifunc).
26759         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26760         (tests): Do not add $(tests-ifunc).
26761         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26762         [TEST_IFUNC]: Remove conditionals.
26763         * string/test-string.h (TEST_IFUNC): Remove macro.
26764         [TEST_IFUNC]: Remove conditionals.
26766         * string/test-strchr.c [!WIDE] (L): New macro.
26767         [WIDE] (L): Likewise.
26768         (check1): Use CHAR instead of char.  Use L on string and character
26769         constants.
26771 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26773         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26774         tests.
26775         * sysdeps/powerpc/bits/atomic.h
26776         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26777         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26778         (atomic_exchange_and_add_acq): Likewise.
26779         (atomic_exchange_and_add_rel): Likewise.
26780         * sysdeps/powerpc/powerpc32/bits/atomic.h
26781         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26782         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26783         * sysdeps/powerpc/powerpc64/bits/atomic.h
26784         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26785         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26787 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26789         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26790         Change synchronization of __sched_fifo_min_prio and
26791         __sched_fifo_max_prio.
26792         * nptl/pthread_mutexattr_getprioceiling.c
26793         (pthread_mutexattr_getprioceiling): Likewise.
26794         * nptl/pthread_mutexattr_setprioceiling.c
26795         (pthread_mutexattr_setprioceiling): Likewise.
26796         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26797         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26798         Likewise.
26800 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26802         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26803         void.
26805 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26807         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26808         third argument const.
26810 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26812         fnmatch: work around GCC compiler warning bug with uninit var
26813         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26814         This works around a bug with x86-64 GCC 4.9.2 and earlier
26815         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26816         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26817         used uninitialized in this function [-Wmaybe-uninitialized]".
26819 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26821         * posix/bug-regex31.c (main): Return RES not 0.
26823 2014-11-25  Anton Blanchard <anton@samba.org>
26825         * sysdeps/powerpc/bits/atomic.h
26826         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26828 2014-11-24  Sterling Augustine  <saugustine@google.com>
26830         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26832 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26834         [BZ #17608]
26835         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26837 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26839         [BZ #17633]
26840         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26841         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26842         variable.
26843         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26844         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26846 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26848         * string/strncpy.c (strncpy): Improve performance by using memset.
26850 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26852         * string/strcpy.c (strcpy):
26853         Improve performance by using strlen and memcpy.
26855 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26857         * string/strcoll_l.c (get_next_seq): __always_inline.
26858         * string/strcoll_l.c (do_compare): __always_inline.
26860 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26862         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26863         defined.
26864         * include/mqueue.h: Likewise.
26865         * include/stdlib.h: Likewise.
26867         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26868         (get_null_defines): Adjust.
26869         * sunrpc/Makefile: Adjust comment.
26870         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26871         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26872         (CFLAGS-interp.c): Likewise.
26873         (CFLAGS-ldconfig.c): Likewise.
26874         (CPPFLAGS-.os): Likewise.
26875         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26876         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26877         * extra-modules.mk (extra-modules.mk): Likewise.
26878         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26879         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26880         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26881         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26882         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26883         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26884         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26885         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26886         * iconvdata/Makefile (CPPFLAGS): Likewise.
26887         (cpp-srcs-left): Add libof for all iconvdata routines.
26888         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26889         * include/assert.h: Likewise.
26890         * include/ctype.h: Likewise.
26891         * include/errno.h: Likewise.
26892         * include/libc-symbols.h: Likewise.
26893         * include/math.h: Likewise.
26894         * include/netdb.h: Likewise.
26895         * include/resolv.h: Likewise.
26896         * include/stdio.h: Likewise.
26897         * include/stdlib.h: Likewise.
26898         * include/string.h: Likewise.
26899         * include/sys/stat.h: Likewise.
26900         * include/wctype.h: Likewise.
26901         * intl/l10nflist.c: Likewise.
26902         * libidn/idn-stub.c: Likewise.
26903         * libio/libioP.h: Likewise.
26904         * nptl/libc_multiple_threads.c: Likewise.
26905         * nptl/pthreadP.h: Likewise.
26906         * posix/regex_internal.h: Likewise.
26907         * resolv/res_hconf.c: Likewise.
26908         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26909         * sysdeps/arm/memmove.S: Likewise.
26910         * sysdeps/arm/sysdep.h: Likewise.
26911         * sysdeps/generic/_itoa.h: Likewise.
26912         * sysdeps/generic/symbol-hacks.h: Likewise.
26913         * sysdeps/gnu/errlist.awk: Likewise.
26914         * sysdeps/gnu/errlist.c: Likewise.
26915         * sysdeps/i386/i586/memcpy.S: Likewise.
26916         * sysdeps/i386/i586/memset.S: Likewise.
26917         * sysdeps/i386/i686/memcpy.S: Likewise.
26918         * sysdeps/i386/i686/memmove.S: Likewise.
26919         * sysdeps/i386/i686/mempcpy.S: Likewise.
26920         * sysdeps/i386/i686/memset.S: Likewise.
26921         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26922         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26923         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26924         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26925         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26926         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26927         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26928         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26929         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26930         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26931         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26932         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26933         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26934         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26935         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26936         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26937         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26938         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26939         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26940         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26941         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26942         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26943         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26944         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26945         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26946         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26947         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26948         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26950         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26951         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26952         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26954         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26955         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26956         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26957         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26958         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26959         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26960         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26961         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26962         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26963         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26964         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26965         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26966         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26967         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26968         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26969         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26970         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26971         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26972         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26973         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26974         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26975         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26976         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26977         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26978         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26979         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26980         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26981         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26982         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26983         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26984         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26985         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26986         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26987         * sysdeps/posix/closedir.c: Likewise.
26988         * sysdeps/posix/opendir.c: Likewise.
26989         * sysdeps/posix/readdir.c: Likewise.
26990         * sysdeps/posix/rewinddir.c: Likewise.
26991         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26992         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26993         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26994         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26995         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26997         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27002         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27003         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27004         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27005         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27006         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27007         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27008         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27009         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27011         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27012         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27013         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27014         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27016         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27018         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27019         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27027         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27028         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27029         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27030         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27031         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27032         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27033         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27034         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27035         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27037         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27038         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27039         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27040         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27041         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27042         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27045         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27048         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27049         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27050         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27051         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27052         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27053         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27054         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27055         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27056         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27057         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27058         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27059         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27060         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27061         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27062         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27063         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27064         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27065         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27066         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27067         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27068         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27069         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27070         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27071         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27072         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27073         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27074         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27075         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27076         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27077         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27078         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27079         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27080         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27081         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27082         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27083         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27084         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27085         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27086         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27087         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27089         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27090         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27091         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27092         * sysdeps/unix/alpha/sysdep.S: Likewise.
27093         * sysdeps/unix/alpha/sysdep.h: Likewise.
27094         * sysdeps/unix/make-syscalls.sh: Likewise.
27095         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27096         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27097         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27098         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27099         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27100         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27101         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27102         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27103         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27104         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27106         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27108         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27109         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27110         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27111         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27112         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27113         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27114         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27115         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27116         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27117         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27118         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27119         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27120         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27124         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27125         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27129         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27133         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27134         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27135         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27136         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27137         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27138         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27139         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27142         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27145         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27146         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27147         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27148         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27149         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27151         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27153         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27154         * sysdeps/x86_64/memcpy.S: Likewise.
27155         * sysdeps/x86_64/memmove.c: Likewise.
27156         * sysdeps/x86_64/memset.S: Likewise.
27157         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27159         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27160         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27161         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27164         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27165         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27166         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27167         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27168         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27169         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27170         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27171         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27172         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27173         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27174         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27175         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27176         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27177         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27178         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27181         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27182         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27183         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27184         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27185         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27186         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27187         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27188         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27189         * sysdeps/x86_64/strcmp.S: Likewise.
27191         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27193         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27194         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27195         * elf/rtld-Rules: Likewise.
27196         * elf/setup-vdso.h: Likewise.
27197         * include/assert.h: Likewise.
27198         * include/bits/stdlib-float.h: Likewise.
27199         * include/errno.h: Likewise.
27200         * include/sys/stat.h: Likewise.
27201         * include/unistd.h: Likewise.
27202         * sysdeps/aarch64/setjmp.S: Likewise.
27203         * sysdeps/alpha/setjmp.S: Likewise.
27204         * sysdeps/arm/__longjmp.S: Likewise.
27205         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27206         * sysdeps/arm/setjmp.S: Likewise.
27207         * sysdeps/arm/sysdep.h: Likewise.
27208         * sysdeps/generic/_itoa.h: Likewise.
27209         * sysdeps/generic/dl-sysdep.h: Likewise.
27210         * sysdeps/generic/ldsodefs.h: Likewise.
27211         * sysdeps/i386/dl-tls.h: Likewise.
27212         * sysdeps/i386/setjmp.S: Likewise.
27213         * sysdeps/m68k/setjmp.c: Likewise.
27214         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27215         * sysdeps/mach/hurd/opendir.c: Likewise.
27216         * sysdeps/posix/getcwd.c: Likewise.
27217         * sysdeps/posix/opendir.c: Likewise.
27218         * sysdeps/posix/profil.c: Likewise.
27219         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27222         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27223         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27224         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27225         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27226         * sysdeps/s390/dl-tls.h: Likewise.
27227         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27228         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27229         * sysdeps/sh/sh3/setjmp.S: Likewise.
27230         * sysdeps/sh/sh4/setjmp.S: Likewise.
27231         * sysdeps/unix/alpha/sysdep.h: Likewise.
27232         * sysdeps/unix/arm/sysdep.S: Likewise.
27233         * sysdeps/unix/i386/sysdep.S: Likewise.
27234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27235         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27236         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27237         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27239         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27240         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27241         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27242         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27243         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27244         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27245         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27246         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27249         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27252         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27253         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27254         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27257         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27258         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27261         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27262         * sysdeps/x86_64/setjmp.S: Likewise.
27264         * include/math.h: Use IS_IN instead of IS_IN_libm.
27265         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27267         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27268         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27269         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27270         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27271         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27272         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27273         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27274         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27275         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27276         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27277         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27278         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27279         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27280         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27281         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27282         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27283         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27284         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27285         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27286         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27287         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27288         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27289         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27290         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27291         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27292         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27293         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27294         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27295         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27296         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27297         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27299         Likewise.
27300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27301         Likewise.
27302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27303         Likewise.
27304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27305         Likewise.
27306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27307         Likewise.
27308         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27309         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27310         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27311         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27312         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27313         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27319         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27320         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27321         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27322         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27323         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27324         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27325         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27326         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27327         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27328         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27329         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27331         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27332         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27334         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27336         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27337         * nptl/pthreadP.h: Likewise.
27338         * nptl_db/structs.def: Likewise.
27339         * sysdeps/arm/sysdep.h: Likewise.
27340         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27341         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27342         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27343         * sysdeps/unix/alpha/sysdep.h: Likewise.
27344         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27346         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27347         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27348         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27349         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27351         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27352         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27353         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27354         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27355         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27356         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27357         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27362         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27365         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27366         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27367         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27368         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27369         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27371         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27372         * nptl/pthreadP.h: Likewise.
27373         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27374         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27375         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27376         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27377         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27378         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27379         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27381         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27382         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27383         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27384         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27386         Likewise.
27387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27388         Likewise.
27389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27391         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27394         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27395         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27396         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27398         * dlfcn/dladdr.c: Use IS_IN.
27399         * dlfcn/dladdr1.c: Likewise.
27400         * dlfcn/dlclose.c: Likewise.
27401         * dlfcn/dlerror.c: Likewise.
27402         * dlfcn/dlinfo.c: Likewise.
27403         * dlfcn/dlmopen.c: Likewise.
27404         * dlfcn/dlopen.c: Likewise.
27405         * dlfcn/dlsym.c: Likewise.
27406         * dlfcn/dlvsym.c: Likewise.
27408         * include/ifaddrs.h: Use IS_IN.
27409         * inet/check_pf.c: Likewise.
27410         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27411         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27413         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27414         IS_IN_ldconfig.
27415         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27416         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27418         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27419         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27420         IS_IN (libc).
27422         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27424         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27425         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27426         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27427         * include/libc-symbols.h (IS_IN_LIB): New macro.
27428         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27429         * include/netdb.h: Likewise.
27430         * include/stap-probe.h: Remove all uses of IN_LIB.
27432         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27433         instead of IN_MODULE.
27434         * include/libc-symbols.h (IN_MODULE): Define using
27435         MODULE_NAME.
27436         (PASTE_NAME, PASTE_NAME1): New macros.
27437         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27438         of IN_LIB.
27439         (STAP_PROBE_ASM): Likewise.
27441 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27443         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27444         __mach_init in dlopened libc.
27446 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27448         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27449         * sysdeps/arm/preconfigure: Regenerate.
27451 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27453         * nptl/pthread_create.c (__pthread_create_2_1): Set
27454         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27455         when copying values from IATTR into PD.
27457 2014-11-21  Will Newton  <will.newton@linaro.org>
27458             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27460         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27461         Refactor inline-asm.  Also add comment.
27463         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27464         ElfW macro instead of hardcoded Elf64 types.
27465         (la_aarch64_gnu_pltenter): Likewise.
27466         * sysdeps/aarch64/dl-machine.h
27467         (elf_machine_runtime_setup): Use ElfW(Addr).
27469         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27470         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27471         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27472         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27473         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27474         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27475         (R_AARCH64_TLS_DTPMOD): This.
27476         (R_AARCH64_TLS_DTPREL64): Rename to ...
27477         (R_AARCH64_TLS_DTPREL): This.
27478         (R_AARCH64_TLS_TPREL64): Rename to ...
27479         (R_AARCH64_TLS_TPREL): This.
27480         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27481         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27482         R_AARCH64_TLS_TPREL64.
27483         (elf_machine_rela): Likewise.
27485 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27487         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27488         by setting it to 0.  64b atomics are not supported currently.
27490 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27492         [BZ #16469]
27493         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27494         search domain names.
27496 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27498         [BZ #16469]
27499         * NEWS: Update.
27500         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27501         trailing dot.
27502         * posix/tst-getaddrinfo5.c: New.
27503         * posix/Makefile (tests): Add it.
27505 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27507         [BZ #14498]
27508         * NEWS: Fixed.
27509         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27510         after parsing line but before break_if_match.
27511         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27512         if there is a protocol mismatch.
27514 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27516         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27517         because the potential race is on the user-supplied stream.
27519 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27521         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27522         string literal if not passed a buffer.
27523         * manual/job.texi (ctermid): Update reasoning, note deviation
27524         from posix, suggest mtasurace when not passed a buffer, for
27525         future non-preliminary safety notes.
27527 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27529         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27530         of not passing it a buffer.
27531         Reported by Peng Haitao.
27533 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27535         * manual/Makefile ($(objpfx)stamp-summary): Require
27536         check-safety.sh to pass.
27537         * manual/check-safety.sh: Wish for verification that every
27538         @deftypefn and @deftypefun is followed by a @safety remark.
27540 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27542         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27544         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27545         PTHREAD_CANCEL_ASYNCHRONOUS.
27546         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27547         send SIGCANCEL.
27549         * nptl/default-sched.h: New file.
27550         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27551         * nptl/pthread_create.c: Include it.
27552         (__pthread_create_2_1): Use collect_default_sched instead of making
27553         Linux syscalls here directly.
27555 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27557         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27558         __pthread_once): Use C11 atomics.
27560 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27562         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27564 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27566         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27567         atomic_thread_fence_acquire, atomic_thread_fence_release,
27568         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27569         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27570         atomic_compare_exchange_weak_relaxed,
27571         atomic_compare_exchange_weak_acquire,
27572         atomic_compare_exchange_weak_release,
27573         atomic_exchange_acquire, atomic_exchange_release,
27574         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27575         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27576         atomic_fetch_and_acquire,
27577         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27579 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27581         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27582         USE_ATOMIC_COMPILER_BUILTINS): Define.
27583         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27585         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27587         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27589         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27591         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27593         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27595         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27597         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27599         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27601         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27603         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27605         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27607         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27609         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27611         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27613         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27615         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27617         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27618         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27619         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27621         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27624 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27626         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27627         the sched_priority value here.  It was already checked when the user
27628         called pthread_attr_setschedparam.
27630         * nptl/tst-bad-schedattr.c: New file.
27631         * nptl/Makefile (tests): Add it.
27633 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27634             Florian Weimer  <fweimer@redhat.com>
27635             Joseph Myers  <joseph@codesourcery.com>
27636             Adam Conrad  <adconrad@0c3.net>
27637             Andreas Schwab  <schwab@suse.de>
27638             Brooks  <bmoses@google.com>
27640         [BZ #17625]
27641         * wordexp-test.c (__dso_handle): Add prototype.
27642         (__register_atfork): Likewise.
27643         (__app_register_atfork): New function.
27644         (registered_forks): New global.
27645         (register_fork): New function.
27646         (test_case): Add 3 new tests for WRDE_CMDSUB.
27647         (main): Call __app_register_atfork.
27648         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27649         fork count is non-zero fail the test.
27650         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27651         is set.
27652         (parse_dollars): Remove check for WRDE_NOCMD.
27653         (parse_dquote): Likewise.
27655 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27657         * Makeconfig (built-modules): List non-library modules to be
27658         built.
27659         (module-cppflags): Include libc-modules.h for
27660         everything except shlib-versions.v.i.
27661         (CPPFLAGS): Use it.
27662         (before-compile): Add libc-modules.h.
27663         ($(common-objpfx)libc-modules.h,
27664         $(common-objpfx)libc-modules.stmp): New targets.
27665         (common-generated): Add libc-modules.h and libc-modules.stmp.
27666         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27667         * include/libc-symbols.h: Don't include libc-modules.h.
27668         * include/libc-modules.h: Remove file.
27669         * scripts/gen-libc-modules.awk: New script to generate
27670         libc-modules.h.
27671         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27672         Depend on libc-modules.stmp.
27674         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27676         * Makeconfig (in-module): Get value of libof set for the
27677         translation unit.
27678         (CPPFLAGS): Use $(in-module).
27679         * Makerules: Don't suffix routine names for nonlib.
27680         * include/libc-modules.h: New file.
27681         * include/libc-symbols.h: Include libc-modules.h
27682         (IS_IN): New macro to replace IS_IN_* macros.
27683         * elf/Makefile: Set libof-* for each routine.
27684         * elf/rtld-Rules: Likewise.
27685         * extra-modules.mk: Likewise.
27686         * iconv/Makefile: Likewise.
27687         * iconvdata/Makefile: Likewise.
27688         * locale/Makefile: Likewise.
27689         * malloc/Makefile: Likewise.
27690         * nss/Makefile: Likewise.
27691         * sysdeps/gnu/Makefile: Likewise.
27692         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27693         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27694         * sysdeps/s390/s390-64/Makefile: Likewise.
27695         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27696         CPPFLAGS for nscd instead of nonlib.
27698 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27700         * nptl/createthread.c: New file.
27702         * nptl/createthread.c: Moved ...
27703         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27705         * nptl/createthread.c: Add proper top-line comment.
27706         (do_clone): Folded into ...
27707         (create_thread): ... here.  Take new arguments STOPPED_START and
27708         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27709         increment __nptl_threads, do event-reporting logic, do
27710         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27711         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27712         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27713         just send SIGCANCEL.
27714         * nptl/pthread_create.c: Forward-declare create_thread before
27715         including createthread.c.
27716         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27717         declaration, and new macro START_THREAD_SELF to replace argument.
27718         Remove return statement.
27719         (report_thread_creation): New function.
27720         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27721         synchronization logic, and __nptl_nthreads increment here, around
27722         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27723         PD->parent_cancelhandling here, before create_thread.  When
27724         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27725         __deallocate_stack, and ENOMEM translation here.
27727 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27729         [BZ #17616]
27730         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27731         (mptwo): Rename to __mptwo.
27732         (__inv): Use __mptwo instead of mptwo.
27733         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27734         (mptwo): Rename to __mptwo.
27735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27736         of mpone and __mptwo instead of mptwo.
27737         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27738         instead of mpone.
27739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27740         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27741         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27742         of mpone and __mptwo instead of mptwo.
27743         (__mpranred): Use __mpone instead of mpone.
27744         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27745         variable.
27746         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27747         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27748         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27749         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27750         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27751         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27752         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27753         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27754         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27755         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27756         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27757         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27758         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27759         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27760         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27761         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27762         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27763         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27764         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27766 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27768         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27769         replace BSD Handler xref with BSD Signal Handling.
27771 2014-11-17  Richard Henderson  <rth@redhat.com>
27773         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27774         (_FP_PACK_RAW_2): Remove.
27775         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27776         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27777         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27778         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27779         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27780         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27781         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27782         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27783         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27784         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27785         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27786         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27787         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27788         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27789         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27790         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27792 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27794         * signal/signal.h [__USE_MISC]
27795         (struct sigvec): Remove type.
27796         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27797         (sigvec): Remove declaration.
27798         * sysdeps/posix/sigvec.c: Moved ...
27799         * signal/sigvec.c: ... here, replacing old file.
27800         (struct sigvec): New type, copied from old signal.h definition.
27801         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27802         (__sigvec): Convert definition to prototype.
27803         (sigvec): Replace weak_alias with compat_symbol.
27804         * signal/Versions (libc: GLIBC_2.21): New version set.
27805         * include/signal.h: Remove __sigvec declaration.
27806         * sysdeps/unix/bsd/sigvec.c: Remove file.
27807         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27808         * manual/signal.texi (BSD Handler): Remove subsection.
27809         Move siginterrupt up to ...
27810         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27811         (Blocking in BSD): Fold subsection into its parent.
27812         * NEWS: Mention sigvec removal.
27814 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27816         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27817         (DLA_FMS): Make definition conditional only on [__FMA4__].
27818         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27819         definition.
27821         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27822         Make definition conditional only on [PROF].
27823         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27824         definition.
27825         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27826         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27828         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27829         !__GNUC__].
27830         * include/signal.h (__sigpause): Move declaration above call to
27831         libc_hidden_proto.
27832         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27833         variable.
27834         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27835         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27837 2014-11-14  David S. Miller  <davem@davemloft.net>
27839         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27840         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27842 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27844         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27845         * configure: Regenerated.
27846         * manual/install.texi (Tools for Compilation): Document a
27847         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27848         compiler verified to work.
27849         * INSTALL: Regenerated.
27851         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27852         redeclare with asm name.
27853         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27854         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27855         including <string.h>.
27856         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27857         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27858         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27859         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27860         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27862         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27864 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27866         * stdlib/strtol.c (__strtol): Use prototype definition.
27868         [BZ #17594]
27869         * stdlib/strtol.c (SYM__): New macro.
27870         (SYM__1): Likewise.
27871         (__strtol): Likewise.
27872         (strtol): Rename to __strtol and define as weak alias of
27873         __strtol.  Use libc_hidden_weak.
27875 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27877         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27878         Use numbered labels in inline assembly.
27880 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27882         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27883         Add setjmp LIBC_PROBE.
27884         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27885         Likewise.
27886         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27887         Add longjmp, longjmp_target LIBC_PROBE.
27888         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27889         Likewise.
27891 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27893         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27894         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27895         to get rid of unused variable warning.
27897 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27899         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27900         Check for unwind_backtrace ==  NULL only in SHARED case.
27901         (__backchain_backtrace): Compile only in SHARED case.
27902         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27903         Likewise.
27904         (__backchain_backtrace): Declare as static.
27906 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27908         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27909         (__libc_multiple_threads_ptr): Variable moved ...
27910         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27912 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27914         * conform/GlibcConform.pm: New file.
27915         * conform/conformtest.pl: Use GlibcConform module.
27916         * conform/linknamespace.pl: New file.
27917         * conform/list-header-symbols.pl: Likewise.
27918         * conform/Makefile (linknamespace-symlists-base): New variable.
27919         (linknamespace-symlists-tests): Likewise.
27920         (linknamespace-header-base): Likewise.
27921         (linknamespace-header-tests): Likewise.
27922         (tests-special): Add new tests.
27923         ($(linknamespace-symlists-tests)): New rule.
27924         (linknamespace-libs): New variable.
27925         ($(objpfx)symlist-stdlibs): New rule.
27926         ($(linknamespace-header-tests)): Likewise.
27927         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27928         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27929         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27930         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27931         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27932         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27933         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27934         (test-xfail-ISO/math.h/linknamespace): Likewise.
27935         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27936         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27937         (test-xfail-ISO/time.h/linknamespace): Likewise.
27938         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27939         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27940         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27941         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27942         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27943         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27944         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27945         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27946         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27947         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27948         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27949         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27950         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27951         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27952         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27953         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27954         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27955         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27956         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27957         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27958         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27959         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27960         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27961         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27962         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27963         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27964         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27965         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27966         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27967         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27968         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27969         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27970         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27971         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27972         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27973         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27974         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27975         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27976         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27977         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27978         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27979         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27980         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27981         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27982         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27983         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27984         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27985         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27986         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27987         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27988         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27989         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27990         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27991         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27992         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27993         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27994         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27995         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27996         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27997         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27998         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27999         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28000         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28001         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28002         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28003         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28004         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28005         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28006         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28007         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28008         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28009         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28010         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28011         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28012         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28013         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28014         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28015         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28016         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28017         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28018         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28019         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28020         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28021         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28022         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28023         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28024         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28025         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28026         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28027         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28028         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28029         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28030         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28031         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28032         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28033         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28034         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28035         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28036         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28037         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28038         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28039         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28040         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28041         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28042         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28043         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28044         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28045         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28046         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28047         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28048         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28049         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28050         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28051         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28052         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28053         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28054         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28055         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28056         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28057         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28058         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28059         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28060         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28061         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28062         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28063         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28064         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28065         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28066         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28067         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28068         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28069         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28070         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28071         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28072         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28073         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28074         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28075         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28076         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28077         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28078         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28079         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28080         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28081         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28082         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28083         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28084         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28085         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28086         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28087         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28089         [BZ #17589]
28090         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28091         of fgets_unlocked.
28093         [BZ #17585]
28094         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28095         (memmem): Rename to __memmem and define as weak alias of
28096         __memmem.  Use libc_hidden_weak.
28097         (__memmem): Use libc_hidden_def.
28098         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28099         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28100         memmem.
28102         [BZ #17582]
28103         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28104         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28105         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28106         and define as weak alias of __fgets_unlocked.  Use
28107         libc_hidden_weak.
28108         (__fgets_unlocked): Use libc_hidden_def.
28109         * include/stdio.h (__fgets_unlocked): Declare.  Use
28110         libc_hidden_proto.
28111         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28112         __fgets_unlocked instead of fgets_unlocked.
28113         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28114         (GET_NPROCS_CONF_PARSER): Likewise.
28115         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28116         (GET_NPROCS_CONF_PARSER): Likewise.
28118         [BZ #17574]
28119         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28120         weak alias of __wmemset.  Use libc_hidden_weak.
28121         (__wmemset): Use libc_hidden_def.
28122         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28123         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28124         of wmemset.
28126         [BZ #17573]
28127         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28128         with asm name __mempcpy.
28129         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28131         [BZ #17572]
28132         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28133         and define as weak alias of __rawmemchr.
28134         (__rawmemchr): Do not define as strong alias of rawmemchr.
28136         [BZ #17571]
28137         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28138         alias of __qsort_r.
28139         (qsort): Call __qsort_r instead of qsort_r.
28140         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28141         (__qsort_r): Declare.  Call libc_hidden_proto.
28142         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28143         instead of qsort_r.
28144         * nscd/gai.c (__qsort_r): Define to qsort_r.
28145         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28146         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28147         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28149         [BZ #17570]
28150         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28151         define as weak alias of __malloc_info.
28153         [BZ #17584]
28154         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28155         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28156         (__rewinddir): Use libc_hidden_def.
28157         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28158         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28159         (__rewinddir): Use libc_hidden_def.
28160         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28161         weak alias of __rewinddir.  Don't use libc_hidden_def.
28162         (__rewinddir): Use libc_hidden_def.
28163         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28164         (__rewinddir): Use libc_hidden_proto.
28165         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28166         rewinddir.
28167         (__getcwd): Use __rewinddir instead of rewinddir.
28169         [BZ #17583]
28170         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28171         alias of __fileno.  Use libc_hidden_weak.
28172         (__fileno): Use libc_hidden_def.
28173         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28174         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28175         alias of __ftello.
28176         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28177         __ftello.
28178         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28179         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28180         libc_hidden_def.
28181         (fread_unlocked): Don't use libc_hidden_ver.
28182         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28183         and define as weak alias of __fread_unlocked.  Don't use
28184         libc_hidden_def.
28185         (__fread_unlocked): Use libc_hidden_def.
28186         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28187         (ftello): Don't use libc_hidden_proto.
28188         (__ftello): Declare.  Use libc_hidden_proto.
28189         (fread_unlocked): Don't use libc_hidden_proto.
28190         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28191         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28192         and __ftello instead of fileno, fread_unlocked and ftello.
28194 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28196         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28197         GOT12.
28198         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28199         Likewise.
28200         (_dl_start_user): Likewise.
28201         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28203 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28204             Siddhesh Poyarekar  <siddhesh@redhat.com>
28206         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28207         Move argv and envp down instead of moving argc up.
28208         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28210 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28212         [BZ #17506]
28213         * test-skeleton.c (main): Return successful if one of
28214         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28215         * string/tst-strcoll-overflow.c: Define expected status.
28217 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28219         [BZ #17475]
28220         * locale/iso-639.def: Define Bhili and Tulu language codes.
28222 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28224         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28226 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28228         [BZ #17555]
28229         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28231 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28233         * configure.ac: Updated check of minimal required version to
28234         2.22.
28235         * manual/install.texi (Tools for Compilation): Updated version
28236         number.
28237         * configure: Regenerated.
28238         * INSTALL: Likewise.
28240 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28242         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28243         __tls_get_addr.
28245 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28247         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28248         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28249         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28250         libc_hidden_weak.
28251         (waitpid): Define as alias of __waitpid.
28252         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28253         __waitpid.
28254         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28255         libc_hidden_weak.
28256         (waitpid): Define as alias of __waitpid.
28257         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28258         __libc_waitpid alias.
28259         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28260         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28261         Likewise.
28262         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28263         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28264         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28265         alias.
28266         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28267         __waitpid.
28268         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28269         libc_hidden_weak.
28270         (waitpid): Define as alias of __waitpid.
28272 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28274         * manual/llio.texi: Add comment that write safety has been
28275         fixed in Linux.
28277         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28278         (localplt-build-dso): Add elf/ld.so.
28279         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28280         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28281         and free for ld.so.
28282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28283         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28285         Likewise.
28286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28287         Likewise.
28288         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28289         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28290         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28291         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28292         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28293         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28294         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28295         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28296         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28297         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28298         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28300 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28302         [BZ #14132]
28303         * include/libc-symbols.h (INTUSE): Remove macro.
28304         (INTDEF): Likewise.
28305         (INTVARDEF): Likewise.
28306         (_INTVARDEF): Likewise.
28307         (INTDEF2): Likewise.
28308         (INTVARDEF2): Likewise.
28309         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28310         rtld_hidden_def instead of INTVARDEF.
28311         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28312         (_dl_starting_up_internal): Remove declaration.
28313         (_dl_starting_up): Use rtld_hidden_proto.
28314         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28315         declaration.
28316         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28317         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28318         _dl_starting_up.
28319         * elf/dl-writev.h (_dl_writev): Likewise.
28320         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28321         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28322         _dl_starting_up_internal.
28324 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28326         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28327         test-skeleton.c.
28329 2014-11-05  Will Newton  <will.newton@linaro.org>
28331         * benchtests/Makefile: (bench-malloc): Add malloc thread
28332         scalability benchmark.
28333         * benchtests/bench-malloc-threads.c: New file.
28335 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28337         * sysdeps/aarch64/strchrnul.S: New file.
28339 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28341         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28342         definition.
28343         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28344         Likwise.
28345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28346         Likewise.
28347         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28348         Likewise.
28349         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28350         Likewise.
28351         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28352         Likewise.
28354 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28356         * catgets/test-gencat.c: Use test-skeleton.c.
28357         * catgets/tst-catgets.c: Likewise.
28358         * csu/tst-empty.c: Likewise.
28359         * elf/tst-audit2.c: Likewise.
28360         * elf/tst-global1.c: Likewise.
28361         * elf/tst-pathopt.c: Likewise.
28362         * elf/tst-piemod1.c: Likewise.
28363         * elf/tst-tls10.c: Likewise.
28364         * elf/tst-tls11.c: Likewise.
28365         * elf/tst-tls12.c: Likewise.
28366         * gnulib/tst-gcc.c: Likewise.
28367         * iconvdata/tst-e2big.c: Likewise.
28368         * iconvdata/tst-loading.c: Likewise.
28369         * iconv/tst-iconv1.c: Likewise.
28370         * iconv/tst-iconv2.c: Likewise.
28371         * inet/test-inet6_opt.c: Likewise.
28372         * inet/tst-gethnm.c: Likewise.
28373         * inet/tst-network.c: Likewise.
28374         * inet/tst-ntoa.c: Likewise.
28375         * intl/tst-codeset.c: Likewise.
28376         * intl/tst-gettext2.c: Likewise.
28377         * intl/tst-gettext3.c: Likewise.
28378         * intl/tst-ngettext.c: Likewise.
28379         * intl/tst-translit.c: Likewise.
28380         * io/test-stat.c: Likewise.
28381         * libio/test-fmemopen.c: Likewise.
28382         * libio/tst-freopen.c: Likewise.
28383         * libio/tst-sscanf.c: Likewise.
28384         * libio/tst-ungetwc1.c: Likewise.
28385         * libio/tst-ungetwc2.c: Likewise.
28386         * libio/tst-widetext.c: Likewise.
28387         * localedata/tst-ctype.c: Likewise.
28388         * localedata/tst-digits.c: Likewise.
28389         * localedata/tst-leaks.c: Likewise.
28390         * localedata/tst-mbswcs1.c: Likewise.
28391         * localedata/tst-mbswcs2.c: Likewise.
28392         * localedata/tst-mbswcs3.c: Likewise.
28393         * localedata/tst-mbswcs4.c: Likewise.
28394         * localedata/tst-mbswcs5.c: Likewise.
28395         * localedata/tst-setlocale.c: Likewise.
28396         * localedata/tst-trans.c: Likewise.
28397         * localedata/tst-wctype.c: Likewise.
28398         * localedata/tst-xlocale1.c: Likewise.
28399         * login/tst-grantpt.c: Likewise.
28400         * malloc/tst-calloc.c: Likewise.
28401         * malloc/tst-malloc.c: Likewise.
28402         * malloc/tst-mallocstate.c: Likewise.
28403         * malloc/tst-mcheck.c: Likewise.
28404         * malloc/tst-mtrace.c: Likewise.
28405         * malloc/tst-obstack.c: Likewise.
28406         * math/atest-exp2.c: Likewise.
28407         * math/atest-exp.c: Likewise.
28408         * math/atest-sincos.c: Likewise.
28409         * math/test-matherr.c: Likewise.
28410         * math/test-misc.c: Likewise.
28411         * math/test-powl.c: Likewise.
28412         * math/tst-definitions.c: Likewise.
28413         * misc/tst-dirname.c: Likewise.
28414         * misc/tst-efgcvt.c: Likewise.
28415         * misc/tst-fdset.c: Likewise.
28416         * misc/tst-hsearch.c: Likewise.
28417         * misc/tst-mntent2.c: Likewise.
28418         * nptl/tst-sem7.c: Likewise.
28419         * nptl/tst-sem8.c: Likewise.
28420         * nptl/tst-sem9.c: Likewise.
28421         * nss/test-netdb.c: Likewise.
28422         * posix/tst-fnmatch.c: Likewise.
28423         * posix/tst-getlogin.c: Likewise.
28424         * posix/tst-gnuglob.c: Likewise.
28425         * posix/tst-mmap.c: Likewise.
28426         * pwd/tst-getpw.c: Likewise.
28427         * resolv/tst-inet_ntop.c: Likewise.
28428         * rt/tst-timer.c: Likewise.
28429         * stdio-common/test-fseek.c: Likewise.
28430         * stdio-common/test-popen.c: Likewise.
28431         * stdio-common/test-vfprintf.c: Likewise.
28432         * stdio-common/tst-cookie.c: Likewise.
28433         * stdio-common/tst-fileno.c: Likewise.
28434         * stdio-common/tst-gets.c: Likewise.
28435         * stdio-common/tst-obprintf.c: Likewise.
28436         * stdio-common/tst-perror.c: Likewise.
28437         * stdio-common/tst-sprintf2.c: Likewise.
28438         * stdio-common/tst-sprintf3.c: Likewise.
28439         * stdio-common/tst-sprintf.c: Likewise.
28440         * stdio-common/tst-swprintf.c: Likewise.
28441         * stdio-common/tst-tmpnam.c: Likewise.
28442         * stdio-common/tst-unbputc.c: Likewise.
28443         * stdio-common/tst-wc-printf.c: Likewise.
28444         * stdlib/tst-environ.c: Likewise.
28445         * stdlib/tst-fmtmsg.c: Likewise.
28446         * stdlib/tst-limits.c: Likewise.
28447         * stdlib/tst-rand48-2.c: Likewise.
28448         * stdlib/tst-rand48.c: Likewise.
28449         * stdlib/tst-random2.c: Likewise.
28450         * stdlib/tst-random.c: Likewise.
28451         * stdlib/tst-strtol.c: Likewise.
28452         * stdlib/tst-strtoll.c: Likewise.
28453         * stdlib/tst-tls-atexit.c: Likewise.
28454         * stdlib/tst-xpg-basename.c: Likewise.
28455         * string/test-ffs.c: Likewise.
28456         * string/tst-bswap.c: Likewise.
28457         * string/tst-inlcall.c: Likewise.
28458         * string/tst-strtok.c: Likewise.
28459         * string/tst-strxfrm.c: Likewise.
28460         * sysdeps/x86_64/tst-audit10.c: Likewise.
28461         * sysdeps/x86_64/tst-audit3.c: Likewise.
28462         * sysdeps/x86_64/tst-audit4.c: Likewise.
28463         * sysdeps/x86_64/tst-audit5.c: Likewise.
28464         * time/tst-ftime_l.c: Likewise.
28465         * time/tst-getdate.c: Likewise.
28466         * time/tst-mktime3.c: Likewise.
28467         * time/tst-mktime.c: Likewise.
28468         * time/tst-posixtz.c: Likewise.
28469         * time/tst-strptime2.c: Likewise.
28470         * time/tst-strptime3.c: Likewise.
28471         * wcsmbs/tst-btowc.c: Likewise.
28472         * wcsmbs/tst-mbrtowc.c: Likewise.
28473         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28474         * wcsmbs/tst-wchar-h.c: Likewise.
28475         * wcsmbs/tst-wcpncpy.c: Likewise.
28476         * wcsmbs/tst-wcrtomb.c: Likewise.
28477         * wcsmbs/tst-wcsnlen.c: Likewise.
28478         * wcsmbs/tst-wcstof.c: Likewise.
28480 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28482         [BZ #14132]
28483         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28484         INTDEF.
28485         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28486         declaration.
28487         (_dl_mcount): Use rtld_hidden_proto.
28488         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28489         _dl_mcount.
28490         * elf/rtld.c (_rtld_global_ro): Likewise.
28492         [BZ #14132]
28493         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28494         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28495         of _dl_init_internal.
28496         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28497         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28498         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28499         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28500         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28501         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28502         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28503         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28504         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28505         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28506         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28507         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28508         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28509         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28510         * sysdeps/tile/dl-start.S (_start): Likewise.
28511         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28512         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28514         [BZ #14132]
28515         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28516         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28517         (rtld_progname): Make macro definition unconditional.
28518         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28519         INTDEF.
28520         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28521         (dl_main): Likewise.
28522         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28523         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28524         instead of _dl_argv_internal.
28525         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28526         __GI__dl_argv instead of INTUSE(_dl_argv).
28527         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28528         __GI__dl_argv instead of _dl_argv_internal.
28530         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28531         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28532         macro.
28533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28534         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28535         New macro.
28536         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28537         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28538         macro.
28539         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28540         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28542 2014-11-04  Andreas Schwab  <schwab@suse.de>
28544         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28546 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28548         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28549         mtvsrd instruction in binary form.
28551 2014-11-03  Andreas Schwab  <schwab@suse.de>
28553         [BZ #17522]
28554         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28555         for less than MB_LEN_MAX use a local buffer of that size.
28556         * libio/tst-fputws.c: New file.
28557         * libio/Makefile (tests): Add tst-fputws.
28559 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28561         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28562         the size of the fpu_fr.fpu_dregs[] array.
28564 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28566         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28567         (__nanosleep): Do not define as alias.
28568         (nanosleep): Define as alias of __nanosleep.
28569         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28570         __libc_nanosleep name.
28572 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28574         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28575         install.texi in comment.
28577 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28579         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28580         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28581         ... add here and use lwsync or sync ...
28582         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28583         ... and add here using lwsync.
28585 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28587         * elf/dl-machine-reject-phdr.h: New file.
28588         * elf/dl-load.c: #include that.
28589         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28590         if that returned true.
28592 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28594         [BZ #17496]
28595         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28596         gen-as-const-headers chunk.  Add a big scare comment after the last
28597         safe place to touch before-compile.
28599 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28601         * manual/install.texi (Tools for Compilation): Update autoconf
28602         version requirements.
28603         * INSTALL: Regenerated.
28605         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28606         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28607         (__libc_pselect): Likewise.
28609         [BZ #14138]
28610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28615 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28617         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28618         correct barrier instruction.
28619         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28620         Likewise.
28621         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28622         Likewise.
28624 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28626         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28627         after defining inlines.  Instead, just use parens to defeat macro
28628         expansion of __isctype in its declaration.
28630 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28632         * include/sys/uio.h (__libc_readv): Remove declaration.
28633         (__libc_writev): Likewise.
28634         * misc/readv.c (__libc_readv): Rename to __readv.
28635         (__readv): Do not define as alias.
28636         (readv): Define as alias of __readv.
28637         * misc/writev.c (__libc_writev): Rename to __writev.
28638         (__writev): Do not define as alias.
28639         (writev): Define as alias of __writev.
28640         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28641         (__readv): Do not define as alias.
28642         (readv): Define unconditionally as alias of __readv.
28643         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28644         (__writev): Do not define as alias.
28645         (writev): Define unconditionally as alias of __writev.
28646         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28647         name.
28648         (writev): Do not define __libc_writev name.
28650 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28652         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28653         (convert_charseq): New function, broken out of ...
28654         (use_from_charmap): ... here.  Call it.
28655         (use_to_charmap): Use convert_charseq and free instead of duplicating
28656         its code with a variable-length stack struct.
28658 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28660         * include/fcntl.h (__libc_creat): Remove declaration.
28661         * io/creat.c (__libc_creat): Rename to creat.
28662         (creat): Do not define as alias.
28663         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28664         of creat instead of __libc_creat.
28665         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28666         to creat.
28667         (creat): Do not define as alias.
28668         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28669         __libc_creat.
28670         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28671         __libc_creat name.
28672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28673         Likewise.
28675 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28677         * manual/llio.texi: Add comments discussing why write() may be
28678         considered MT-unsafe on Linux.
28680 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28682         * dl-load.c (local_strdup): Remove.
28683         (expand_dynamic_string_token): Use __strdup.
28684         (decompose_rpath): Likewise.
28685         (_dl_map_object): Likewise.
28687 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28689         [BZ #14132]
28690         * sysdeps/generic/unwind-dw2-fde.c
28691         (__register_frame_info_bases_internal): Do not declare.
28692         (__register_frame_info_table_bases_internal): Likewise.
28693         (__deregister_frame_info_bases_internal): Likewise.
28694         (__register_frame_info_bases): Declare and use hidden_proto before
28695         definition.  Use hidden_def instead of INTDEF.
28696         (__register_frame_info_table_bases): Likewise.
28697         (__deregister_frame_info_bases): Likewise.
28698         (__register_frame_info): Do not use INTUSE.
28699         (__register_frame): Likewise.
28700         (__register_frame_info_table): Likewise.
28701         (__register_frame_table): Likewise.
28702         (__deregister_frame_info): Likewise.
28703         (__deregister_frame): Likewise.
28705 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28707         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28708         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28709         not undefine.
28710         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28711         Likewise.
28712         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28713         Likewise.
28715 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28717         [BZ #14138]
28718         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28719         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28720         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28721         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28722         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28723         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28724         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28725         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28726         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28727         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28728         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28729         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28730         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28731         syscall.
28732         (setfsuid): Likewise.
28733         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28734         (setfsuid): Likewise.
28735         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28736         (setfsuid): Likewise.
28737         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28738         Likewise.
28739         (setfsuid): Likewise.
28740         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28741         (setfsuid): Likewise.
28742         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28743         Likewise.
28744         (setfsuid): Likewise.
28746 2014-10-27  Andreas Schwab  <schwab@suse.de>
28748         [BZ #17501]
28749         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28750         check for Slow_SSE4_2 feature bit.
28751         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28752         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28753         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28754         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28756 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28758         * configure.ac: Validate compiler version with a empirical test of
28759         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28760         $CC -v output.
28761         * configure: Regenerated.
28763         * inet/htons.c (htons): Prototypify.
28764         * inet/htonl.c (htonl): Likewise.
28766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28768         * string/strncat.c (strncat): Improve performance by using strlen.
28770 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28772         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28774 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28776         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28777         Call libc_fetestexcept_aarch64.
28779 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28781         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28782         Call libc_feholdexcept_aarch64.
28784 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28786         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28787         Call get_rounding_mode.
28789 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28791         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28792         Simplify logic.
28794 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28796         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28797         Simplify logic.
28799 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28801         [BZ #14138]
28802         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28803         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28804         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28805         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28806         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28807         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28808         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28809         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28810         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28811         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28812         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28813         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28814         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28815         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28816         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28817         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28818         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28819         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28820         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28821         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28822         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28823         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28824         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28825         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28826         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28827         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28828         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28829         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28830         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28831         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28832         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28833         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28834         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28835         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28836         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28837         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28838         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28839         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28840         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28841         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28842         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28843         syscall.
28844         (geteuid): Likewise.
28845         (getgid): Likewise.
28846         (getuid): Likewise.
28847         (getresgid): Likewise.
28848         (getresuid): Likewise.
28849         (getgroups): Likewise.
28850         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28851         (geteuid): Likewise.
28852         (getgid): Likewise.
28853         (getuid): Likewise.
28854         (getresgid): Likewise.
28855         (getresuid): Likewise.
28856         (getgroups): Likewise.
28857         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28858         (geteuid): Likewise.
28859         (getgid): Likewise.
28860         (getuid): Likewise.
28861         (getresgid): Likewise.
28862         (getresuid): Likewise.
28863         (getgroups): Likewise.
28864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28865         Likewise.
28866         (geteuid): Likewise.
28867         (getgid): Likewise.
28868         (getuid): Likewise.
28869         (getresgid): Likewise.
28870         (getresuid): Likewise.
28871         (getgroups): Likewise.
28872         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28873         (geteuid): Likewise.
28874         (getgid): Likewise.
28875         (getuid): Likewise.
28876         (getresgid): Likewise.
28877         (getresuid): Likewise.
28878         (getgroups): Likewise.
28879         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28880         Likewise.
28881         (geteuid): Likewise.
28882         (getgid): Likewise.
28883         (getuid): Likewise.
28884         (getgroups): Likewise.
28886         [BZ #14138]
28887         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28888         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28889         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28890         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28891         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28892         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28893         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28894         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28895         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28896         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28897         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28898         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28899         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28900         __chown.
28901         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28902         (lchown): Likewise.
28903         (fchown): Likewise.
28904         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28905         Likewise.
28906         (lchown): Likewise.
28907         (fchown): Likewise.
28908         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28909         (lchown): Likewise.
28910         (fchown): Likewise.
28911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28912         Likewise.
28913         (lchown): Likewise.
28914         (fchown): Likewise.
28916 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28918         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28919         Simplify logic.
28921 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28923         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28924         Cleanup logic.
28926 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28928         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28929         Remove unused include.
28931 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28933         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28934         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28935         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28936         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28938 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28939             Helge Deller <deller@gmx.de>
28941         [BZ #17508]
28942         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28943         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28944         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28946 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28948         [BZ #14132]
28949         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28950         Remove macro definition.
28951         (__ashrdi3_v_glibc20): Likewise.
28952         (__lshrdi3_v_glibc20): Likewise.
28953         (__cmpdi2_v_glibc20): Likewise.
28954         (__ucmpdi2_v_glibc20): Likewise.
28955         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28956         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28957         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28958         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28959         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28960         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28962 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28964         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28965         old GNU extension [0] syntax.
28966         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28967         alloca rather than an array member with variable length.
28968         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28969         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28970         (parse_opt): ... here.  Likewise use alloca there.
28971         Validate the -i argument before checking for rootness.
28972         (send_shutdown): New function, broken out of ...
28973         (parse_opt): ... here.
28975 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28977         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28978         macro to get at the _rt_local_ro field.
28979         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28980         ([PIC] case) or _dl_hwcap ([!PIC] case).
28981         * sysdeps/arm/setjmp.S: Likewise.
28983         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28984         * sysdeps/arm/configure.ac: New check to define it.
28985         * sysdeps/arm/configure: Regenerated.
28986         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28987         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28988         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28989         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28990         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28991         Use move/movt pair instead of a load.
28992         (LDST_GLOBAL): Macro removed.
28993         (LDR_GLOBAL): New macro replaces it.
28994         (LDR_HIDDEN): New macro.
28995         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28996         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28998         * setjmp/tst-setjmp-static.c: New file.
28999         * setjmp/Makefile (tests): Add it.
29000         (tests-static): New variable.
29002 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29004         [BZ #17485]
29005         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29007 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29009         [BZ #14132]
29010         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29012 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29014         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29016 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29018         * io/fts.c (dirent_not_directory): New function.
29019         (fts_build): Call it.
29021 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29023         * nptl/version.c (__nptl_main): Use normal __write rather than
29024         INTERNAL_SYSCALL.
29025         (banner): Update copyright years.
29027         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29028         gettimeofday.
29029         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29030         * nptl/pthread_cond_timedwait.c: Likewise.
29031         * nptl/pthread_mutex_timedlock.c: Likewise.
29032         * nptl/sem_timedwait.c: Likewise.
29034         * sysdeps/nptl/bits/libc-lock.h
29035         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29036         (__libc_lock_init_recursive): Return void, not 0.
29037         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29038         (__libc_rwlock_init): Likewise.
29039         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29041 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29043         [BZ #15215]
29044         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29045         (__pthread_once_slow): ... here.
29046         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29047         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29049 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29051         [BZ #15215]
29052         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29053         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29054         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29055         * nptl/pthread_once.c (__pthread_once): Likewise.
29056         Update comments.
29058 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29060         [BZ #14138]
29061         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29062         name.
29063         (writev): Use __libc_writev as strong name.
29064         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29065         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29067 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29069         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29071         * sysdeps/i386/nptl/tls.h
29072         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29073         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29074         New macros.
29075         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29076         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29077         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29078         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29079         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29080         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29082         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29083         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29084         on [__NR_futex].
29085         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29086         broken out of ...
29087         (__pthread_mutex_init): ... here.  Call it.
29088         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29089         Conditionalize PI cases on [__NR_futex].
29090         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29091         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29092         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29094         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29095         conditional on [SIGSETXID].
29096         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29097         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29098         is defined.  Likewise for SIGSETXID.
29099         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29100         Conditionalize definitions on [SIGSETXID].
29101         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29102         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29103         unblocking on [SIGCANCEL].
29105         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29106         [__NR_set_robust_list].
29108 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29110         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29111         (do_compare): Likewise.
29113 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29115         [BZ #15884]
29116         * string/strcoll_l.c: Don't include stdio.h.
29117         (coll_seq): Remove members idxarr and rulearr.
29118         (get_next_seq_cached): Remove function.
29119         (get_next_seq): Likewise.
29120         (get_next_seq_nocache): Rename to get_next_seq.
29121         (do_compare): Remove function.
29122         (do_compare_nocache): Rename to do_compare.
29123         (STRCOLL): Remove weight and rules cache.
29125 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29127         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29128         * sysdeps/arm/sfp-machine.h: ... to here.
29129         * sysdeps/arm/Implies: Remove arm/soft-fp.
29131 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29133         * conform/data/sys/utsname.h-data (*_t): Allow.
29134         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29135         [POSIX] (WEXITED): Do not expect constant.
29136         [POSIX] (WSTOPPED): Likewise.
29137         [POSIX] (WNOHANG): Likewise.
29138         [POSIX] (WNOWAIT): Likewise.
29139         [POSIX] (siginfo_t): Do not expect type or elements.
29140         [POSIX] (pid_t): Do not expect type.
29141         [POSIX] (signal.h): Do not allow header.
29142         [POSIX] (sys/resource.h): Likewise.
29143         [POSIX] (si_*): Do not allow pattern.
29144         [POSIX] (W*): Likewise.
29145         [POSIX] (P_*): Likewise.
29146         [POSIX] (BUS_*): Likewise.
29147         [POSIX] (CLD_*): Likewise.
29148         [POSIX] (FPE_*): Likewise.
29149         [POSIX] (ILL_*): Likewise.
29150         [POSIX] (POLL_*): Likewise.
29151         [POSIX] (SEGV_*): Likewise.
29152         [POSIX] (SI_*): Likewise.
29153         [POSIX] (TRAP_*): Likewise.
29154         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29155         variable.
29157 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29159         [BZ #12926]
29160         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29161         infinite loop when __recvmsg returns 0.
29163 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29165         * CANCEL-FCT-WAIVE: Remove file.
29166         * CANCEL-FILE-WAIVE: Likewise.
29168         [BZ #14132]
29169         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29170         instead of INTVARDEF.
29171         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29172         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29173         rtld_hidden_data_def instead of INTVARDEF.
29174         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29175         * elf/dl-deps.c (expand_dst): Likewise.
29176         * elf/dl-load.c (_dl_dst_count): Likewise.
29177         (_dl_dst_substitute): Likewise.
29178         (decompose_rpath): Likewise.
29179         (_dl_init_paths): Likewise.
29180         (open_path): Likewise.
29181         (_dl_map_object): Likewise.
29182         * elf/rtld.c (dl_main): Likewise.
29183         (process_dl_audit): Likewise.
29184         (process_envvars): Likewise.
29185         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29186         Remove declaration.
29187         (__libc_enable_secure): Use rtld_hidden_proto.
29189 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29191         * elf/dl-load.c
29192         (add_path): New function broken out of _dl_rtld_di_serinfo.
29193         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29195 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29197         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29198         parentheses around macro arguments.
29199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29205         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29210         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29213         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29214         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29215         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29228         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29229         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29230         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29231         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29232         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29233         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29234         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29235         Likewise.
29236         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29237         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29239         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29240         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29243         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29244         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29245         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29246         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29247         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29248         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29249         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29257         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29258         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29259         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29260         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29261         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29262         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29263         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29264         (_FP_FRAC_SRS_1): Likewise.
29265         (_FP_FRAC_CLZ_1): Likewise.
29266         (_FP_MUL_MEAT_1_imm): Likewise.
29267         (_FP_MUL_MEAT_1_wide): Likewise.
29268         (_FP_MUL_MEAT_1_hard): Likewise.
29269         (_FP_SQRT_MEAT_1): Likewise.
29270         (_FP_FRAC_ASSEMBLE_1): Likewise.
29271         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29272         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29273         (__FP_CLZ_2): Likewise.
29274         (_FP_MUL_MEAT_2_wide): Likewise.
29275         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29276         (_FP_MUL_MEAT_2_gmp): Likewise.
29277         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29278         (_FP_SQRT_MEAT_2): Likewise.
29279         (_FP_FRAC_ASSEMBLE_2): Likewise.
29280         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29281         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29282         (_FP_FRAC_CLZ_4): Likewise.
29283         (_FP_MUL_MEAT_4_wide): Likewise.
29284         (_FP_MUL_MEAT_4_gmp): Likewise.
29285         (_FP_SQRT_MEAT_4): Likewise.
29286         (_FP_FRAC_ASSEMBLE_4): Likewise.
29287         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29288         * soft-fp/op-common.h (_FP_CMP): Likewise.
29289         (_FP_CMP_EQ): Likewise.
29290         (_FP_CMP_UNORD): Likewise.
29291         (_FP_TO_INT): Likewise.
29292         (_FP_FROM_INT): Likewise.
29293         [!__FP_CLZ] (__FP_CLZ): Likewise.
29294         (_FP_DIV_HELP_imm): Likewise.
29295         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29296         Likewise.
29297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29300         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29301         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29304         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29308         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29309         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29310         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29311         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29312         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29313         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29326         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29327         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29328         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29329         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29330         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29331         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29332         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29333         (FP_UNPACK_RAW_SP): Likewise.
29334         (FP_PACK_RAW_S): Likewise.
29335         (FP_PACK_RAW_SP): Likewise.
29336         (FP_UNPACK_S): Likewise.
29337         (FP_UNPACK_SP): Likewise.
29338         (FP_UNPACK_SEMIRAW_S): Likewise.
29339         (FP_UNPACK_SEMIRAW_SP): Likewise.
29340         (FP_PACK_S): Likewise.
29341         (FP_PACK_SP): Likewise.
29342         (FP_PACK_SEMIRAW_S): Likewise.
29343         (FP_PACK_SEMIRAW_SP): Likewise.
29344         (_FP_SQRT_MEAT_S): Likewise.
29345         (FP_CMP_S): Likewise.
29346         (FP_CMP_EQ_S): Likewise.
29347         (FP_CMP_UNORD_S): Likewise.
29348         (FP_TO_INT_S): Likewise.
29349         (FP_FROM_INT_S): Likewise.
29351         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29353         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29354         (FP_EX_INVALID_IMZ): Likewise.
29355         (FP_EX_INVALID_IMZ_FMA): Likewise.
29356         (FP_EX_INVALID_ISI): Likewise.
29357         (FP_EX_INVALID_ZDZ): Likewise.
29358         (FP_EX_INVALID_IDI): Likewise.
29359         (FP_EX_INVALID_SQRT): Likewise.
29360         (FP_EX_INVALID_CVI): Likewise.
29361         (FP_EX_INVALID_VC): Likewise.
29362         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29363         "invalid" exceptions.
29364         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29365         (_FP_ADD_INTERNAL): Likewise.
29366         (_FP_MUL): Likewise.
29367         (_FP_FMA): Likewise.
29368         (_FP_DIV): Likewise.
29369         (_FP_CMP_CHECK_NAN): Likewise.
29370         (_FP_SQRT): Likewise.
29371         (_FP_TO_INT): Likewise.
29372         (FP_EXTEND): Likewise.
29374 2014-10-09  Allan McRae  <allan@archlinux.org>
29376         * po/fr.po: Update French translation from translation project.
29378 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29380         [BZ #14132]
29381         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29382         of INTDEF.
29383         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29384         (__cxa_atexit): Use libc_hidden_proto.
29385         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29387         [BZ #14132]
29388         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29389         declaration.
29390         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29391         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29392         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29393         [!_ISOMAC] (__iswctype_internal): Likewise.
29394         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29395         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29396         alias.
29397         (fcntl): Remove __fcntl_internal alias.
29398         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29399         __connect_internal alias.
29400         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29401         Likewise.
29403         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29404         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29405         FP_DENORM_ZERO.
29406         (_FP_CHECK_FLUSH_ZERO): New macro.
29407         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29408         (_FP_CMP): Likewise.
29409         (_FP_CMP_EQ): Likewise.
29410         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29411         FP_DENORM_ZERO.
29412         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29413         (FP_TRUNC): Likewise.
29415         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29416         treated as invalid conversion, not as normal exponent.
29418         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29419         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29420         (_FP_CMP_EQ): Likewise.
29421         (_FP_CMP_UNORD): Likewise.
29422         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29423         (FP_CMP_EQ_D): Likewise.
29424         (FP_CMP_UNORD_D): Likewise.
29425         * soft-fp/extended.h (FP_CMP_E): Likewise.
29426         (FP_CMP_EQ_E): Likewise.
29427         (FP_CMP_UNORD_E): Likewise.
29428         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29429         (FP_CMP_EQ_Q): Likewise.
29430         (FP_CMP_UNORD_Q): Likewise.
29431         * soft-fp/single.h (FP_CMP_S): Likewise.
29432         (FP_CMP_EQ_S): Likewise.
29433         (FP_CMP_UNORD_S): Likewise.
29434         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29435         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29436         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29437         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29438         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29439         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29440         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29441         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29442         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29443         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29444         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29445         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29446         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29447         to FP_CMP_Q.
29448         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29449         FP_CMP_Q.
29450         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29451         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29452         FP_CMP_EQ_Q.
29453         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29454         FP_CMP_Q.
29455         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29456         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29457         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29458         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29459         FP_CMP_EQ_Q.
29460         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29461         FP_CMP_Q.
29462         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29463         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29464         FP_CMP_EQ_Q.
29465         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29466         FP_CMP_Q.
29467         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29468         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29469         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29470         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29471         FP_CMP_EQ_Q.
29473         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29474         a subnormal result, set the underflow exception if trapping on
29475         underflow is enabled.
29476         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29477         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29478         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29479         redefine to 0.
29480         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29481         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29482         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29483         * soft-fp/extendxftf2.c (__extendxftf2): Use
29484         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29486         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29487         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29488         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29489         FP_HANDLE_EXCEPTIONS.
29490         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29491         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29492         FP_HANDLE_EXCEPTIONS.
29493         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29494         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29495         FP_HANDLE_EXCEPTIONS.
29496         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29497         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29498         FP_HANDLE_EXCEPTIONS.
29500 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29502         [BZ #14132]
29503         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29504         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29505         use INTUSE.
29506         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29507         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29508         Remove alias.
29509         (__adjtimex): Define using libc_hidden_ver.
29510         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29511         Remove declaration.
29512         (ntp_gettime): Call __adjtimex directly.
29513         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29514         Remove declaration.
29515         (ntp_gettimex): Call __adjtimex directly.
29516         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29517         __adjtimex_internal alias.
29519 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29521         [BZ #17460]
29522         * nscd/nscd.c (more_help): Rewrite list of tables collection
29523         using xstrdup and asprintf.
29525         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29527 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29528             Roland McGrath  <roland@hack.frob.com>
29530         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29531         (do_lookup_unique): ... local function 'enter' here; update callers.
29533 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29535         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29536         compat_symbol calls on [SHARED].
29537         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29538         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29539         Remove.
29540         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29541         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29542         (oldsetrlimit): Remove.
29543         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29545         (lchown): New syscall entry.
29546         (oldsetrlimit): Remove.
29547         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29548         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29549         (oldsetrlimit): Remove.
29550         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29552         [BZ #14138]
29553         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29554         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29555         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29556         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29558         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29559         (fchown): Likewise.
29560         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29561         (fchown): Likewise.
29562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29563         Likewise.
29565 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29567         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29568         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29569         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29570         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29571         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29572         Likewise.
29573         (__old_sem_post): Likewise.
29575 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29577         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29578         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29579         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29580         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29581         Use INLINE_VSYSCALL macro.
29582         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29583         __vdso_clock_gettime.
29584         * sysdeps/unix/sysv/linux/tile/init-first.c
29585         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29586         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29587         __vdso_clock_gettime.
29589         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29590         to set up frame more cleanly.
29592         * sysdeps/tile/memcmp.c: New file.
29594         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29596         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29597         * sysdeps/tile/tilegx/strcasestr.c: New file.
29598         * sysdeps/tile/tilegx/strnlen.c: New file.
29599         * sysdeps/tile/tilegx/strstr.c: New file.
29601         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29603 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29605         * nptl/tst-setuid3.c: Write errors to stdout.
29607 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29609         * elf/dl-deps.c
29610         (preload): New functions broken out of _dl_map_object_deps.
29611         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29613 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29615         [BZ #14138]
29616         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29617         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29619 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29621         * sysdeps/mips/strcmp.S: New.
29623 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29625         [BZ #14138]
29626         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29627         (linkat): Likewise.
29628         (mkdirat): Likewise.
29629         (readlinkat): Likewise.
29630         (renameat): Likewise.
29631         (symlinkat): Likewise.
29632         (unlinkat): Likewise.
29633         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29634         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29635         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29636         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29637         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29638         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29639         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29641 2014-09-30  Will Newton  <will.newton@linaro.org>
29643         * math/math.h: Define long double math functions if
29644         _LIBC_TEST is defined.
29645         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29647         * localedata/Makefile: Move assignment to tests-special
29648         into an ifdef testing run-built-tests.
29649         * timezone/Makefile: Likewise.
29651 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29653         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29654         with $(BASH) not $(SHELL).
29656 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29657             Matthew LeGendre  <legendre1@llnl.gov>
29659         [BZ #17411]
29660         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29661         l_reloc_result.
29663 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29665         * stdio-common/printf_fp.c
29666         (hack_digit): New function, broken out of ...
29667         (__printf_fp): ... local function here.  Update call sites.
29668         hack_digit now takes an additional parameter that is a pointer
29669         to a struct of the referenced locals.  Those locals moved inside
29670         the struct and references updated.
29672 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29674         * aclocal.m4: Require autoconf 2.69.
29675         * configure: Regenerated.
29676         * sysdeps/aarch64/configure: Likewise.
29677         * sysdeps/alpha/configure: Likewise.
29678         * sysdeps/arm/armv7/configure: Likewise.
29679         * sysdeps/arm/configure: Likewise.
29680         * sysdeps/ia64/configure: Likewise.
29681         * sysdeps/mach/configure: Likewise.
29682         * sysdeps/mips/configure: Likewise.
29683         * sysdeps/s390/configure: Likewise.
29684         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29687         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29688         file.
29689         * sysdeps/ia64/configure.ac: Likewise.
29691 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29694         specify symbol version for ld.so.  Do not include entry for
29695         libpthread.
29696         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29697         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29698         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29700         [BZ #14171]
29701         * Makeconfig [$(build-shared) = yes]
29702         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29703         makefiles.
29704         [$(build-shared) = yes && $(soversions.mk-done) = t]
29705         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29706         [$(build-shared) = yes && $(soversions.mk-done) = t]
29707         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29708         to Makerules.
29709         [$(build-shared) = yes && $(soversions.mk-done) = t]
29710         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29711         here.
29712         [$(build-shared) = yes && $(soversions.mk-done) = t]
29713         (common-generated): Don't append gnu/lib-names.h and
29714         gnu/lib-names.stmp here.
29715         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29716         (lib-names-h-abi): New variable.
29717         [$(build-shared) = yes && $(soversions.mk-done) = t]
29718         (lib-names-stmp-abi): Likewise.
29719         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29720         abi-variants] (before-compile): Append
29721         $(common-objpfx)$(lib-names-h-abi).
29722         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29723         abi-variants] (common-generated): Append gnu/lib-names.h.
29724         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29725         abi-variants] (install-others-nosubdir): Depend on
29726         $(inst_includedir)/$(lib-names-h-abi).
29727         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29728         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29729         [$(build-shared) = yes && $(soversions.mk-done) = t]
29730         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29731         [$(build-shared) = yes && $(soversions.mk-done) = t]
29732         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29733         [$(build-shared) = yes && $(soversions.mk-done) = t]
29734         (common-generated): Append $(lib-names-h-abi) and
29735         $(lib-names-stmp-abi).
29736         * scripts/lib-names.awk: Do not handle multi being set.
29737         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29738         Remove variable.
29739         (abi-lp64_be-ld-soname): Likewise.
29740         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29741         Likewise.
29742         (abi-hard-ld-soname): Likewise.
29743         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29744         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29745         Remove variable.
29746         (abi-o32_hard-ld-soname): Likewise.
29747         (abi-o32_soft_2008-ld-soname): Likewise.
29748         (abi-o32_hard_2008-ld-soname): Likewise.
29749         (abi-n32_soft-ld-soname): Likewise.
29750         (abi-n32_hard-ld-soname): Likewise.
29751         (abi-n32_soft_2008-ld-soname): Likewise.
29752         (abi-n32_hard_2008-ld-soname): Likewise.
29753         (abi-n64_soft-ld-soname): Likewise.
29754         (abi-n64_hard-ld-soname): Likewise.
29755         (abi-n64_soft_2008-ld-soname): Likewise.
29756         (abi-n64_hard_2008-ld-soname): Likewise.
29757         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29758         Likewise.
29759         (abi-64-v2-ld-soname): Likewise.
29760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29761         ld.so entries.
29762         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29763         variable.
29764         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29765         entry.
29766         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29767         variable.
29768         (abi-64-ld-soname): Likewise.
29769         (abi-x32-ld-soname): Likewise.
29770         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29771         entry.
29772         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29774 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29776         [BZ #14138]
29777         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29778         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29779         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29780         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29781         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29782         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29783         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29784         syscall entry for GLIBC_2.2 symbol version.
29785         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29786         Likewise.
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29788         (setrlimit): Likewise.
29789         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29790         Likewise.
29792 2014-09-23  Will Newton  <will.newton@linaro.org>
29794         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29795         _LINUX_ARM_SYSDEP_H include guard too.
29796         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29797         define.
29799 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29801         * sysdeps/unix/sysv/linux/eventfd.c:
29802         Make first argument unsigned.
29803         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29804         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29806 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29808         [BZ #16852]
29809         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29810         * socket/sys/socket.h: Likewise.
29811         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29813 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29815         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29817 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29819         * time/tst-ftime.c: New test.
29820         * time/Makefile (tests): Add tst-ftime.
29822 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29824         * soft-fp/extended.h: Fix comment formatting.
29825         * soft-fp/op-1.h: Likewise.
29826         * soft-fp/op-2.h: Likewise.
29827         * soft-fp/op-4.h: Likewise.
29828         * soft-fp/op-8.h: Likewise.
29829         * soft-fp/op-common.h: Likewise.
29830         * soft-fp/soft-fp.h: Likewise.
29832         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29834 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29836         [BZ #6652]
29837         * Makeconfig (soversions-default-setname): Remove variable.
29838         ($(common-objpfx)soversions.i): Don't pass default_setname to
29839         soversions.awk.
29840         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29841         oldest_abi to abi-versions.awk.
29842         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29843         * config.make.in (oldest-abi): Remove variable.
29844         * configure.ac (--enable-oldest-abi): Remove configure option.
29845         * configure: Regenerated.
29846         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29847         text.
29848         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29849         * scripts/soversions.awk: Do not handle default_setname variable.
29850         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29851         variable.
29852         * sysdeps/mach/hurd/configure: Regenerated.
29853         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29854         variable.
29855         * sysdeps/unix/sysv/linux/configure: Regenerated.
29857 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29859         * elf/Makefile (CFLAGS-interp.c): Remove.
29860         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29861         path string.
29862         * elf/interp.c: Include generated runtime-linker.h
29864         * Makerules (lib%.so): Don't include $(+interp) in
29865         prerequisites.
29866         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29867         * dlfcn/eval.c: Remove file.
29869         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29870         macros.
29872         [BZ #17266]
29873         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29874         4.2 and newer.
29876         [BZ #17370]
29877         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29879 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29880             Jakub Jelinek  <jakub@redhat.com>
29882         [BZ #17266]
29883         * libio/stdio.h: Check definition of __fortify_function
29884         instead of __extern_always_inline to include bits/stdio2.h.
29885         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29886         check if __extern_always_inline is defined.
29887         [__USE_MISC || __USE_XOPEN]: Likewise.
29888         [__USE_ISOC99] Likewise.
29889         * misc/sys/cdefs.h (__fortify_function): Define only if
29890         __extern_always_inline is defined.
29891         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29892         __extern_always_inline and __extern_inline only for g++-4.3
29893         and newer or a compatible gcc.
29895 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29897         [BZ #17371]
29898         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29899         last change to handle zero prefix length.
29901 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29903         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29904         _SC_REGEX_VERSION.
29906         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29907         _POSIX_RAW_SOCKETS.
29909 2014-09-13  Allan McRae  <allan@archlinux.org>
29911         * po/ru.po: Update Russian translation from translation project.
29913 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29915         * locale/programs/locale.c (show_locale_vars): Inline local function
29916         into its sole call site.  Clean up some style nits.
29917         (print_item): New function, broken out of ...
29918         (show_info): ... local function here.  Clean up style nits.
29920         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29921         out of ...
29922         (set_class_defaults): ... local function set_default here.
29923         Define set_default as a macro locally to pass constant parameters.
29924         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29925         rather than a shared local.
29927         * stdlib/rpmatch.c (try): New function, broken out of ...
29928         (rpmatch): ... local function here.  Also, prototypify definition.
29930 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29932         * scripts/soversions.awk: Do not handle configuration names.
29933         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29934         vendor and os variables to soversions.awk.
29935         * configure.ac: Do not modify gnu-* host_os.
29936         * configure: Regenerated
29937         * shlib-versions: Remove first column with configuration names.
29938         * nptl/shlib-versions: Likewise.
29939         * nptl_db/shlib-versions: Likewise.
29940         * sysdeps/hppa/shlib-versions: Likewise.
29941         * sysdeps/m68k/shlib-versions: Likewise.
29942         * sysdeps/mach/hurd/shlib-versions: Likewise.
29943         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29944         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29945         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29946         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29947         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29948         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29949         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29950         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29952         Likewise.
29953         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29954         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29955         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29956         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29957         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29958         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29959         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29960         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29963         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29965         Regenerated.
29966         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29968         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29970         * shlib-versions: Remove OS-specific entries.  Moved to files in
29971         sysdeps.
29972         * sysdeps/mach/hurd/shlib-versions: New file.
29973         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29975         * nptl/shlib-versions: Remove architecture-specific entries.
29976         Moved to files in sysdeps.
29977         * shlib-versions: Likewise.
29978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29979         file.
29980         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29981         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29982         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29983         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29985         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29986         (UDP_NO_CHECK6_RX): Likewise.
29988 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29990         * sysdeps/posix/sysconf.c (__sysconf): Spell
29991         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29993 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29995         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29996         loading.
29997         * iconv/Versions (__gconv_transliterate): Export for use from
29998         gconv modules.
29999         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30000         (struct __gconv_trans_data, __gconv_trans_fct,
30001         __gconv_trans_context_fct, __gconv_trans_query_fct,
30002         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30003         definitions.
30004         (struct __gconv_step_data): Remove __trans member.
30005         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30006         longer hidden.  Remove unused trans_data argument.
30007         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30008         (__gconv_translit_find): Remove declaration.
30009         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30010         prototype.
30011         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30012         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30013         trans_data argument.  Add hidden definition.
30014         (__gconv_translit_find): Remove.
30015         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30016         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30017         * iconv/skeleton.c: Remove transliteration initialization.
30018         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30019         __gconv_step_data initialization.
30020         * libio/iofwide.c (__libio_translit_): Remove.
30021         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30022         * wcsmbs/btowc.c (__btowc): Likewise.
30023         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30024         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30025         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30026         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30027         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30028         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30029         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30030         * wcsmbs/wctob.c (wctob): Likewise.
30032 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30034         [BZ #16194]
30035         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30036         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30037         register usage.
30038         * sysdeps/x86/Makefile: Adjust.
30040 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30041             Roland McGrath  <roland@hack.frob.com>
30043         * locale/weight.h: Add include guard.
30044         (findidx): Make static rather than auto; take new parameters
30045         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30046         * locale/weightwc.h: Likewise.
30047         * posix/fnmatch_loop.c
30048         (FCT): Change type of EXTRA from int32_t to wint_t.
30049         Don't include either header inside the function.
30050         Call FINDIDX rather than findidx, and pass new arguments.
30051         #undef FINDIDX at the end of the file.
30052         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30053         FINDIDX before including fnmatch_loop.c for the non-wide version.
30054         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30055         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30056         for the wide version.
30057         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30058         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30059         Pass new arguments to findidx.
30060         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30061         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30062         Don't #include it inside the function.  Pass new arguments to findidx.
30063         * posix/regex_internal.h
30064         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30065         (re_string_elem_size_at): Don't #include it inside the function.
30066         Pass new arguments to findidx.
30067         * string/strcoll_l.c: #include WEIGHT_H at top level.
30068         (get_next_seq): Don't #include it inside the function.
30069         Pass new arguments to findidx.
30070         (get_next_seq_nocache): Likewise.
30071         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30072         (STRXFRM): Don't #include it inside the function.
30073         Pass new arguments to findidx.
30075 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30077         [BZ #17344]
30078         * malloc/malloc.c (unlink): Turn asserts into a call to
30079         malloc_printerr.
30081 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30083         [BZ #17370]
30084         * libio/wfileops (do_ftell_wide): Free OUT.
30086 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30088         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30090 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30092         [BZ #17363]
30093         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30094         group if the current group is empty.
30096 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30098         * benchtests/bench-memset.c (test_main): Add more test from size
30099         from 32 to 512 bytes.
30100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30101         Add POWER8 memset object.
30102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30103         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30104         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30105         implementation.
30106         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30107         Likewise.
30108         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30109         multiarch POWER8 memset optimization.
30110         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30111         POWER8 memset optimization.
30113         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30114         Remove bzero multiarch objects.
30115         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30116         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30117         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30118         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30119         Remove define.
30120         [__bzero]: Redefine to specific name.
30121         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30122         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30123         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30124         define.
30125         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30126         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30128 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30130         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30131         warnings into errors.
30133         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30134         __cxa_thread_atexit_impl prototype.
30136 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30138         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30139         Fix capitalization of error message.
30141 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30143         * sysdeps/mips/preconfigure: Modify ABI tests.
30145 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30147         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30149 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30150             Carlos O'Donell  <carlos@systemhalted.org>
30152         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30153         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30154         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30155         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30156         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30157         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30158         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30159         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30160         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30161         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30162         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30163         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30164         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30165         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30166         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30167         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30168         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30169         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30170         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30171         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30173         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30174         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30175         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30176         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30177         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30178         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30179         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30180         Deconditionalize the code that was previously under [RESET_PID].
30181         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30182         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30183         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30184         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30185         include sysdep.h.
30187 2014-09-08  Allan McRae  <allan@archlinux.org>
30189         * version.h (RELEASE): Set to "development".
30190         (VERSION): Set to "2.20.90"
30192 2014-09-07  Allan McRae  <allan@archlinux.org
30194         * version.h (RELEASE): Set to "stable".
30195         (VERSION): Set to "2.20"
30196         * include/features.h (__GLIBC_MINOR__): Set to 20.
30198         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30199         Liebler.
30201         * po/ko.po: Update Korean translation from translation project.
30203 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30205         [BZ #17354]
30206         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30207         macro for handling signed relocations.
30209 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30211         [BZ #17325]
30212         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30213         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30214         assert.
30215         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30216         * iconvdata/ibm935.c (BODY): Likewise.
30217         * iconvdata/ibm937.c (BODY): Likewise.
30218         * iconvdata/ibm939.c (BODY): Likewise.
30219         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30220         assert.
30221         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30222         script.
30223         * iconvdata/run-iconv-test.sh: New test loop for checking for
30224         decoder crashers.
30226 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30228         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30229         libm_hidden_ver.
30231 2014-09-01  Allan McRae  <allan@archlinux.org>
30233         * po/eo.po: Update Esperanto translation from translation project.
30235         * po/ca.po: Update Catalan translation from translation project.
30237 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30239         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30240         __proc_dostop call.
30242 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30244         [BZ #17319]
30245         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30246         to call set_thread_area instead of hand written asm.
30247         (__NR_set_thread_area): Removed define.
30248         (TLS_FLAG_WRITABLE): Likewise.
30249         (__ASSUME_SET_THREAD_AREA): Remove check.
30250         (TLS_EBX_ARG): Remove define.
30251         (TLS_LOAD_EBX): Likewise.
30253 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30255         Simplify atomicity of socket creation in bind.
30257         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30258         looking up the name after linking the file.
30260 2014-08-27  Allan McRae  <allan@archlinux.org>
30262         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30264 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30266         [BZ #17187]
30267         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30268         trans_compare, open_translit, __gconv_translit_find):
30269         Remove module loading code.
30271 2014-08-26  Allan McRae  <allan@archlinux.org>
30273         * po/vi.po: Update Vietnamese translation from translation project.
30275         * po/uk.po: Update Ukrainian translation from translation project.
30277         * po/fr.po: Update French translation from translation project.
30279         * po/ru.po: Update Russian translation from translation project.
30281         * po/pl.po: Update Polish translation from translation project.
30283         * po/cs.po: Update Czech translation from translation project.
30285         * po/de.po: Update German translation from translation project.
30287         * po/bg.po: Update Bulgarian translation from translation project.
30289         * po/sv.po: Update Sweedish translation from translation project.
30291         * po/nl.po: Update Dutch translation from translation project.
30293         * po/es.po: Update Spanish translation from translation project.
30295 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30297         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30299         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30300         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30301         (CPPFLAGS-iconvconfig): Likewise.
30302         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30304         * include/libc-symbols.h: Remove unnecessary check for
30305         NOT_IN_libc.
30306         * nptl/pthreadP.h: Likewise.
30307         * sysdeps/aarch64/setjmp.S: Likewise.
30308         * sysdeps/alpha/setjmp.S: Likewise.
30309         * sysdeps/arm/sysdep.h: Likewise.
30310         * sysdeps/i386/setjmp.S: Likewise.
30311         * sysdeps/m68k/setjmp.c: Likewise.
30312         * sysdeps/posix/getcwd.c: Likewise.
30313         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30314         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30315         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30316         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30317         * sysdeps/sh/sh3/setjmp.S: Likewise.
30318         * sysdeps/sh/sh4/setjmp.S: Likewise.
30319         * sysdeps/unix/alpha/sysdep.h: Likewise.
30320         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30322         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30323         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30326         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30327         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30328         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30329         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30330         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30331         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30332         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30333         * sysdeps/x86_64/setjmp.S: Likewise.
30335 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30337         [BZ #17263]
30338         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30339         <stdint.h>.
30340         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30341         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30343 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30345         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30347         [BZ #17262]
30348         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30349         and __x86_64__ when disabling x87 inline functions.
30351 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30353         [BZ #17259]
30354         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30355         asm statement with __cpuid_count.
30357 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30359         * configure.ac: Change __ehdr_start code to dereference the struct.
30360         Run readelf on the output to look for relocations.
30361         * configure: Regenerated.
30363 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30365         [BZ #17261]
30366         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30367         value to 0.
30368         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30370 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30372         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30374 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30376         [BZ #16892]
30377         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30378         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30380 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30382         * malloc/malloc.c: Fix typo in comment.
30384 2014-08-09  Allan McRae  <allan@archlinux.org>
30386         * Regenerate libc.po.
30388 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30390         * intl/tst-gettext2.sh: Check every lang file for creation.
30392 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30394         * sysdeps/aarch64/fpu/math_private.h
30395         (libc_feholdsetround_noex_aarch64_ctx): New function.
30397 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30399         * sysdeps/arm/armv6/strcpy.S (strcpy):
30400         Fix performance issue in misaligned cases.
30402 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30404         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30405         Move definition from termios.h.
30406         (struct termio): Likewise.
30407         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30408         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30409         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30410         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30411         Likewise.
30412         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30413         Move definition to ioctl-types.h
30414         (struct termio): Likewise.
30415         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30416         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30417         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30418         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30419         Likewise.
30421 2014-08-05  Richard Henderson  <rth@redhat.com>
30423         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30424         exceptions.
30425         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30426         Add fraiseexcpt.
30427         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30428         Use __feraiseexcept.
30429         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30430         Protect libm symbols with IS_IN_libm.
30432         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30434 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30436         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30438 2014-08-04  Will Newton  <will.newton@linaro.org>
30440         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30441         file.
30443 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30445         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30446         variants for each function.
30448 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30450         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30451         appended ...
30452         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30453         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30454         appended ...
30455         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30456         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30457         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30458         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30459         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30460         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30461         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30462         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30463         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30464         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30465         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30466         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30467         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30468         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30469         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30470         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30471         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30472         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30473         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30474         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30475         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30476         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30477         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30478         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30479         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30480         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30481         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30482         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30483         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30484         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30485         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30486         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30487         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30488         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30489         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30490         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30491         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30492         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30493         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30494         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30495         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30496         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30497         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30498         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30499         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30501         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30502         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30503         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30504         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30505         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30506         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30507         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30508         Update #include.
30509         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30510         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30512 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30514         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30515         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30516         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30517         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30518         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30519         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30521 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30523         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30524         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30525         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30526         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30528 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30530         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30531         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30532         (__libc_vfork): Define function under this name.
30533         (__vfork): Define as an alias.
30534         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30535         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30537 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30539         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30540         that was previously under [RESET_PID].
30541         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30543 2014-08-04  Andreas Schwab  <schwab@suse.de>
30545         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30547 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30549         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30550         (main): Likewise.
30552 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30554         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30556 2014-08-01  Richard Henderon  <rth@redhat.com>
30558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30559         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30560         typo in exact zero test.
30561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30562         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30563         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30565 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30567         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30568         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30569         * sysdeps/arm/sysdep.h: ... here.
30570         [!__ASSEMBLER__]: Include <stdint.h>.
30572 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30574         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30575         (HAVE_WCTYPE_H): Likewise.
30576         (HAVE_ISWCTYPE): Likewise.
30577         (ENABLE_NLS): Likewise.
30578         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30579         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30581         * posix/regex_internal.c: Check if DEBUG is defined and is
30582         set.
30584         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30585         (HAVE_MBSRTOWCS): Likewise.
30586         * posix/fnmatch.c: Include string.h unconditionally.
30588 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30590         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30591         reversal.
30593 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30595         * sysdeps/generic/safe-fatal.h: New file.
30596         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30597         * nptl/forward.c: Include it.
30598         (__pthread_unwind): Use __safe_fatal as default action, rather
30599         than a bogus use of INTERNAL_SYSCALL that could never work.
30601         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30602         * configure.ac (libc_cv_builtin_trap): New test.
30603         * configure: Regenerated.
30604         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30605         (ABORT_INSTRUCTION): Define using __builtin_trap.
30607         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30608         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30609         * sysdeps/nptl/nptl-signals.h: New file.
30610         * nptl/pthreadP.h: Include <nptl-signals.h>.
30612 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30614         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30615         (ONE_DIRECTION): Define.
30616         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30617         (ONE_DIRECTION): Define.
30618         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30619         (ONE_DIRECTION): Define.
30621 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30623         * sysdeps/s390/Makefile: Delete file.
30624         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30625         * sysdeps/s390/__longjmp.c: Delete file.
30626         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30627         Remove fields __flags and __reserved.
30628         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30629         and add versioning.
30630         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30631         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30632         * sysdeps/s390/rtld-setjmp.S: Likewise.
30633         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30634         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30635         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30636         * sysdeps/s390/s390-32/setjmp.S: ... here.
30637         Add versioning.
30638         (__sigsetjmp): Remove setting __flags field.
30639         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30640         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30641         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30642         * sysdeps/s390/s390-64/setjmp.S: ... here.
30643         Add versioning.
30644         (__sigsetjmp): Remove setting __flags field.
30645         * sysdeps/s390/setjmp.S: Delete file.
30646         * sysdeps/s390/sigjmp.c: Likewise.
30647         * sysdeps/s390/v1-longjmp.c: Likewise.
30648         * sysdeps/s390/v1-setjmp.h: Likewise.
30649         * sysdeps/s390/v1-sigjmp.c: Likewise.
30650         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30651         Remove v1-longjmp_chk.
30652         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30653         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30654         Include debug/longjmp_chk.c and add versioning.
30655         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30656         Include nptl/pt-longjmp.c and add versioning.
30657         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30658         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30659         Include __longjmp.c.
30660         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30661         Move to ...
30662         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30663         (__getcontext): Remove setting __flags field.
30664         Add versioning.
30665         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30666         Don't restore upper high grps.
30667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30668         Likewise.
30669         (__swapcontext): Remove setting uc_flags field.
30670         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30671         Delete file.
30672         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30673         Include __longjmp.c.
30674         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30675         Move to ...
30676         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30677         (__getcontext): Remove setting __flags field.
30678         Add versioning.
30679         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30680         (__swapcontext): Remove setting uc_flags field.
30681         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30682         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30683         Remove fields uc_high_gprs and __reserved.
30684         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30685         New file with reverted content.
30686         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30687         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30688         Regenerated.
30689         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30690         Regenerated.
30692 2014-07-31  Andreas Schwab  <schwab@suse.de>
30694         * config.h.in (HAVE_IFUNC): Define to 0.
30695         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30696         definedness.
30698 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30701         memmove-avx-unaligned, memcpy-avx-unaligned and
30702         mempcpy-avx-unaligned.
30703         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30704         Add tests for AVX memcpy functions.
30705         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30706         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30707         memcpy_chk.
30708         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30709         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30710         memmove_chk.
30711         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30712         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30713         mempcpy_chk.
30714         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30715         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30716         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30718 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30720         [BZ #17213]
30721         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30722         powerpc64le.
30724 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30726         [BZ #16839]
30727         * manual/llio.texi: Add section about open file description locks.
30728         * manual/examples/ofdlocks.c: Example of open file description
30729         lock usage.
30730         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30731         F_OFD_SETLK, and F_OFD_SETLKW.
30733 2014-07-23  Allan McRae  <allan@archlinux.org>
30735         * po/es.po: Update Spanish translation from translation project.
30737 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30739         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30741 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30743         [BZ #17078]
30744         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30745         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30746         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30748 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30750         [BZ #17088]
30751         * math/fesetenv.c (__fesetenv)
30752         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30753         * math/feupdateenv.c (__feupdateenv)
30754         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30756         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30757         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30758         (__ASSUME_SOCKETCALL): Do not define.
30760         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30761         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30762         (__ASSUME_SOCKETCALL): Do not define.
30763         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30764         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30765         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30766         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30767         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30768         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30769         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30770         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30772         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30773         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30774         (__ASSUME_SOCKETCALL): Do not define.
30775         (__ASSUME_IPC64): Define unconditionally.
30776         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30777         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30778         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30779         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30780         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30781         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30782         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30783         Likewise.
30785         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30786         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30787         (__ASSUME_SOCKETCALL): Do not define.
30788         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30789         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30790         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30791         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30792         (__ASSUME_REQUEUE_PI): Define unconditionally.
30793         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30794         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30795         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30796         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30797         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30798         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30800         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30801         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30802         (__ASSUME_SOCKETCALL): Do not define.
30803         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30804         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30805         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30806         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30808         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30810         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30811         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30812         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30813         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30814         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30815         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30816         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30817         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30818         (__ASSUME_GETCPU_SYSCALL): Likewise.
30820         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30821         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30822         cases for individual architectures.
30823         * sysdeps/gnu/configure: Regenerated.
30824         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30825         LIBC_SLIBDIR_RTLDDIR.
30826         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30827         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30828         LIBC_SLIBDIR_RTLDDIR.
30829         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30831         LIBC_SLIBDIR_RTLDDIR.
30832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30833         Regenerated.
30834         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30835         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30836         file.
30837         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30838         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30839         file.
30840         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30841         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30842         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30843         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30845         * sysdeps/aarch64/shlib-versions: Move to ...
30846         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30847         * sysdeps/alpha/shlib-versions: Move to ...
30848         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30849         * sysdeps/arm/shlib-versions: Move to ...
30850         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30851         * sysdeps/hppa/shlib-versions: Move all contents except for
30852         libgcc_s entry to ...
30853         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30854         entry from ...
30855         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30856         * sysdeps/ia64/shlib-versions: Move to ...
30857         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30858         entry from ...
30859         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30860         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30861         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30862         * sysdeps/microblaze/shlib-versions: Move to ...
30863         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30864         * sysdeps/mips/shlib-versions: Move to ...
30865         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30866         entry from ...
30867         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30868         * sysdeps/tile/shlib-versions: Move to ...
30869         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30870         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30871         from ...
30872         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30873         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30874         entry from ...
30875         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30877 2014-07-17  Will Newton  <will.newton@linaro.org>
30879         * sysdeps/arm/bits/atomic.h
30880         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30881         (__arch_compare_and_exchange_bool_16_int): Likewise.
30882         (__arch_compare_and_exchange_bool_64_int): Likewise.
30884         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30885         into an #else block.
30887 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30889         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30890         just Linux configurations.  Test empirically that the compiler sets
30891         __ARM_EABI__, rather than using the tuple to decide.
30892         * sysdeps/arm/preconfigure: Regenerated.
30893         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30894         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30895         contents appended ...
30896         * sysdeps/arm/configure.ac: ... here.
30897         * sysdeps/arm/configure: Regenerated.
30899 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30901         * nptl/pthread_kill.c: New file.
30902         * nptl/pthread_sigmask.c: New file.
30903         * nptl/pthread_sigqueue.c: New file.
30905         * sysdeps/nptl/lowlevellock.h: New file.
30906         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30907         * sysdeps/nptl/lowlevellock-futex.h: New file.
30909         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30910         Remove dead declarations.
30912 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30914         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30915         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30916         config-cflags-avx2.
30917         * sysdeps/x86_64/configure.ac: Likewise.
30918         * sysdeps/i386/configure: Regenerated.
30919         * sysdeps/x86_64/configure: Likewise.
30920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30921         memset-avx2 only if config-cflags-avx2 is yes.
30922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30923         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30924         defined.
30925         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30926         only if HAVE_AVX2_SUPPORT is defined.
30927         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30929 2014-07-14  Alan Modra  <amodra@gmail.com>
30931         [BZ #17153]
30932         * elf/elf.h (DT_PPC64_NUM): Correct value.
30933         * NEWS: Add to fixed bug list.
30935 2014-07-13  Jim Meyering  <meyering@fb.com>
30937         [BZ 17150]
30938         regex: don't deref NULL upon heap allocation failure
30939         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30940         failure in one more place.
30941         To trigger the segfault, configure grep -with-included-regex,
30942         build it, and run these commands:
30943         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30945 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30947         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30949 2014-07-11  Richard Henderson  <rth@redhat.com>
30951         * sysdeps/aarch64/libm-test-ulps: Update.
30953 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30955         [BZ #17135]
30956         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30957         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30958         (__nptl_setxid): Initialize error member.  Call
30959         __nptl_setxid_error.
30960         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30961         * nptl/descr.h (struct xid_command): Add error member.
30962         * nptl/tst-setuid3.c: New file.
30963         * nptl/Makefile (tests): Add it.
30965 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30968         New define.
30969         (__lll_trylock): Use __lll_base_trylock.
30970         (__lll_cond_trylock): Likewise.
30972 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30974         * nptl/pthread_create.c (start_thread): Use atomic_or and
30975         lll_futex_wake directly rather than lll_robust_dead.
30976         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30977         (lll_robust_dead): Macro removed.
30978         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30979         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30980         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30981         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30982         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30983         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30984         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30985         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30986         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30987         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30988         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30989         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30990         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30991         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30992         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30994         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30995         Use atomic_compare_and_exchange_val_acq directly rather than
30996         lll_robust_trylock.
30997         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30998         (__lll_robust_trylock, lll_robust_trylock): Removed.
30999         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31000         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31001         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31002         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31003         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31004         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31005         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31006         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31007         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31008         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31009         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31010         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31011         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31012         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31014 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31016         * manual/locale.texi (Locale Names): New section documenting
31017         locale name syntax.  Adjust menu and node chaining accordingly.
31018         (Choosing Locale): Reference Locale Names, Locale Categories.
31019         Mention setting LC_ALL=C.  Reflect that name syntax is now
31020         documented.
31021         (Locale Categories): New section title.  Reference Locale Names.
31022         LC_ALL is an environment variable, but not a category.
31023         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31024         description, now in Locale Name.  Reference that section.  Locale
31025         name syntax is now documented.
31027 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31029         [BZ #17137]
31030         * locale/findlocale.c (name_present, valid_locale_name): New
31031         functions.
31032         (_nl_find_locale): Use the loc_name variable to store name
31033         candidates.  Call name_present and valid_locale_name to check and
31034         validate locale names.  Return an error if the locale is invalid.
31036 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31038         * locale/setlocale.c (setlocale): Use strdup for allocating
31039         composite name copy.
31041 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31043         Sync up with gnulib.
31044         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31045         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31046         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31047         and _GL_ARG_NONNULL.
31048         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31049         [!_LIBC]: Include code for Windows and Cygwin.
31050         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31051         Include prototype for int strerror_r.
31052         [!_LIBC] (is_open): New function.
31053         (flush_stdout): New function.
31054         (print_errno_message): Use it.
31055         (error): Likewise.
31056         (error_at_line): Likewise.
31057         (error_tail) Add function attribute macros.  Use
31058         __builtin_expect.
31060         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31062         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31064         * io/ftw.c: Include sys/param.h unconditionally.
31066         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31068         [BZ #17125]
31069         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31070         libc_freeres_ptr.
31071         (freecache): New function to free CACHE on exit.
31073         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31074         initialization.
31076 2014-07-09  David S. Miller  <davem@davemloft.net>
31078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31080         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31081         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31082         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31083         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31084         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31085         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31086         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31087         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31088         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31089         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31090         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31091         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31092         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31094 2014-07-09  Andreas Schwab  <schwab@suse.de>
31096         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31097         output.
31098         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31099         (do_test): Likewise.
31101         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31103 2014-07-09  Will Newton  <will.newton@linaro.org>
31105         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31106         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31107         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31108         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31109         * sysdeps/hppa/start.S (_start): Likewise.
31111 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31113         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31115         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31116         defined.
31118 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31120         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31121         after checking that it is non-NULL.
31123         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31125 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31127         * sysdeps/powerpc/memmove.c: Remove file.
31128         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31129         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31130         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31131         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31132         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31133         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31134         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31135         string memmove instead of removed powerpc one.
31137         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31138         [weak_alias]: Fix compiler warning due trailing data.
31139         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31140         [weak_alias]: Likewise.
31141         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31142         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31145         (__libc_ifunc_impl_list): Add memmove functions.
31147 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31149         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31150         Remove code.
31151         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31152         Likewise.
31153         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31154         Likewise.
31155         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31156         Likewise.
31157         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31158         Likewise.
31159         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31160         Likewise.
31161         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31162         Likewise.
31163         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31164         Likewise.
31165         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31166         Likewise.
31167         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31168         Likewise.
31169         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31170         Likewise.
31171         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31172         Likewise.
31173         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31174         Likewise.
31175         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31176         Likewise.
31177         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31178         Likewise.
31179         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31180         Likewise.
31181         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31182         Likewise.
31184 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31186         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31187         to avoid alignment traps in non-cacheable memory.
31188         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31191         multiarch objects.
31192         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31193         file: multiarch power7 memmove.
31194         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31195         multiarch default memmove.
31196         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31197         multiarch memove for powerpc32/power4.
31199         * string/bcopy.c: Use full path to include memmove.c.
31200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31201         multiarch objects.
31202         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31203         bcopy for powerpc64.
31204         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31205         bcopy for powerpc64.
31206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31207         and memmove implementations.
31208         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31209         optimized multiarch memmove for POWER7/powerpc64.
31210         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31211         default multiarch memmove for powerpc64.
31212         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31213         multiarch for powerpc64.
31214         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31215         for POWER7/powerpc64.
31216         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31217         memmove for POWER7/powerpc64.
31219         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31220         glibc default one.
31222         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31223         __ELF_NATIVE_CLASS equal to 64.
31225 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31227         * sysdeps/nptl/lowlevellock.h: File removed.
31229         * NEWS: NPTL is no longer an add-on!
31230         * nptl/internaltypes.h: Moved ...
31231         * sysdeps/nptl/internaltypes.h: ... here.
31232         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31233         * sysdeps/nptl/fork.c: Likewise.
31234         * sysdeps/nptl/gai_misc.h: Likewise.
31235         * sysdeps/nptl/librt-cancellation.c: Likewise.
31236         * sysdeps/nptl/jmp-unwind.c: Likewise.
31237         * sysdeps/nptl/setxid.h: Likewise.
31238         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31239         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31240         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31241         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31242         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31243         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31244         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31245         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31246         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31247         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31248         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31249         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31250         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31251         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31252         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31253         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31254         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31255         * nptl/Makeconfig: Moved ...
31256         * sysdeps/nptl/Makeconfig: ... here.
31257         * nptl/configure: File removed.
31258         * nptl/ANNOUNCE: File removed.
31259         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31260         * sysdeps/unix/sysv/linux/configure: Regenerated.
31262         * nptl/Makefile (routines): Add libc_pthread_init,
31263         libc_multiple_threads, register-atfork and unregister-atfork.
31264         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31265         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31266         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31267         pthread-pi-defines.sym, structsem.sym.
31268         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31269         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31270         [$(subdir) = nptl] (tests): Add tst-setgetname.
31271         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31272         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31273         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31274         [!LIBC_SIGACTION]: Remove aliases.
31275         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31276         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31277         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31278         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31279         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31280         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31281         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31282         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31283         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31284         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31285         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31286         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31287         __libc_allocate_rtsig_private.
31288         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31289         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31290         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31291         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31292         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31293         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31294         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31295         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31296         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31297         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31298         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31299         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31300         * nptl/internaltypes.h: ... here.
31301         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31302         * sysdeps/nptl/jmp-unwind.c: ... here.
31303         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31304         * nptl/libc-lowlevellock.c: ... here.
31305         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31306         * nptl/libc_multiple_threads.c: ... here.
31307         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31308         * nptl/libc_pthread_init.c: ... here.
31309         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31310         * nptl/lowlevelbarrier.sym: ... here.
31311         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31312         * nptl/lowlevelcond.sym: ... here.
31313         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31314         * nptl/lowlevellock.c: ... here.
31315         * nptl/lowlevellock.h: Moved ...
31316         * sysdeps/nptl/lowlevellock.h: ... here.
31317         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31318         * nptl/lowlevelrobustlock.c: ... here.
31319         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31320         * nptl/lowlevelrobustlock.sym: ... here.
31321         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31322         * nptl/lowlevelrwlock.sym: ... here.
31323         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31324         * nptl/pt-fork.c: ... here.
31325         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31326         * nptl/pthread-pi-defines.sym: ... here.
31327         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31328         * nptl/pthread_attr_getaffinity.c: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31330         * nptl/pthread_attr_setaffinity.c: ... here.
31331         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31332         * nptl/pthread_mutex_cond_lock.c: ... here.
31333         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31334         Update #include.
31335         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31336         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31337         * nptl/pthread_once.c: ... here, replacing old file.
31338         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31339         * nptl/pthread_yield.c: ... here.
31340         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31341         * nptl/register-atfork.c: ... here.
31342         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31343         * nptl/sem_post.c: ... here.
31344         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31345         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31346         * nptl/sem_timedwait.c: ... here.
31347         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31348         * nptl/sem_trywait.c: ... here.
31349         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31350         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31351         * nptl/sem_wait.c: ... here.
31352         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31353         * nptl/structsem.sym: ... here.
31354         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31355         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31356         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31357         * nptl/unregister-atfork.c: ... here.
31358         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31359         * nptl/unwindbuf.sym: ... here.
31360         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31361         * sysdeps/nptl/fork.c: ... here.
31362         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31363         * sysdeps/nptl/fork.h: ... here.
31364         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31365         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31366         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31367         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31368         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31369         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31370         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31371         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31372         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31373         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31374         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31375         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31376         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31377         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31378         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31379         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31380         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31381         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31382         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31383         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31384         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31385         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31386         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31388         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31389         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31390         * sysdeps/unix/sysv/linux/raise.c: ... here.
31391         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31392         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31393         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31394         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31395         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31396         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31397         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31398         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31399         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31400         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31401         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31402         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31403         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31404         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31405         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31407 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31409         * sysdeps/generic/memcopy.h: Add comment for
31410         MEMCPY_OK_FOR_FWD_MEMMOVE.
31412 2014-07-04  Will Newton  <will.newton@linaro.org>
31414         * string/memchr.c: Merge from gnulib.
31415         [_LIBC]: Remove conditionals.
31416         (__ptr_t): Remove define.
31417         (LONG_MAX_32_BITS): Likewise.
31418         (LONG_MAX): Likewise.
31419         (MEMCHR): Use ANSI prototype and optimize algorithm.
31421         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31423 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31425         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31426         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31428         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31429         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31430         in a bare environment with no <stdlib.h> installed.
31431         * sysdeps/nptl/configure: Regenerated.
31433         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31435         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31436         AC_EGREP_CPP for kernel header checks, so they only succeed if
31437         including <linux/version.h> actually works right.
31438         * sysdeps/unix/sysv/linux/configure: Regenerated.
31440         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31441         value so it's not diagnosed as unused.
31443         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31444         thing) with "ifeq ($(subdir),rt)".
31446 2014-07-03  Richard Henderson  <rth@redhat.com>
31448         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31449         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31450         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31452         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31453         (math_force_eval): New.
31455         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31456         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31458         * sysdeps/alpha/fpu/s_round.c: Remove file.
31459         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31461         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31462         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31463         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31464         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31465         (_dl_start, print_statistics): Likewise.
31466         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31467         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31469         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31470         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31471         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31472         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31473         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31474         (HP_SMALL_TIMING_AVAIL): Define.
31475         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31476         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31477         (HP_SMALL_TIMING_AVAIL): Define.
31478         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31479         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31481         * sysdeps/aarch64/hp-timing.h: New file.
31483         * sysdeps/generic/hp-timing.h: Remove dead comment.
31484         * sysdeps/generic/hp-timing-common.h: New file.
31485         * sysdeps/alpha/hp-timing.h: Include it.
31486         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31487         * sysdeps/i386/i686/hp-timing.h: Likewise.
31488         * sysdeps/ia64/hp-timing.h: Likewise.
31489         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31490         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31491         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31492         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31493         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31494         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31495         (hp_timing_t): New.
31497         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31498         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31499         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31500         * elf/rtld.c (_dl_start_final): Likewise.
31501         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31502         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31503         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31504         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31505         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31506         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31507         (HP_TIMING_DIFF_INIT): Remove.
31508         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31509         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31510         (HP_TIMING_DIFF_INIT): Remove.
31511         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31512         * sysdeps/i386/i686/hp-timing.c: Remove file.
31513         * sysdeps/x86_64/hp-timing.c: Remove file.
31514         * sysdeps/ia64/hp-timing.c: Remove file.
31515         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31516         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31517         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31518         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31520         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31521         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31522         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31523         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31524         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31525         (HP_TIMING_ACCUM): Remove.
31526         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31527         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31528         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31530         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31531         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31532         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31533         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31534         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31535         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31536         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31537         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31539         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31541 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31543         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31545 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31547         Sync up with gettext.
31548         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31549         [_MSC_VER]: Include malloc.h
31550         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31551         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31552         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31553         TEMP_FAILURE_RETRY.  Cast return of alloca.
31554         [!_LIBC] Call gl_rwlock_init.
31555         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31557 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31559         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31560         before checking its value.
31562 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31564         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31566         * debug/memcpy_chk.c: Don't include pagecopy.h.
31567         * debug/mempcpy_chk.c: Likewise.
31568         * string/memcpy.c: Likewise.
31569         * string/memmove.c: Likewise.
31570         * sysdeps/powerpc/memmove.c: Likewise.
31571         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31572         definition of PAGE_COPY_FWD_MAYBE here...
31573         * sysdeps/generic/pagecopy.h: ... from here.
31574         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31576 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31577             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31579         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31581         optimizations.
31582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31583         (__libc_ifunc_impl_list): Likewise.
31584         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31585         multiarch strcat for PPC64.
31586         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31587         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31589 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31591         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31593 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31595         * intl/loadmsgcat.c: Remove declaration of
31596         get_sysdep_segment_value.
31597         (get_sysdep_segment_value): Use ISO C style.
31598         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31599         semicolon.  Fix typo and formatting in comment.
31600         (_nl_unload_domain): Use ISO C style.
31602         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31604 2014-07-02  Will Newton  <will.newton@linaro.org>
31606         * malloc/obstack.c: Merge from gnulib master.
31607         [HAVE_CONFIG_H]: Remove conditional code.
31608         [!_LIBC]: Include config.h.
31609         [!ELIDE_CODE]: Don't include inttypes.h, include
31610         stdint.h unconditionally.
31611         (print_and_abort): Mark as _Noreturn.
31612         (_obstack_allocated_p): Mark as __attribute_pure__.
31613         (obstack_free): Rename to __obstack_free.
31614         [!__attribute__]: Remove conditional code.
31615         * malloc/obstack.h: Merge from gnulib master.
31616         [__cplusplus]: Move conditional down.
31617         [!__attribute_pure__]: Define __attribute_pure__ here
31618         if it is not already defined.
31619         (_obstack_memory_used): Mark as __attribute_pure__.
31620         [!__obstack_free]: Define as obstack_free.
31621         [__GNUC__]: Remove check for ancient NeXT gcc.
31623 2014-07-02  Will Newton  <will.newton@linaro.org>
31624             Paul Eggert  <eggert@cs.ucla.edu>
31626         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31628 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31630         * resolv/gethnamaddr.c: Add comment warning that the file is
31631         not maintained.
31633 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31635         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31636         entries.
31638         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31639         entry for aio_cancel and aio_cancel64.
31640         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31641         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31642         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31643         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31644         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31645         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31646         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31647         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31648         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31649         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31650         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31651         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31652         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31654 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31656         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31657         * nptl/pthread_mutex_lock.c: Likewise.
31658         * nptl/pthread_mutex_timedlock.c: Likewise.
31659         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31661 2014-07-01  Richard henderson  <rth@redhat.com>
31663         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31664         (__isnan, __isnanl): Remove.
31665         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31667         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31669 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31671         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31673 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31675         * resolv/nss_dns/dns-host.c (getanswer_r)
31676         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31678 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31681         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31682         undefine.
31683         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31684         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31686 2014-07-01  Roland McGrath <roland@hack.frob.com>
31688         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31689         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31691         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31692         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31694         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31695         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31696         ... here.
31697         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31698         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31700         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31701         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31702         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31703         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31705         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31706         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31707         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31708         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31709         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31710         Moved ...
31711         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31712         ... here.
31713         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31714         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31715         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31716         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31717         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31718         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31719         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31720         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31721         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31722         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31723         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31724         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31725         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31726         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31727         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31728         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31729         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31730         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31731         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31732         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31733         ... here.
31734         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31735         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31736         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31737         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31738         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31739         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31740         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31741         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31743 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31745         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31746         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31747         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31748         Add sysdep.
31750 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31754 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31756         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31757         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31759         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31761         * sysdeps/arm/libm-test-ulps: Regenerated.
31763 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31764             Roland McGrath <roland@hack.frob.com>
31766         * test-skeleton.c (signal_handler): Kill the whole process group
31767         before killing the child individually.
31768         (main): Report any failure on `setpgid'.
31770 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31772         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31773         from _TLS_H to _ARM_NPTL_TLS_H.
31774         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31775         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31777 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31779         [BZ #16539]
31780         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31781         (__expm1l): Return argument unchanged when small but not
31782         subnormal.
31784         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31785         include macro name.
31786         (_FP_UNPACK_RAW_1_P): Likewise.
31787         (_FP_PACK_RAW_1): Likewise.
31788         (_FP_PACK_RAW_1_P): Likewise.
31789         (_FP_MUL_MEAT_1_wide): Likewise.
31790         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31791         (_FP_MUL_MEAT_1_hard): Likewise.
31792         (_FP_DIV_MEAT_1_imm): Likewise.
31793         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31794         (_FP_DIV_MEAT_1_udiv): Likewise.
31795         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31796         (_FP_UNPACK_RAW_2): Likewise.
31797         (_FP_UNPACK_RAW_2_P): Likewise.
31798         (_FP_PACK_RAW_2): Likewise.
31799         (_FP_PACK_RAW_2_P): Likewise.
31800         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31801         (_FP_MUL_MEAT_2_wide): Likewise.
31802         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31803         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31804         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31805         (_FP_MUL_MEAT_2_gmp): Likewise.
31806         (_FP_DIV_MEAT_2_udiv): Likewise.
31807         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31808         (_FP_FRAC_SRL_4): Likewise.
31809         (_FP_FRAC_SRST_4): Likewise.
31810         (_FP_FRAC_SRS_4): Likewise.
31811         (_FP_UNPACK_RAW_4): Likewise.
31812         (_FP_UNPACK_RAW_4_P): Likewise.
31813         (_FP_PACK_RAW_4): Likewise.
31814         (_FP_PACK_RAW_4_P): Likewise.
31815         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31816         (_FP_MUL_MEAT_4_wide): Likewise.
31817         (_FP_MUL_MEAT_4_gmp): Likewise.
31818         (umul_ppppmnnn): Likewise.
31819         (_FP_DIV_MEAT_4_udiv): Likewise.
31820         (__FP_FRAC_ADD_4): Likewise.
31821         (__FP_FRAC_SUB_3): Likewise.
31822         (__FP_FRAC_SUB_4): Likewise.
31823         (__FP_FRAC_DEC_3): Likewise.
31824         (__FP_FRAC_DEC_4): Likewise.
31825         (__FP_FRAC_ADDI_4): Likewise.
31826         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31827         (_FP_FRAC_SRL_8): Likewise.
31828         (_FP_FRAC_SRS_8): Likewise.
31830         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31831         include macro name.
31832         (FP_UNPACK_RAW_EP): Likewise.
31833         (FP_PACK_RAW_E): Likewise.
31834         (FP_PACK_RAW_EP): Likewise.
31835         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31836         (_FP_ISSIGNAN): Likewise.
31837         (_FP_ADD_INTERNAL): Likewise.
31838         (_FP_FMA): Likewise.
31839         (_FP_CMP): Likewise.
31840         (_FP_SQRT): Likewise.
31841         (_FP_TO_INT): Likewise.
31842         (_FP_FROM_INT): Likewise.
31843         (FP_EXTEND): Likewise.
31844         (_FP_DIV_MEAT_N_loop): Likewise.
31846 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31848         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31849         throughout.
31851 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31853         [BZ #17097]
31854         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31855         result with correct sign in case of exponents that produce
31856         overflow except for X very close to 1.
31858 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31860         mktime: merge #if/#ifdef usage from glibc
31861         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31862         as that works with both Glibc's and Gnulib's style.
31863         See thread starting at Siddhesh Poyarekar's bug report at:
31864         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31866 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31868         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31869         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31870         * sysdeps/tile/tilegx/memmove.c: Remove file.
31872 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31874         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31875         abi-name definition.
31876         * scripts/soversions.awk: Do not handle or generate ABI lines.
31877         * shlib-versions: Remove ABI entries.
31878         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31879         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31881 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31884         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31885         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31886         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31887         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31888         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31890         Moved ...
31891         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31892         ... here.
31893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31894         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31896         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31898         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31900         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31902         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31904         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31906         Moved ...
31907         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31909         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31911         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31912         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31913         Moved ...
31914         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31916         Moved ...
31917         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31919         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31921         Moved ...
31922         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31924         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31926         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31928         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31930         Moved ...
31931         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31933         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31934         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31935         Moved ...
31936         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31937         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31938         Moved ...
31939         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31941         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31943         Moved ...
31944         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31945         ... here.
31946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31947         Identical file removed.
31948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31949         Moved ...
31950         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31951         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31952         Identical file removed.
31953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31954         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31956         Moved ...
31957         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31959         Identical file removed.
31960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31961         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31962         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31963         Identical file removed.
31964         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31965         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31967         Identical file removed.
31968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31969         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31970         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31971         Identical file removed.
31972         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31973         Moved ...
31974         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31976         Identical file removed.
31977         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31978         Moved ...
31979         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31980         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31981         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31982         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31983         Identical file removed.
31984         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31985         Moved ...
31986         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31987         ... here.
31988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31989         Identical file removed.
31990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31991         Moved ...
31992         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31994         Identical file removed.
31995         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31996         Moved ...
31997         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31999         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32001         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32003         Moved ...
32004         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32005         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32006         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32008         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32009         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32010         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32011         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32012         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32014 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32016         [BZ #17092]
32017         * nscd/nscd.c (monitor_child): Return exit status of child
32018         instead of return value from wait syscall.
32020 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32022         * configure.ac (libc_commonpagesize): Remove variable.
32023         (libc_relro_required): Likewise.
32024         (libc_cv_z_relro): Remove configure test.
32025         * configure: Regenerated.
32026         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32027         variable.
32028         (libc_relro_required): Likewise.
32029         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32030         (libc_relro_required): Likewise.
32031         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32032         (libc_relro_required): Likewise.
32033         * sysdeps/arm/preconfigure: Regenerated.
32034         * sysdeps/ia64/preconfigure: Remove file.
32035         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32036         variable.
32037         (libc_relro_required): Likewise.
32039         [BZ #16561]
32040         [BZ #16562]
32041         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32042         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32043         recompute overflowing results in original rounding mode.
32044         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32045         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32046         recompute overflowing results in original rounding mode.
32047         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32048         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32049         recompute overflowing results in original rounding mode.
32050         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32051         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32052         recompute overflowing results in original rounding mode.
32053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32054         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32055         recompute overflowing results in original rounding mode.
32056         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32057         (libc_feholdsetround_ctx): New macro.
32058         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32059         * sysdeps/i386/fpu/libm-test-ulps: Update.
32060         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32062 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32064         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32065         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32066         corresponding .cpsetup call.
32068 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32070         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32071         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32072         * sysdeps/arm/Makefile [$(subdir) = csu]
32073         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32074         (static-only-routines): Add aeabi_read_tp here.
32075         (shared-only-routines): Add libc-aeabi_read_tp here.
32076         (CFLAGS-libc-start.c): Add -fexceptions here.
32077         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32078         (sysdep_routines, static-only-routines, shared-only-routines):
32079         Don't add to these here.
32080         (CFLAGS-libc-start.c): Likewise.
32082         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32083         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32084         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32085         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32086         * sysdeps/arm/Makefile [$(subdir) = rt]
32087         (librt-sysdep_routines, librt-shared-only-routines):
32088         Append rt-aeabi_unwind_cpp_pr1 here.
32089         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32090         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32091         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32092         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32093         Append nptl-aeabi_unwind_cpp_pr1 here.
32094         (tests): Filter out tst-cleanupx4 here.
32095         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32096         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32097         Don't do those here.
32099 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32101         * scripts/list-sources.sh: Do not handle ports specially.
32103 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32105         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32106         * sysdeps/arm/feupdateenv.c: Likewise.
32108         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32110 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32112         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32113         trailing whitespace removed.
32114         * scripts/config.guess: Update to version 2014-03-23.
32115         * scripts/config.sub: Update to version 2014-05-01
32116         * scripts/install-sh: Update to version 2013-12-25.23.
32117         * scripts/move-if-change: Update from gnulib.
32119 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32121         * debug/memmove_chk.c: Remove pagecopy.h include.
32123 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32125         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32126         identical to gnulib mktime.
32128 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32130         * configure.ac: Do not test for machine being rs6000.  Do not test
32131         for powerpc*-*soft.
32132         * configure: Regenerated.
32134         [BZ #11505]
32135         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32136         test.
32137         * configure: Regenerated.
32138         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32139         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32140         Remove configure test.
32141         * sysdeps/arm/configure: Regenerated.
32142         * sysdeps/nptl/configure.ac: Do not check
32143         libc_cv_asm_cfi_directives.
32144         * sysdeps/nptl/configure: Regenerated.
32145         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32146         * sysdeps/x86_64/nptl/configure: Remove generated file.
32147         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32148         unconditional.
32149         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32151 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32153         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32154         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32155         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32156         it is defined.
32158         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32159         instead of whether it is defined.
32160         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32161         * sysdeps/hppa/dl-machine.h: Likewise.
32162         * sysdeps/ia64/dl-machine.h: Likewise.
32163         * sysdeps/m68k/dl-machine.h: Likewise.
32164         * sysdeps/microblaze/dl-machine.h: Likewise.
32165         * sysdeps/mips/dl-machine.: Likewise.
32166         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32167         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32168         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32169         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32170         * sysdeps/sh/dl-machine.h: Likewise.
32171         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32172         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32173         * sysdeps/tile/dl-machine.h: Likewise.
32174         * sysdeps/x86_64/dl-machine.h: Likewise.
32176         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32177         code.
32178         (verify_persistent_db): Likewise.
32180 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32183         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32185         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32187         Moved ...
32188         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32189         ... here.
32190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32191         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32193         Identical file removed.
32194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32195         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32197         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32199         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32201         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32203         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32205         Moved ...
32206         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32208         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32210         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32212         Moved ...
32213         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32215         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32217         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32219         Identical file removed.
32220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32221         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32223         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32225         Moved ...
32226         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32227         ... here.
32228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32229         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32231         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32233         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32235         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32237         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32239         Moved ...
32240         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32245         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32247         Moved ...
32248         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32250         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32252         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32253         folded into ...
32254         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32255         * sysdeps/unix/sysv/linux/s390/Versions
32256         (libpthread: GLIBC_2.19): New version set.
32257         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32258         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32259         (librt: GLIBC_2.3.3): New version set.
32260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32261         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32262         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32263         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32264         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32265         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32266         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32267         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32268         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32269         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32270         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32271         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32272         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32273         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32274         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32275         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32276         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32277         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32278         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32279         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32280         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32281         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32282         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32283         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32284         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32285         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32286         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32287         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32288         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32289         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32290         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32291         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32292         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32294         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32296         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32297         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32298         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32299         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32300         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32302         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32304         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32306         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32307         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32308         (__libc_vfork): Define the function under this name.
32309         [!NOT_IN_libc] (__vfork): Make this an alias.
32310         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32312         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32313         (__libc_vfork): Define the function under this name.
32314         [!NOT_IN_libc] (__vfork): Make this an alias.
32315         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32316         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32317         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32319         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32320         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32322         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32323         code that was previously under [RESET_PID].
32324         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32325         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32328         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32329         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32330         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32331         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32332         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32333         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32334         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32335         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32336         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32337         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32338         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32339         Moved ...
32340         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32341         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32342         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32343         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32344         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32345         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32346         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32348         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32349         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32350         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32352         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32353         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32354         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32355         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32356         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32357         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32358         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32359         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32360         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32361         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32362         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32363         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32364         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32365         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32366         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32367         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32368         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32370 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32372         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32373         that was previously under [RESET_PID].
32374         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32376 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32378         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32379         not undefine and redefine.
32380         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32381         [O_CLOEXEC]: Make code unconditional.
32382         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32383         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32384         <kernel-features.h>.
32385         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32386         conditional variable definition.
32387         (shm_open) [O_CLOEXEC]: Make code unconditional.
32388         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32389         code.
32391         * configure.ac (USE_REGPARMS): Don't define here.
32392         * configure: Regenerated.
32393         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32394         * sysdeps/i386/configure: Regenerated.
32396         * nptl/createthread.c: Don't include kernel-features.h.
32397         * nptl/pthread_cancel.c: Likewise.
32398         * nptl/pthread_condattr_setclock.c: Likewise.
32399         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32400         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32401         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32402         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32403         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32404         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32405         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32408         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32409         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32410         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32411         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32412         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32413         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32414         * nscd/gai.c: Likewise.
32415         * nss/nss_db/db-open.c: Likewise.
32416         * sysdeps/generic/ldsodefs.h: Likewise.
32417         * sysdeps/sh/nptl/tls.h: Likewise.
32418         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32419         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32420         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32421         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32422         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32423         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32424         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32425         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32426         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32427         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32428         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32429         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32430         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32431         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32432         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32433         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32434         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32435         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32436         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32437         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32440         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32441         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32442         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32444         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32445         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32446         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32447         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32448         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32449         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32450         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32451         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32452         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32453         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32454         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32455         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32456         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32457         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32458         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32459         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32460         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32461         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32462         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32463         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32464         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32465         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32466         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32467         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32468         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32469         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32470         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32471         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32472         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32473         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32474         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32475         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32498         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32499         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32500         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32501         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32502         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32503         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32504         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32505         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32506         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32507         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32508         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32509         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32510         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32511         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32512         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32513         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32514         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32515         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32516         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32517         * sysdeps/unix/sysv/linux/system.c: Likewise.
32518         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32519         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32520         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32521         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32522         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32523         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32524         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32526         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32527         * configure: Regenerated.
32528         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32530         * configure.ac (base_machine): Do not set specially for particular
32531         machines here.
32532         * configure: Regenerated.
32533         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32534         settings from configure.ac.
32535         * sysdeps/i386/preconfigure: New file.
32536         * sysdeps/s390/preconfigure: Likewise.
32537         * sysdeps/sh/preconfigure: Likewise.
32538         * sysdeps/sparc/preconfigure: Likewise.
32540 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32542         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32543         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32544         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32545         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32546         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32547         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32548         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32549         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32550         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32551         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32552         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32553         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32554         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32555         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32556         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32557         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32558         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32559         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32560         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32562         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32563         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32564         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32565         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32566         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32567         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32568         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32569         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32570         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32571         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32572         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32573         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32574         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32575         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32576         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32577         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32578         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32579         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32580         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32581         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32582         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32583         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32585         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32586         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32587         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32588         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32589         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32590         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32591         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32593         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32594         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32595         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32596         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32597         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32598         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32599         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32602         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32604         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32606         Moved ...
32607         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32608         ... here.
32609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32610         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32612         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32614         Moved ...
32615         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32617         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32619         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32621         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32623         Moved ...
32624         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32626         Moved ...
32627         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32629         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32631         Moved ...
32632         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32634         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32636         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32638         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32640         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32642         Moved ...
32643         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32644         ... here.
32645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32646         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32648         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32650         Moved ...
32651         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32653         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32655         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32657         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32659         Moved ...
32660         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32662         Moved ...
32663         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32665         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32667         Moved ...
32668         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32670         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32672         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32674 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32676         * timezone/checktab.awk: Update from tzcode 2014e.
32677         * timezone/private.h: Likewise.
32678         * timezone/tzfile.h: Likewise.
32679         * timezone/zdump.c: Likewise.
32680         * timezone/zic.c: Likewise.
32682         * sysdeps/unix/sysv/linux/kernel-features.h
32683         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32684         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32685         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32686         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32687         Remove conditional code.
32689 2014-06-25  Will Newton  <will.newton@linaro.org>
32691         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32692         (_dl_arm_cap_flags): Add HWCAP2 values.
32693         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32694         (_DL_HWCAP_COUNT): Increase to 37.
32695         (_DL_HWCAP_LAST): New define.
32696         (_DL_HWCAP2_LAST): New define.
32697         (_dl_procinfo): Add support for printing
32698         AT_HWCAP2 entries.
32699         (_dl_string_hwcap): Use _dl_hwcap_string.
32701 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32705 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32707         * README: Do not mention ports directory.
32709         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32710         Remove macro.
32711         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32712         <kernel-features.h>.
32713         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32714         conditional variable definition.
32715         (__futimes): Update comment.
32716         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32717         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32719         [BZ #16560]
32720         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32721         arguments close to 0.
32722         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32723         Likewise.
32724         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32725         Likewise.
32726         * math/auto-libm-test-in: Add more tests of exp10.
32727         * math/auto-libm-test-out: Regenerated.
32728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32730         * sysdeps/unix/sysv/linux/kernel-features.h
32731         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32732         * sysdeps/unix/sysv/linux/readv.c: Do not include
32733         <kernel-features.h>.
32734         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32735         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32736         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32737         unconditional.
32738         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32739         conditional code.
32740         * sysdeps/unix/sysv/linux/writev.c: Do not include
32741         <kernel-features.h>.
32742         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32743         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32744         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32745         unconditional.
32746         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32747         conditional code.
32749 2014-06-25  Will Newton  <will.newton@linaro.org>
32751         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32752         comment changes throughout the file.  Remove checks
32753         for HAVE_*_H definitions that are not required.
32754         (__gen_tempname): Call abort if an unknown kind value is
32755         passed.
32757 2014-06-25  Andreas Schwab  <schwab@suse.de>
32759         [BZ #17086]
32760         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32761         scalbln, scalblnf, scalblnl in libc.
32763 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32765         [BZ #17086]
32766         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32767         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32768         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32770 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32772         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32773         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32774         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32775         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32776         Update #include.
32777         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32778         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32779         Update #include.
32780         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32781         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32782         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32783         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32784         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32785         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32786         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32787         * sysdeps/x86/bits/semaphore.h: ... here.
32788         * sysdeps/x86/nptl/elide.h: Moved ...
32789         * sysdeps/x86/elide.h: ... here.
32790         * sysdeps/x86_64/nptl/Implies: File removed.
32791         * sysdeps/i386/nptl/Implies: File removed.
32793 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32795         [BZ #16539]
32796         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32797         return the argument for normal arguments with exponent below -64.
32798         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32799         Likewise.
32800         * math/auto-libm-test-in: Add another test of expm1.
32801         * math/auto-libm-test-out: Regenerated.
32803         [BZ #16287]
32804         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32805         calling __erfcl for arguments at least 16.
32806         * math/auto-libm-test-in: Add more tests of erf.
32807         * math/auto-libm-test-out: Regenerated.
32809         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32810         individual architectures.
32811         * sysdeps/unix/sysv/linux/configure: Regenerated.
32812         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32813         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32814         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32815         (ldd_rewrite_script): Define variable.
32816         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32818         file.
32819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32820         generated file.
32821         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32822         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32823         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32824         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32825         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32826         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32827         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32828         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32830 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32832         [BZ #17084]
32833         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32834         Rename member __data.d to __data.__elision_data.
32836 2014-06-24  Wilco  <wdijkstr@arm.com>
32838         * NEWS: Add 16918 to fixed bug list.
32840 2014-06-24  Wilco  <wdijkstr@arm.com>
32842         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32844 2014-06-24  Wilco  <wdijkstr@arm.com>
32846         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32847         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32848         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32849         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32850         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32851         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32852         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32853         Use _FPU_MASK_RM.
32855 2014-06-24  Wilco  <wdijkstr@arm.com>
32857         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32859 2014-06-24  Wilco  <wdijkstr@arm.com>
32861         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32862         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32863         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32864         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32866 2014-06-24  Wilco  <wdijkstr@arm.com>
32868         [BZ #16918]
32869         * sysdeps/arm/feupdateenv.c (feupdateenv):
32870         Rewrite to reduce FPSCR accesses and fix return value.
32872 2014-06-24  Wilco  <wdijkstr@arm.com>
32874         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32875         Optimize to avoid unnecessary FPSCR writes.
32876         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32877         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32878         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32879         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32881 2014-06-24  Wilco  <wdijkstr@arm.com>
32883         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32884         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32885         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32886         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32887         Call libc_fetestexcept_vfp.
32888         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32889         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32890         __SOFTFP__ ifdef so that they can be built for softfp.
32892 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32894         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32895         argument type signed char.
32897         * Makerules (check-abi): Dump diff of symlist if the test
32898         fails.
32900 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32902         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32903         using abort.
32905         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32906         Remove unused variable ST.
32908 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32910         [BZ #16354]
32911         [BZ #17061]
32912         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32913         small arguments before calling __expm1.
32914         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32915         small arguments before calling __expm1f.
32916         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32917         small arguments before calling __expm1l.
32918         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32919         Likewise.
32920         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32921         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32922         spurious underflow for some cosh tests.
32923         * math/auto-libm-test-out: Regenerated.
32924         * sysdeps/i386/fpu/libm-test-ulps: Update.
32926         [BZ #17050]
32927         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32928         (__ieee754_y1): Set errno if return value overflows.
32929         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32930         (__ieee754_y1f): Set errno if return value overflows.
32931         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32932         (__ieee754_y1l): Set errno if return value overflows.
32933         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32934         (__ieee754_y1l): Set errno if return value overflows.
32935         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32936         * math/auto-libm-test-out: Regenerated.
32938         * math/gen-auto-libm-tests.c: Document use of
32939         ignore-zero-inf-sign.
32940         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32941         (input_flags): Add ignore-zero-inf-sign.
32942         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32943         * math/gen-libm-test.pl (generate_testfile): Handle
32944         ignore-zero-inf-sign.
32945         * math/auto-libm-test-in: Mark some cpow tests with
32946         ignore-zero-inf-sign and some with xfail-rounding.
32947         * math/auto-libm-test-out: Regenerated.
32948         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32949         * sysdeps/i386/fpu/libm-test-ulps: Update.
32950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32952         [BZ #16315]
32953         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32954         overflowing or underflowing operations take place with sign of
32955         result.
32956         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32957         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32958         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32959         (__ieee754_pow): Recompute overflowing and underflowing results in
32960         original rounding mode.
32961         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32962         (__powl_helper): Allow negative argument X and scale negated value
32963         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32964         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32965         overflowing or underflowing operations take place with sign of
32966         result.
32967         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32968         Include <math.h>.
32969         * math/auto-libm-test-in: Add more tests of pow.
32970         * math/auto-libm-test-out: Regenerated.
32971         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32972         (pow_tonearest_test_data): Remove.
32973         (pow_test_tonearest): Likewise.
32974         (pow_towardzero_test_data): Likewise.
32975         (pow_test_towardzero): Likewise.
32976         (pow_downward_test_data): Likewise.
32977         (pow_test_downward): Likewise.
32978         (pow_upward_test_data): Likewise.
32979         (pow_test_upward): Likewise.
32980         (main): Don't call removed functions.
32981         * sysdeps/i386/fpu/libm-test-ulps: Update.
32982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32984 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32987         Moved ...
32988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32990         Moved ...
32991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32993         Moved ...
32994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32996         Moved ...
32997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32999         File removed.
33000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33001         File removed.
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33003         File removed.
33004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33005         File removed.
33006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33007         File removed.
33008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33009         File removed.
33010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33011         File removed.
33012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33013         File removed.
33014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33015         File removed.
33016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33017         File removed.
33018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33019         File removed.
33020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33021         File removed.
33022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33023         Moved ...
33024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33026         Moved ...
33027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33028         ... here.
33029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33030         Moved ...
33031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33033         Moved ...
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33036         Moved ...
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33039         Moved ...
33040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33042         Moved ...
33043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33045         Moved ...
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33048         Moved ...
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33052         ... here.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33054         Moved ...
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33057         Moved ...
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33059         ... here.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33061         Moved ...
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33063         ... here.
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33065         Moved ...
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33067         ... here.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33069         Moved ...
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33072         Moved ...
33073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33077         Moved ...
33078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33079         ... here.
33080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33081         Moved ...
33082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33083         ... here.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33085         Moved ...
33086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33088         Moved ...
33089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33091         Moved ...
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33094         Moved ...
33095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33097         Moved ...
33098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33099         ... here.
33100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33101         Moved ...
33102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33104         Moved ...
33105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33107         Moved ...
33108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33110         Moved ...
33111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33115         Moved ...
33116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33118         Moved ...
33119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33121         Moved ...
33122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33123         ... here.
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33125         Moved ...
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33127         ... here.
33128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33129         Moved ...
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33131         ... here.
33132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33133         Moved ...
33134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33136         Moved ...
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33139         Moved ...
33140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33142         Moved ...
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33144         ... here.
33145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33146         Moved ...
33147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33148         ... here.
33149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33150         Moved ...
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33152         ... here.
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33154         Moved ...
33155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33157         Moved ...
33158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33160 2014-06-23  Will Newton  <will.newton@linaro.org>
33161             Wilco  <wdijkstr@arm.com>
33163         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33164         implementation.  Include get-rounding-mode.h.
33165         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33166         [!libc_feholdsetround_noex_ctx]: Define
33167         libc_feholdsetround_noex_ctx.
33168         [!libc_feholdsetround_noexf_ctx]: Define
33169         libc_feholdsetround_noexf_ctx.
33170         [!libc_feholdsetround_noexl_ctx]: Define
33171         libc_feholdsetround_noexl_ctx.
33172         (libc_feholdsetround_ctx): New function.
33173         (libc_feresetround_ctx): New function.
33174         (libc_feholdsetround_noex_ctx): New function.
33175         (libc_feresetround_noex_ctx): New function.
33177 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33179         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33180         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33181         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33182         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33183         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33184         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33186         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33187         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33188         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33189         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33190         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33191         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33193         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33195         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33197         Moved ...
33198         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33199         ... here.
33200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33201         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33203         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33208         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33211         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33212         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33213         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33214         Moved ...
33215         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33216         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33217         Moved ...
33218         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33219         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33220         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33221         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33222         Moved ...
33223         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33225         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33226         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33227         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33228         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33229         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33230         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33231         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33233         Moved ...
33234         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33235         ... here.
33236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33237         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33239         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33240         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33241         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33243         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33244         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33245         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33246         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33247         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33248         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33249         Moved ...
33250         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33251         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33252         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33253         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33254         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33255         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33256         Moved ...
33257         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33259         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33260         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33261         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33263         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33264         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33265         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33266         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33267         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33268         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33269         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33270         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33271         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33272         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33273         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33274         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33275         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33276         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33277         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33278         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33279         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33280         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33281         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33282         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33283         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33284         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33285         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33286         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33287         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33288         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33289         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33290         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33292 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33294         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33295         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33296         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33297         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33298         (IPV6_PMTUDISC_INTERFACE): Likewise.
33299         (IPV6_PMTUDISC_OMIT): Likewise.
33301 2014-06-23  Andreas Schwab  <schwab@suse.de>
33303         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33304         Remove unused errout label.
33306 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33308         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33309         macro: hardware supports Vector Crypto instructions.
33311 2014-06-23  Will Newton  <will.newton@linaro.org>
33313         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33314         rather than __builtin_expect.
33316         * elf/dl-lookup.c (undefined_msg): Remove variable.
33317         (_dl_lookup_symbol_x): Replace undefined_msg with string
33318         literal.
33320         * elf/dl-lookup.c (do_lookup_unique): New function.
33321         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33322         to a separate function.
33324 2014-06-23  Andreas Schwab  <schwab@suse.de>
33326         [BZ #17079]
33327         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33328         before reading the next line.
33330 2014-06-23  Will Newton  <will.newton@linaro.org>
33332         * test-skeleton.c (signal_handler): Use printf and %m
33333         rather than perror.  Use printf rather than fprintf to
33334         stderr.  Use puts rather than fputs to stderr.
33335         (main): Likewise.
33337 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33339         * nscd/nscd.c (thread_info_t): Remove typedef.
33340         (thread_info): Remove variable.
33342 2014-06-21  Allan McRae  <allan@archlinux.org>
33344         * NEWS: Mention CVE-2014-4043.
33346 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33348         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33349         * nptl/smp.h: ... here.
33351         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33353         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33354         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33355         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33356         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33358         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33359         * nptl/stack-aliasing.h: New file.
33360         * sysdeps/i386/i686/stack-aliasing.h: New file.
33361         * sysdeps/i386/i686/nptl/Makefile: File removed.
33362         * sysdeps/x86_64/stack-aliasing.h: New file.
33363         * sysdeps/x86_64/nptl/Makefile
33364         (CFLAGS-pthread_create.c): Variable removed.
33366         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33367         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33368         old file.
33369         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33370         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33371         old file.
33373 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33375         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33376         (__ASSUME_SIGFRAME_V2): Remove macro.
33377         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33378         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33379         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33380         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33381         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33382         Declare as function.  Remove conditional macro definitions.
33383         (__default_rt_sa_restorer): Likewise.
33384         (__default_sa_restorer_v1): Remove declaration.
33385         (__default_sa_restorer_v2): Likewise.
33386         (__default_rt_sa_restorer_v1): Likewise.
33387         (__default_rt_sa_restorer_v2): Likewise.
33388         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33389         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33390         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33392 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33394         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33395         (libpthread-routines): Add sysdep.
33396         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33397         * sysdeps/unix/sysv/linux/sparc/Versions
33398         (libpthread: GLIBC_2.3.3): New version set.
33399         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33400         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33401         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33402         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33403         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33404         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33405         Moved ...
33406         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33408         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33410         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33411         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33412         * sysdeps/sparc/nptl/sem_init.c: ... here.
33413         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33414         * sysdeps/sparc/nptl/sem_post.c: ... here.
33415         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33416         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33417         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33418         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33419         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33420         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33421         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33422         (libpthread-routines): Add cpu_relax.
33423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33424         File removed.
33425         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33426         (librt: GLIBC_2.3.3): New version set.
33427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33428         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33429         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33430         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33433         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33435         Moved ...
33436         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33438         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33440         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33442         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33444         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33446         Moved ...
33447         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33448         Update #include.
33449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33450         Moved ...
33451         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33452         Update #include.
33453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33454         Moved ...
33455         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33456         Update #include.
33457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33458         Moved ...
33459         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33460         Update #include.
33461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33462         Moved ...
33463         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33464         Update #include.
33465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33466         Moved ...
33467         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33468         Update #include.
33469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33470         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33472         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33474         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33476         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33478         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33480         Moved ...
33481         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33483         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33485         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33487 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33489         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33490         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33491         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33492         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33493         * nscd/nscd.c: Likewise.
33494         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33495         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33496         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33497         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33499         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33500         <kernel-features.h>.
33501         (init_mq_netlink): Remove conditional have_sock_cloexec
33502         definitions.  Remove code conditional on have_sock_cloexec < 0.
33503         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33504         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33505         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33506         <kernel-features.h>.
33507         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33508         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33510 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33512         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33513         Add tests for memset_chk and memset.
33515         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33516         with AVX2_Usable.
33518 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33520         [BZ #16046]
33521         * elf/tst-dl-iter-static.c: New file.
33522         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33524         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33525         error.
33527 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33529         * sysdeps/unix/sysv/linux/kernel-features.h
33530         (__ASSUME_F_GETOWN_EX): Remove macro.
33531         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33532         <kernel-features.h>.
33533         (miss_F_GETOWN_EX): Remove variable or macro.
33534         (do_fcntl): Do not check miss_F_GETOWN_EX.
33535         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33537         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33538         Remove macro.
33539         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33540         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33541         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33543         * sysdeps/unix/sysv/linux/kernel-features.h
33544         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33545         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33546         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33547         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33549 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33551         [BZ #17075]
33552         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33553         Fix calculation of the symbol's value.
33554         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33555         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33556         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33557         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33558         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33559         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33560         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33561         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33562         (modules-names): Add `tst-armtlsdescmod',
33563         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33564         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33565         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33566         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33567         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33568         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33569         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33570         ($(objpfx)tst-armtlsdescloc): New dependency.
33571         ($(objpfx)tst-armtlsdescextnow): Likewise.
33572         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33573         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33574         TLS scheme support.
33575         * sysdeps/arm/configure: Regenerate.
33577 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33579         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33580         (__atfct_seterrno_2): Likewise.
33581         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33582         <kernel-features.h>.
33583         (__ASSUME_ATFCTS): Do not undefine and redefine.
33584         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33585         (__have_atfcts): Remove conditional definition.
33586         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33587         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33588         unreachable if [__ASSUME_ATFCTS].
33589         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33590         not undefine and redefine.
33591         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33592         <kernel-features.h>.
33593         (faccessat) [__NR_faccessat]: Make code unconditional.
33594         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33595         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33596         <kernel-features.h>.
33597         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33598         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33599         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33600         <kernel-features.h>.
33601         (fchownat) [__NR_fchownat]: Make code unconditional.
33602         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33603         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33604         <kernel-features.h>.
33605         (futimesat) [__NR_futimesat]: Make code unconditional.
33606         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33607         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33608         <kernel-features.h>.
33609         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33610         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33611         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33612         <kernel-features.h>.
33613         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33614         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33615         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33616         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33617         <kernel-features.h>.
33618         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33619         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33620         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33621         <kernel-features.h>.
33622         (linkat) [__NR_linkat]: Make code unconditional.
33623         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33624         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33625         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33626         <kernel-features.h>.
33627         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33628         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33629         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33630         <kernel-features.h>.
33631         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33632         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33633         * sysdeps/unix/sysv/linux/openat.c: Do not include
33634         <kernel-features.h>.
33635         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33636         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33637         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33638         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33639         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33640         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33641         <kernel-features.h>.
33642         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33643         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33644         result of INLINE_SYSCALL directly, not via int variable.
33645         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33646         <kernel-features.h>.
33647         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33648         (renameat) [__NR_renameat]: Make code unconditional.
33649         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33650         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33651         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33652         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33653         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33654         (__ASSUME_ATFCTS): Do not undefine and redefine.
33655         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33656         <kernel-features.h>.
33657         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33658         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33659         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33660         <kernel-features.h>.
33661         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33662         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33663         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33664         (__ASSUME_ATFCTS): Do not undefine and redefine.
33665         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33666         <kernel-features.h>.
33667         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33668         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33669         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33670         <kernel-features.h>.
33671         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33672         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33674 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33676         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33678 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33680         [BZ #17069]
33681         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33682         constructed tree before returning error.
33683         * posix/bug-regexp36.c: Expand test case.
33685 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33687         [BZ #6803]
33688         * math/libm-test.inc (scalbln_test_date):
33689         Add errno expectations.
33690         * math/w_scalblnf.c: New File.
33691         Add wrapper which checks for setting errno to ERANGE.
33692         Add weak_alias for corresponding scalbln function.
33693         * math/w_scalbln.c: Likewise.
33694         * math/w_scalblnl.c: Likewise.
33695         * math/Makefile (libm-calls): Add w_scalbln.
33696         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33697         Remove weak_alias for corresponding scalbln function.
33698         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33699         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33700         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33701         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33702         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33703         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33704         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33705         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33706         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33707         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33708         Remove long_double_symbol for scalblnl function in libm, libc.
33709         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33710         Add wrapper which checks for setting errno to ERANGE.
33711         Add long_double_symbol for scalblnl function in libm, libc.
33712         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33713         Remove long_double_symbol for scalblnl in libm.
33714         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33715         Add wrapper which checks for setting errno to ERANGE.
33716         Add long_double_symbol for scalblnl function in libm.
33717         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33718         Do not use wrapper because of own implementation.
33720 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33722         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33723         3 bytes for __pad1 for x32.
33724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33726 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33727             H.J. Lu  <hongjiu.lu@intel.com>
33729         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33730         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33731         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33732         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33733         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33735 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33737         [BZ #17069]
33738         * posix/regcomp.c (parse_expression): Deallocate partially
33739         constructed tree before returning error.
33740         * posix/Makefile.c (tests): Add bug-regex36.
33741         (generated): Add bug-regex36.mtrace.
33742         (tests-special): Add $(objpfx)bug-regex36-mem.out
33743         (bug-regex36-ENV): New variable.
33744         ($(objpfx)bug-regex36-mem.out): New rule.
33745         * posix/bug-regex36.c: New file.
33747 2014-06-19  Will Newton  <will.newton@linaro.org>
33749         * malloc/malloc.c (systrim): If extra is zero then return
33750         early.
33752 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33754         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33756 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33758         * sysdeps/aarch64/strchr.S: New file.
33760 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33762         [BZ #17022]
33763         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33764         from arguments -2 or below.
33765         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33766         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33768 2014-06-18  Andreas Schwab  <schwab@suse.de>
33770         [BZ #17062]
33771         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33772         of a bracket expr not to run off the end of the string.
33773         * posix/Makefile (tests): Add tst-fnmatch3.
33774         * posix/tst-fnmatch3.c: New file.
33776 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33778         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33779         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33780         [$(cross-compiling) = no]: Likewise.
33781         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33782         [$(cross-compiling) = no]: Likewise.
33784 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33786         [BZ #17031]
33787         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33788         double, adjusted for any remainder from the high double.
33789         * math/libm-test.inc (nearbyint): Add tests.
33790         (rint): Likewise.
33792 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33794         * nptl/sysdeps/powerpc/Makefile: Moved ...
33795         * sysdeps/powerpc/nptl/Makefile: ... here.
33796         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33797         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33798         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33799         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33800         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33801         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33802         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33803         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33804         * nptl/sysdeps/powerpc/tls.h: Moved ...
33805         * sysdeps/powerpc/nptl/tls.h: ... here.
33807 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33809         [BZ #16681]
33810         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33811         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33812         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33813         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33814         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33815         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33816         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33817         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33818         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33820 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33822         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33824 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33826         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33827         defined operator.
33829         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33830         $TIMEOUTFACTOR.
33832 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33834         [BZ #17058]
33835         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33836         non-executed part of the test.
33838 2014-06-16  Andreas Schwab  <schwab@suse.de>
33840         * string/bits/string2.h (strdup, strndup): Update feature guard.
33842 2014-06-14  David S. Miller  <davem@davemloft.net>
33844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33846 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33848         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33849         that was previously under [RESET_PID].
33850         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33852         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33853         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33854         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33855         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33856         (__libc_vfork): New strong alias.
33857         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33859 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33861         * sysdeps/generic/elide.h: New file.
33863 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33865         * Makefile (installed-headers): Adjust path of pthread.h header.
33867 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33869         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33870         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33871         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33872         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33874         * nptl/sysdeps/s390/Makefile: Moved ...
33875         * sysdeps/s390/nptl/Makefile: ... here.
33876         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33877         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33878         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33879         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33880         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33881         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33882         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33883         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33884         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33885         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33886         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33887         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33888         * nptl/sysdeps/s390/tls.h: Moved ...
33889         * sysdeps/s390/nptl/tls.h: ... here.
33891         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33892         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33894 2014-06-13  David S. Miller  <davem@davemloft.net>
33896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33899         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33903         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33904         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33905         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33906         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33907         Remove RESET_PID cpp guards.
33908         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33909         Remove RESET_PID cpp guards.
33910         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33912 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33914         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33915         __sp to uintptr_t.
33917 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33919         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33920         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33921         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33922         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33923         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33925         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33927         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33928         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33929         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33930         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33931         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33933         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33934         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33936         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33937         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33938         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33940         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33941         (pthread_rwlock_rdlock): Add elision.
33942         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33943         (pthread_rwlock_wrlock): Add elision.
33944         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33945         (pthread_rwlock_trywrlock): Add elision.
33946         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33947         (pthread_rwlock_tryrdlock): Add elision.
33948         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33949         (pthread_rwlock_tryrdlock): Add elision unlock.
33950         * nptl/sysdeps/pthread/pthread.h:
33951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33952         (PTHREAD_RWLOCK_INITIALIZER,
33953         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33954         Handle new elision field.
33955         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33956         * sysdeps/arm/nptl/bits/pthreadtypes.h
33957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33958         * sysdeps/sh/nptl/bits/pthreadtypes.h
33959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33960         * sysdeps/tile/nptl/bits/pthreadtypes.h
33961         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33962         * sysdeps/a/nptl/bits/pthreadtypes.h
33963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33964         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33966         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33968         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33970         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33972         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33973         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33974         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33976         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33978         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33980         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33981         (elision_init): Set try_xbegin to zero when no RTM.
33982         * sysdeps/x86/nptl/bits/pthreadtypes.h
33983         (pthread_rwlock_t): Change __pad1 to __rwelision.
33984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33986 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33988         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33989         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33990         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33991         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33993 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33995         [BZ #16996]
33996         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33997         that the cached result has been set before returning it.
33999 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34001         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34002         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34003         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34004         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34005         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34006         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34008         * nptl/sysdeps/sparc/Makefile: Moved ...
34009         * sysdeps/sparc/nptl/Makefile: ... here.
34010         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34011         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34012         * nptl/sysdeps/sparc/tls.h: Moved ...
34013         * sysdeps/sparc/nptl/tls.h: ... here.
34014         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34015         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34016         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34017         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34018         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34019         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34020         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34021         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34022         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34023         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34024         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34025         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34026         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34027         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34028         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34029         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34030         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34032         Update #include.
34033         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34034         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34035         Update #include.
34036         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34038         Update #include.
34039         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34040         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34041         Update #include.
34043         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34045         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34046         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34048         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34049         (struct list_links): Type removed.
34050         (struct thread_node, struct timer_node): Replace struct list_links
34051         with struct list_head.
34052         (list_unlink_ip): Likewise.
34053         * sysdeps/pthread/timer_routines.c
34054         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34055         (list_append, list_insbefore): Likewise.
34056         (list_init): Function removed.
34057         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34058         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34059         * sysdeps/pthread/Makefile: ... here, new file.
34061         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34062         * sysdeps/nptl/Implies: ... here.
34063         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34064         * nptl/sysdeps/pthread/list.h: Moved ...
34065         * include/list.h: ... here.
34066         * nptl/sysdeps/pthread/createthread.c: Moved ...
34067         * nptl/createthread.c: ... here.
34068         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34069         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34070         * nptl/pt-longjmp.c: ... here.
34071         * nptl/sysdeps/pthread/Makefile: Moved ...
34072         * sysdeps/nptl/Makefile: ... here.
34073         * nptl/sysdeps/pthread/Subdirs: Moved ...
34074         * sysdeps/nptl/Subdirs: ... here.
34075         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34076         * sysdeps/nptl/aio_misc.h: ... here.
34077         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34078         * sysdeps/nptl/bits/libc-lock.h: ... here.
34079         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34080         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34081         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34082         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34083         * nptl/sysdeps/pthread/configure: Moved ...
34084         * sysdeps/nptl/configure: ... here.
34085         * nptl/sysdeps/pthread/configure.ac: Moved ...
34086         * sysdeps/nptl/configure.ac: ... here.
34087         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34088         * sysdeps/nptl/gai_misc.h: ... here.
34089         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34090         * sysdeps/nptl/librt-cancellation.c: ... here.
34091         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34092         * sysdeps/nptl/malloc-machine.h: ... here.
34093         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34094         * sysdeps/nptl/pthread-functions.h: ... here.
34095         * nptl/sysdeps/pthread/pthread.h: Moved ...
34096         * sysdeps/nptl/pthread.h: ... here.
34097         * nptl/sysdeps/pthread/setxid.h: Moved ...
34098         * sysdeps/nptl/setxid.h: ... here.
34099         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34100         * sysdeps/nptl/sigfillset.c: ... here.
34101         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34102         * sysdeps/nptl/tcb-offsets.h: ... here.
34103         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34104         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34105         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34106         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34107         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34108         * sysdeps/pthread/allocalim.h: ... here.
34109         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34110         * sysdeps/pthread/bits/sigthread.h: ... here.
34111         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34112         * sysdeps/pthread/flockfile.c: ... here.
34113         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34114         * sysdeps/pthread/ftrylockfile.c: ... here.
34115         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34116         * sysdeps/pthread/funlockfile.c: ... here.
34117         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34118         * sysdeps/pthread/posix-timer.h: ... here.
34119         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34120         * sysdeps/pthread/timer_create.c: ... here.
34121         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34122         * sysdeps/pthread/timer_delete.c: ... here.
34123         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34124         * sysdeps/pthread/timer_getoverr.c: ... here.
34125         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34126         * sysdeps/pthread/timer_gettime.c: ... here.
34127         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34128         * sysdeps/pthread/timer_routines.c: ... here.
34129         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34130         * sysdeps/pthread/timer_settime.c: ... here.
34131         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34132         * sysdeps/pthread/tst-timer.c: ... here.
34133         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34134         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34136         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34137         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34139         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34140         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34141         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34142         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34143         Update #include target.
34144         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34145         * sysdeps/i386/i686/nptl/Makefile: ... here.
34146         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34147         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34148         Update #include target.
34149         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34150         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34151         * nptl/sysdeps/i386/Makefile: Moved ...
34152         * sysdeps/i386/nptl/Makefile: ... here.
34153         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34154         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34155         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34156         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34157         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34158         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34159         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34160         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34161         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34162         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34163         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34164         * nptl/sysdeps/i386/tls.h: Moved ...
34165         * sysdeps/i386/nptl/tls.h: ... here.
34167         * sysdeps/sh/Makefile [$(subdir) = csu]
34168         (gen-as-const-headers): Add tcb-offsets.sym.
34169         * nptl/sysdeps/sh/Makefile: File removed.
34170         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34171         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34172         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34173         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34174         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34175         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34176         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34177         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34178         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34179         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34180         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34181         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34182         * nptl/sysdeps/sh/tls.h: Moved ...
34183         * sysdeps/sh/nptl/tls.h: ... here.
34184         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34185         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34186         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34187         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34188         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34189         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34190         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34191         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34192         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34193         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34195         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34196         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34197         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34199         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34200         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34201         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34202         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34203         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34205         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34206         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34207         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34208         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34209         Moved ...
34210         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34211         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34212         Moved ...
34213         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34214         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34215         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34216         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34217         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34218         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34219         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34220         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34221         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34222         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34223         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34224         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34225         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34226         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34227         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34228         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34229         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34230         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34231         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34233 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34235         * posix/spawn_faction_addopen.c: Include string.h.
34237 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34239         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34240         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34241         * nptl/sysdeps/x86_64/Makefile: Moved ...
34242         * sysdeps/x86_64/nptl/Makefile: ... here.
34243         * nptl/sysdeps/x86_64/configure: Moved ...
34244         * sysdeps/x86_64/nptl/configure: ... here.
34245         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34246         * sysdeps/x86_64/nptl/configure.ac: ... here.
34247         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34248         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34249         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34250         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34251         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34252         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34253         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34254         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34255         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34256         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34257         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34258         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34259         * nptl/sysdeps/x86_64/tls.h: Moved ...
34260         * sysdeps/x86_64/nptl/tls.h: ... here.
34261         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34262         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34263         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34264         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34266         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34268 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34272 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34274         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34275         type.
34276         [POSIX] (off_t): Likewise.
34277         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34278         [POSIX] (S_ISBLK): Require macro.
34279         [POSIX] (S_ISCHR): Likewise.
34280         [POSIX] (S_ISDIR): Likewise.
34281         [POSIX] (S_ISFIFO): Likewise.
34282         [POSIX] (S_ISREG): Likewise.
34283         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34284         optional-macro.
34285         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34286         type.
34287         [POSIX] (time_t): Likewise.
34288         [POSIX] (timer_t): Likewise.
34290 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34292         [BZ #17048]
34293         * posix/spawn_int.h (struct __spawn_action): Make the path string
34294         non-const to support deallocation.
34295         * posix/spawn_faction_addopen.c
34296         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34297         * posix/spawn_faction_destroy.c
34298         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34299         path in all spawn_do_open actions.
34300         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34301         posix_spawn_file_actions_addopen.
34303 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34305         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34306         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34307         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34308         conditional code always true.
34309         (__libc_vfork): New alias.
34311 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34313         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34314         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34316         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34318         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34319         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34321         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34322         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34324         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34325         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34327 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34329         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34330         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34331         multiarch strcmp for PPC64.
34332         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34333         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34335         multiarch optimizations.
34336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34337         (__libc_ifunc_impl_list): Likewise.
34339 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34341         * benchtests/scripts/validate_benchout.py: New script.
34342         * benchtests/Makefile (bench-func): Call it.
34343         * benchtests/scripts/benchout.schema.json: New file.
34345 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34347         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34348         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34349         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34350         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34351         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34352         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34353         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34354         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34355         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34356         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34357         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34358         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34359         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34360         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34361         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34362         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34364         Moved ...
34365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34366         ... here.
34367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34368         Moved ...
34369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34371         Moved ...
34372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34373         ... here.
34374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34375         Moved ...
34376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34377         ... here.
34378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34379         Moved ...
34380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34382         Moved ...
34383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34384         ... here.
34385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34386         Moved ...
34387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34388         ... here.
34389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34390         Moved ...
34391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34393         Moved ...
34394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34395         ... here.
34396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34397         Moved ...
34398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34399         ... here.
34400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34401         Moved ...
34402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34403         ... here.
34404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34405         Moved ...
34406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34408         Moved ...
34409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34410         ... here.
34411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34412         Moved ...
34413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34414         ... here.
34415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34416         Moved ...
34417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34418         ... here.
34419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34420         Moved ...
34421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34423         Moved ...
34424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34425         ... here.
34426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34427         Moved ...
34428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34429         ... here.
34430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34431         Moved ...
34432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34434         Moved ...
34435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34436         ... here.
34437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34438         Moved ...
34439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34441         Moved ...
34442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34444         Moved ...
34445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34446         ... here.
34447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34448         Moved ...
34449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34450         ... here.
34451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34452         Moved ...
34453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34454         ... here.
34455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34456         Moved ...
34457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34459         Moved ...
34460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34461         ... here.
34462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34463         Moved ...
34464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34465         ... here.
34466         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34467         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34469         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34471         Moved ...
34472         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34473         ... here.
34474         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34475         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34477         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34478         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34479         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34481         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34482         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34483         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34485         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34487         Moved ...
34488         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34489         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34490         Moved ...
34491         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34492         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34493         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34495         Moved ...
34496         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34497         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34498         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34499         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34500         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34501         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34502         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34504 2014-06-10  Wilco  <wdijkstr@arm.com>
34506         * math/test-fenv-return.c: New file.
34507         * math/Makefile: Add new test test-fenv-return.
34509 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34511         [BZ #17042]
34512         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34513         when x - 1 is zero.
34514         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34515         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34516         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34517         0.0L for an argument of 1.0L.
34518         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34519         Likewise.
34520         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34521         value when x - 1 is zero.
34522         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34523         * sysdeps/i386/fpu/libm-test-ulps: Update.
34524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34526 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34528         [BZ #15119]
34529         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34531 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34533         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34534         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34536 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34538         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34539         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34541         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34542         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34544         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34545         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34547         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34548         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34550         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34551         if not already defined.
34552         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34553         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34554         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34555         (TLS_INIT_TP): Use it.
34556         (TLS_DEFINE_INIT_TP): New macro.
34557         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34559 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34561         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34562         constant.
34563         [POSIX] (IXANY): Likewise.
34564         [POSIX] (OLCUC): Likewise.
34565         [POSIX || POSIX2008] (CBAUD): Do not allow.
34566         [POSIX || POSIX2008] (DEFECHO): Likewise.
34567         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34568         [POSIX || POSIX2008] (ECHOKE): Likewise.
34569         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34570         [POSIX || POSIX2008] (EXTA): Likewise.
34571         [POSIX || POSIX2008] (EXTB): Likewise.
34572         [POSIX || POSIX2008] (FLUSHO): Likewise.
34573         [POSIX || POSIX2008] (LOBLK): Likewise.
34574         [POSIX || POSIX2008] (PENDIN): Likewise.
34575         [POSIX || POSIX2008] (SWTCH): Likewise.
34576         [POSIX || POSIX2008] (VDISCARD): Likewise.
34577         [POSIX || POSIX2008] (VDSUSP): Likewise.
34578         [POSIX || POSIX2008] (VLNEXT): Likewise.
34579         [POSIX || POSIX2008] (VREPRINT): Likewise.
34580         [POSIX || POSIX2008] (VSTATUS): Likewise.
34581         [POSIX || POSIX2008] (VWERASE): Likewise.
34582         (B*): Change to B[0123456789]*.
34583         * conform/data/time.h-data [POSIX || UNIX98]
34584         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34585         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34586         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34587         [POSIX] (tm_*): Do not allow.
34589 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34591         * Makefile (install): Don't set LANGUAGE.
34592         * Makefile.in (install): Likewise.
34593         * assert/Makefile (test-assert-ENV): Remove variable.
34594         (test-assert-perr-ENV): Likewise.
34595         * elf/Makefile (neededtest4-ENV): Likewise.
34596         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34597         [$(cross-compiling) = no]: Don't set LANGUAGE.
34598         * io/ftwtest-sh (LANG): Remove variable.
34599         * libio/Makefile (tst-widetext-ENV): Likewise.
34600         * manual/install.texi (Running make install): Don't refer to
34601         environment settings for make install.
34602         * INSTALL: Regenerated.
34603         * nptl/tst-tls6.sh: Don't set LANG.
34604         * posix/globtest.sh (LANG): Remove variable.
34605         * string/Makefile (tester-ENV): Likewise.
34606         (inl-tester-ENV): Likewise.
34607         (noinl-tester-ENV): Likewise.
34608         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34609         [$(cross-compiling) = no]: Don't set LANGUAGE.
34610         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34611         without explicit environment settings.
34613 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34615         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34616         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34617         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34618         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34620 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34622         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34623         other files in the crypt directory.
34624         * crypt/crypt.c: Remove duplicate includes.
34625         * crypt/crypt-entry.c: Likewise.
34626         * crypt/crypt_util.c: Likewise.
34628 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34630         * Makeconfig (run-program-env): New variable.
34631         (run-program-prefix-before-env): Likewise.
34632         (run-program-prefix-after-env): Likewise.
34633         (run-program-prefix): Define in terms of new variables.
34634         (built-program-cmd-before-env): New variable.
34635         (built-program-cmd-after-env): Likewise.
34636         (built-program-cmd): Define in terms of new variables.
34637         (test-program-prefix-before-env): New variable.
34638         (test-program-prefix-after-env): Likewise.
34639         (test-program-prefix): Define in terms of new variables.
34640         (test-program-cmd-before-env): New variable.
34641         (test-program-cmd-after-env): Likewise.
34642         (test-program-cmd): Define in terms of new variables.
34643         * Rules (make-test-out): Use $(run-program-env).
34644         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34645         (help): Do not mention environment variables.  Mention
34646         --timeoutfactor option.
34647         (timeoutfactor): New variable.
34648         (blacklist_exports): Remove function.
34649         (exports): Remove variable.
34650         (command): Do not include ${exports}.
34651         * manual/install.texi (Configuring and compiling): Do not mention
34652         test wrappers preserving environment variables.  Mention that last
34653         assignment to a variable must take precedence.
34654         * INSTALL: Regenerated.
34655         * benchtests/Makefile (run-bench): Use $(run-program-env).
34656         * catgets/Makefile ($(objpfx)test1.cat): Use
34657         $(built-program-cmd-before-env), $(run-program-env) and
34658         $(built-program-cmd-after-env).
34659         ($(objpfx)test2.cat): Do not specify environment variables
34660         explicitly.
34661         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34662         $(run-program-env) and $(built-program-cmd-after-env).
34663         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34664         $(run-program-env) and $(test-program-cmd-after-env).
34665         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34666         explicitly.
34667         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34668         run_program_env and test_program_cmd_after_env arguments.
34669         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34670         * elf/tst-pathopt.sh: Use run_program_env argument.
34671         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34672         $(test-wrapper-env) and $(run-program-env).
34673         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34674         run_program_env arguments.
34675         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34676         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34677         $(test-program-prefix-before-env), $(run-program-env) and
34678         $(test-program-prefix-after-env).
34679         ($(objpfx)tst-gettext2.out): Likewise.
34680         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34681         run_program_env and test_program_prefix_after_env arguments.
34682         * intl/tst-gettext2.sh: Likewise.
34683         * intl/tst-gettext4.sh: Do not set environment variables
34684         explicitly.
34685         * intl/tst-gettext6.sh: Likewise.
34686         * intl/tst-translit.sh: Likewise.
34687         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34688         $(test-program-prefix-before-env), $(run-program-env) and
34689         $(test-program-prefix-after-env).
34690         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34691         run_program_env and test_program_prefix_after_env arguments.
34692         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34693         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34694         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34695         explicitly with each use of ${test_wrapper_env}.
34696         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34697         $(test-program-prefix-before-env), $(run-program-env) and
34698         $(test-program-prefix-after-env).
34699         * posix/tst-getconf.sh: Do not set environment variables
34700         explicitly.
34701         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34702         run_program_env and test_program_prefix_after_env arguments.
34703         * stdio-common/tst-printf.sh: Do not set environment variables
34704         explicitly.
34705         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34706         $(test-program-prefix-before-env), $(run-program-env) and
34707         $(test-program-prefix-after-env).
34708         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34709         run_program_env and test_program_prefix_after_env arguments.
34710         Split $test calls into $test_pre and $test.
34711         * timezone/Makefile (build-testdata): Use
34712         $(built-program-cmd-before-env), $(run-program-env) and
34713         $(built-program-cmd-after-env).
34715 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34717         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34718         strlen for non SHARED builds.
34720 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34722         * nptl/allocatestack.c (check_list): Inlined function...
34723         (__reclaim_stacks): ... here.
34725 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34727         [BZ #15698]
34728         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34729         memory overrun.
34731 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34733         * Rules (make-test-out): Include
34734         LOCPATH=$(common-objpfx)localedata in default environment.
34735         * debug/Makefile (tst-chk1-ENV): Remove variable.
34736         (tst-chk2-ENV): Likewise.
34737         (tst-chk3-ENV): Likewise.
34738         (tst-chk4-ENV): Likewise.
34739         (tst-chk5-ENV): Likewise.
34740         (tst-chk6-ENV): Likewise.
34741         (tst-lfschk1-ENV): Likewise.
34742         (tst-lfschk2-ENV): Likewise.
34743         (tst-lfschk3-ENV): Likewise.
34744         (tst-lfschk4-ENV): Likewise.
34745         (tst-lfschk5-ENV): Likewise.
34746         (tst-lfschk6-ENV): Likewise.
34747         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34748         (tst-iconv7-ENV): Likewise.
34749         * intl/Makefile (LOCPATH-ENV): Likewise.
34750         (tst-codeset-ENV): Likewise.
34751         (tst-gettext3-ENV): Likewise.
34752         (tst-gettext5-ENV): Likewise.
34753         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34754         (tst-fopenloc-ENV): Likewise.
34755         (tst-fgetws-ENV): Remove variable.
34756         (tst-ungetwc1-ENV): Likewise.
34757         (tst-ungetwc2-ENV): Likewise.
34758         (bug-ungetwc2-ENV): Likewise.
34759         (tst-swscanf-ENV): Likewise.
34760         (bug-ftell-ENV): Likewise.
34761         (tst-fgetwc-ENV): Likewise.
34762         (tst-fseek-ENV): Likewise.
34763         (tst-ftell-partial-wide-ENV): Likewise.
34764         (tst-ftell-active-handler-ENV): Likewise.
34765         (tst-ftell-append-ENV): Likewise.
34766         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34767         (tst-regexloc-ENV): Likewise.
34768         (bug-regex1-ENV): Likewise.
34769         (tst-regex-ENV): Likewise.
34770         (tst-regex2-ENV): Likewise.
34771         (bug-regex5-ENV): Likewise.
34772         (bug-regex6-ENV): Likewise.
34773         (bug-regex17-ENV): Likewise.
34774         (bug-regex18-ENV): Likewise.
34775         (bug-regex19-ENV): Likewise.
34776         (bug-regex20-ENV): Likewise.
34777         (bug-regex22-ENV): Likewise.
34778         (bug-regex23-ENV): Likewise.
34779         (bug-regex25-ENV): Likewise.
34780         (bug-regex26-ENV): Likewise.
34781         (bug-regex30-ENV): Likewise.
34782         (bug-regex32-ENV): Likewise.
34783         (bug-regex33-ENV): Likewise.
34784         (bug-regex34-ENV): Likewise.
34785         (bug-regex35-ENV): Likewise.
34786         (tst-rxspencer-ENV): Likewise.
34787         (tst-rxspencer-no-utf8-ENV): Likewise.
34788         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34789         (tst-sscanf-ENV): Likewise.
34790         (tst-swprintf-ENV): Likewise.
34791         (tst-swscanf-ENV): Likewise.
34792         (test-vfprintf-ENV): Likewise.
34793         (scanf13-ENV): Likewise.
34794         (bug14-ENV): Likewise.
34795         (tst-grouping-ENV): Likewise.
34796         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34797         (tst-strtod3-ENV): Likewise.
34798         (tst-strtod4-ENV): Likewise.
34799         (tst-strtod5-ENV): Likewise.
34800         (testmb2-ENV): Likewise./
34801         * string/Makefile (tst-strxfrm-ENV): Likewise.
34802         (tst-strxfrm2-ENV): Likewise.
34803         (bug-strcoll1-ENV): Likewise.
34804         (test-strcasecmp-ENV): Likewise.
34805         (test-strncasecmp-ENV): Likewise.
34806         * time/Makefile (tst-strptime-ENV): Likewise.
34807         (tst-ftime_l-ENV): Likewise.
34808         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34809         (tst-mbrtowc-ENV): Likewise.
34810         (tst-wcrtomb-ENV): Likewise.
34811         (tst-mbrtowc2-ENV): Likewise.
34812         (tst-c16c32-1-ENV): Likewise.
34813         (tst-mbsnrtowcs-ENV): Likewise.
34815 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34817         * manual/resource.texi (How to get information about the memory
34818         subsystem?): Fix typo.
34819         Reported by Peon de la Parra Ivan <peon@keba.com>
34821 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34823         [BZ #16882]
34824         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34825         (pthread_spin_lock): Branch out of spin loop to proper location.
34826         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34827         (pthread_spin_lock): Likewise.
34829         * nptl/tst-spin4.c: New test.
34830         * nptl/Makefile (tests): Add tst-spin4.
34832 2014-06-03  Andreas Schwab  <schwab@suse.de>
34834         [BZ #15946]
34835         * resolv/res_send.c (send_dg): Reload file descriptor after
34836         calling reopen.
34838 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34840         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34842 2014-06-03  Richard Henderson  <rth@redhat.com>
34844         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34845         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34846         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34847         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34848         in the SAVE_PID block.
34849         (__libc_vfork): New alias.
34850         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34852         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34853         child in registers, not on the stack.  Remove RESET_PID conditionals.
34854         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34856 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34858         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34860 2014-06-03  Wilco  <wdijkstr@arm.com>
34862         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34863         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34864         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34865         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34866         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34867         Likewise.
34869 2014-06-03  Wilco  <wdijkstr@arm.com>
34871         * sysdeps/aarch64/fpu/math_private.h
34872         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34873         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34874         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34875         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34876         Fix declarations.
34878 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34880         * crypt/crypt-private.h: Include ufc-crypt.h.
34881         (__b64_from_24bit): Declare extern.
34882         * crypt/crypt_util.c(__b64_from_24bit): New function.
34883         (b64t): New static const variable.
34884         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34885         (b64t): Remove variable.
34886         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34887         * crypt/sha256-crypt.c: Include crypt-private.h.
34888         (b64t): Remove variable.
34889         (__sha256_crypt_r): Remove b64_from_24bit and replace
34890         with __b64_from_24bit.
34891         * crypt/sha512-crypt.c: Likewise.
34893 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34895         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34896         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34897         Label the code __libc_vfork rather than __vfork.
34898         [!NOT_IN_libc] (vfork): Define as weak alias.
34899         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34900         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34901         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34903 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34905         * malloc/malloc.c (malloc_info): Fix format specifier for
34906         n_mmaps.
34908 2014-06-02  Wilco  <wdijkstr@arm.com>
34910         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34911         FPCR write.
34913 2014-06-02  Wilco  <wdijkstr@arm.com>
34915         [BZ #17009]
34916         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34917         Rewrite to reduce FPCR/FPSR accesses.
34919 2014-06-01  David S. Miller  <davem@davemloft.net>
34921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34923 2014-05-31  David S. Miller  <davem@davemloft.net>
34925         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34926         to occur in round to nearest mode when |x| >= 2.0
34928 2014-05-30  Richard Henderson  <rth@twiddle.net>
34930         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34931         (PSEUDO_RET_NOERRNO): Remove.
34932         (ret): Don't redefine.
34933         (ret_NOERRNO): Define in terms of ret.
34934         (ret_ERRVAL): Likewise.
34936         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34937         use of PSEUDO_RET; perform the error check directly.
34939 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34941         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34942         with __int128_t.
34944 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34946         * malloc/malloc (malloc_info): Fix formatting.
34948 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34949             Roland McGrath  <roland@hack.frob.com>
34951         * malloc/malloc (malloc_info): Also print mmapped statistics.
34953 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34955         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34956         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34958 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34960         * malloc/malloc.c (malloc_info): Inline mi_arena.
34962 2014-05-29  Richard Henderson  <rth@twiddle.net>
34964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34965         Remove comma before expanding ASM_ARGS_##nr.
34966         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34967         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34968         of ASM_ARGS_##nr.
34969         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34970         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34971         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34972         (ASM_ARGS_1): Add leading comma.
34974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34975         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34976         to __errno_location.
34977         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34978         Remove the expected plt for __errno_location.
34980         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34981         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34982         call to __read_tp.
34984         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34985         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34986         it and break it down.
34987         (DOCARGS_0, DOCARGS_1): Do nothing.
34988         (DOCARGS_2): Update to store into the new stack frame.
34989         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34990         (UNDOCARGS_1): Update to restore from the new stack frame.
34991         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34992         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34994         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34995         (SINGLE_THREAD_P): New parameter for result regno.
34996         (PSEUDO): Update to match; use cbz instead of beq.
34998         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34999         Use ENTRY to define the _nocancel entry point.  Share the syscall
35000         and syscall error check paths with the cancel path.
35001         (PSEUDO_END): New.
35003         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35004         whitespace; tabs before and after asm mnemonics.
35006 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35008         [BZ #15132]
35009         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35010         Call fstat64 or stat64 internally, depending on arguments passed.
35011         Replace stat buffer argument with file descriptor argument.
35012         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35013         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35014         Pass fd to __internal_statvfs instead of calling fstat64.
35015         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35016         Pass fd to __internal_statvfs64 instead of calling fstat64.
35017         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35018         Pass -1 to __internal_statvfs instead of calling stat64.
35019         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35020         Pass -1 to __internal_statvfs64 instead of calling stat64.
35022 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35024         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35025         that was previously under [RESET_PID].
35026         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35028         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35029         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35031 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35033         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35035         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35036         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35038 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35040         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35042 2014-05-27  Andreas Schwab  <schwab@suse.de>
35044         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35045         TLS_INIT_TP macro.
35046         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35047         * elf/rtld.c (init_tls, dl_main): Likewise.
35048         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35049         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35050         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35051         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35052         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35053         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35054         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35055         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35056         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35057         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35058         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35059         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35060         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35061         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35062         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35063         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35064         * sysdeps/generic/tls.h: Update description.
35066 2014-05-27  Will Newton  <will.newton@linaro.org>
35068         [BZ #16990]
35069         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35070         and restore r2 rather than just restoring.
35072 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35074         [BZ #16724]
35075         * libio/tst-ftell-append.c: New test case.
35076         * libio/Makefile (tests): Add test case.
35077         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35078         append mode.
35079         * libio/wfileops.c (do_ftell_wide): Likewise.
35081 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35085         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35086         ...
35087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35089         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35090         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35091         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35092         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35093         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35094         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35096         Moved ...
35097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35099         Moved ...
35100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35101         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35102         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35103         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35104         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35105         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35106         ...
35107         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35108         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35109         Moved ...
35110         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35111         here.
35112         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35113         ...
35114         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35115         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35116         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35118         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35119         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35120         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35121         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35124         merge into ...
35125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35127         ...
35128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35130         ...
35131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35133         Moved ...
35134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35135         here.
35136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35137         Moved ...
35138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35140         Moved ...
35141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35144         conditional [RESET_PID].
35145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35147         removed.
35148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35149         removed.
35151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35152         <tcb-offsets.h>.
35153         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35154         (__libc_vfork): New strong alias.
35155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35156         removed.
35157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35158         Removed.
35160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35161         <tcb-offsets.h>.
35162         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35163         (__libc_vfork): New strong alias.
35164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35165         removed.
35166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35167         removed.
35169 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35171         * malloc/malloc.c (mi_arena): New function.
35172         (malloc_info): Remove nested function mi_arena. Call non-nosted
35173         function mi_arena.
35175 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35177         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35178         by insrwi.
35179         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35180         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35181         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35182         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35183         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35184         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35185         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35187 2014-05-26  Andreas Schwab  <schwab@suse.de>
35189         [BZ #16984]
35190         * locale/programs/repertoire.c (repertoire_read): Add slash
35191         between I18NPATH element and file name.
35192         * locale/programs/locfile.c (locfile_read): Likewise.
35194 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35196         * nptl/pthread_mutexattr_settype.c
35197         (__pthread_mutexattr_settype):
35198         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35200 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35202         * nptl/tst-mutex5 (do_test):
35203         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35205 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35207         * benchtests/README: Document 'init' directive.
35208         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35209         BENCH_INIT.
35210         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35211         (parse_file): Recognize 'init' directive.
35213 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35215         [BZ #16796]
35216         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35217         alignment of struct pthread.
35219 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35221         [BZ #16878]
35222         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35223         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35224         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35225         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35227 2014-05-25  Richard Henderson  <rth@twiddle.net>
35229         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35230         (SINGLE_THREAD_P_PIC): Remove.
35231         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35232         (SINGLE_THREAD_P_PIC): Remove.
35234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35235         branch to syscall error ...
35236         (PSEUDO): ... here.
35237         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35238         from __local_syscall_error to .Lsyscall_error.
35239         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35240         (SYSCALL_ERROR): Update label name.
35242         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35243         Do not use DOARGS/UNDOARGS.
35244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35245         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35246         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35247         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35248         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35251         block comment.
35253         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35254         define if !NOT_IN_libc.
35255         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35256         define with non-default symbol versions.
35258 2014-05-23  Richard Henderson  <rth@twiddle.net>
35260         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35261         (vfork, __vfork): Define via compat_symbol.
35263         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35264         [!HAVE_IFUNC] (vfork_compat): Remove.
35265         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35267 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35269         [BZ #16978]
35270         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35271         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35272         variable.
35274 2014-05-23  Richard Henderson  <rth@twiddle.net>
35276         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35277         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35278         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35279         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35281         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35282         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35283         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35284         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35285         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35286         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35287         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35288         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35289         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35290         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35291         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35292         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35293         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35294         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35295         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35296         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35297         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35298         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35299         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35300         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35301         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35302         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35303         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35304         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35305         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35306         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35307         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35308         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35309         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35310         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35311         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35312         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35313         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35314         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35315         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35316         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35317         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35318         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35319         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35320         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35321         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35322         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35323         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35324         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35325         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35326         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35328         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35330         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35331         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35332         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35333         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35334         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35335         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35336         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35338         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35339         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35340         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35341         before exiting on error.
35342         (__libc_vfork): New strong alias.
35343         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35344         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35346         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35347         that was previously under [RESET_PID].
35348         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35350         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35352 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35354         [BZ #16977]
35355         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35356         value when x - 1 is zero.
35357         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35358         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35359         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35360         0.0L for an argument of 1.0L.
35361         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35362         Likewise.
35363         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35364         value when x - 1 is zero.
35365         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35366         * sysdeps/i386/fpu/libm-test-ulps: Update.
35367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35369 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35371         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35372         alphasort and versionsort.
35374 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35376         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35377         macro.
35378         [copysignf]: Likewise.
35380 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35382         * crypt/md5-crypt.c: Fix formatting.
35384 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35386         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35387         (b64_from_24bit): New function.
35389 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35391         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35392         libc_hidden_builtin_def to ifunc.
35393         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35394         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35396 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35398         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35399         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35401 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35403         * nscd/Depend (linuxthreads): Remove.
35404         (nptl): Add.
35405         * resolv/Depend (linuxthreads): Remove.
35406         * rt/Depend (linuxthreads): Remove.
35408         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35409         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35410         $(common-objpfx)elf/.
35411         (link-libc-before-gnulib): Likewise.
35412         (elfobjdir): Remove variable.
35413         * Makefile (install): Use $(elf-objpfx) instead of
35414         $(common-objpfx)elf/.
35415         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35416         $(elfobjdir)/.
35417         (link-libc-deps): Likewise.
35418         ($(common-objpfx)libc.so): Likewise.
35419         ($(common-objpfx)linkobj/libc.so): Likewise.
35420         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35421         instead of $(common-objpfx)elf/.
35422         (symbolic-link-list): Likewise.
35423         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35424         [$(cross-compiling) = no]: Likewise.
35425         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35426         $(elfobjdir)/.
35427         (static-gnulib-arch): Likewise.
35428         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35429         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35430         $(common-objpfx)elf/.
35432 2014-05-21  Richard Henderson  <rth@redhat.com>
35434         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35435         (SINGLE_THREAD_P): Use the correct width load.  Fold
35436         into the ldr offset.
35438         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35439         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35441 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35443         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35444         (libgcc_s_resume): Use __attribute_used__.
35445         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35446         Likewise.
35448 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35450         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35451         optimization when used with float constants.
35453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35455 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35457         [BZ #16915]
35458         * locale/nl_langinfo_l.c: Make direct reference to every
35459         _nl_current_CATEGORY symbol.
35460         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35461         (tests-static): Add tst-langinfo-static.
35462         (tests-special): Add tst-langinfo-static.out.
35463         ($(objpfx)tst-langinfo.out): Redirect output.
35464         ($(objpfx)tst-langinfo-static.out): New.
35465         * localedata/tst-langinfo.sh: Send output to stdout.
35466         * localedata/tst-langinfo-static.c: New file.
35468         [BZ #16965]
35469         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35470         when the shift amount is modulo the limb size.
35472 2014-05-20  Richard Henderson  <rth@redhat.com>
35474         [BZ #16967]
35475         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35476         Change type of sa_flags from unsigned int to int.
35478         [BZ #16966]
35479         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35481         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35483 2014-05-20  Will Newton  <will.newton@linaro.org>
35485         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35486         Test the return value of the system call in the nocancel case.
35488 2014-05-20  Will Newton  <will.newton@linaro.org>
35489             Yvan Roux  <yvan.roux@linaro.org>
35491         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35492         #include of asm/ptrace.h.
35493         (PTRACE_GET_THREAD_AREA): Remove #undef.
35494         (PTRACE_GETHBPREGS): Likewise.
35495         (PTRACE_SETHBPREGS): Likewise.
35496         (struct user_regs_struct): New structure.
35497         (struct user_fpsimd_struct): New structure.
35498         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35499         #include of asm/ptrace.h and second #include of sys/user.h.
35500         (PTRACE_GET_THREAD_AREA): Remove #undef.
35501         (PTRACE_GETHBPREGS): Likewise.
35502         (PTRACE_SETHBPREGS): Likewise.
35503         (ELF_NGREG): Use new struct user_regs_struct.
35504         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35506 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35508         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35509         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35511 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35513         [BZ #16958]
35514         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35515         membar to avoid block loads/stores to overlap previous stores.
35517 2014-05-17  Richard Henderson  <rth@redhat.com>
35519         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35520         Create the __##syscall_name##_nocancel entry point.
35521         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35522         Remove; let the sysdep-cancel.h code create it.
35524 2014-05-17  David S. Miller  <davem@davemloft.net>
35526         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35527         Protect with __USE_GNU.
35528         (TIOCSET_TEMPT): Likewise.
35529         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35530         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35531         these are already provided in bits/ioctl-types.h
35533 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35535         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35536         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35538         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35539         Use wait4 regardless of [__NR_waitpid].
35541 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35543         PR libgcc/60166
35544         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35545         (_FP_NANSIGN_Q): Set the quiet bit.
35547 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35549         * benchtests/Makefile
35550         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35551         not $(common-objpfx)math/libm.so.
35552         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35553         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35554         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35555         $(common-objpfx)dlfcn/libdl.so.
35556         ($(objpfx)tst-audit8): Depend on $(libm), not
35557         $(common-objpfx)math/libm.so.
35558         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35559         not $(common-objpfx)dlfcn/libdl.so.
35560         * math/Makefile
35561         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35562         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35563         [$(build-shared) = yes].
35564         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35565         $(common-objpfx)nptl/libpthread.so.
35566         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35567         $(common-objpfx)math/libm.so$(libm.so-version) or
35568         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35569         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35570         $(common-objpfx)dlfcn/libdl.so.
35571         * setjmp/Makefile (link-libm): Remove variable.
35572         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35573         * stdio-common/Makefile (link-libm): Remove variable.
35574         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35575         * stdlib/Makefile (link-libm): Remove variable.
35576         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35577         ($(objpfx)tst-strtod-round): Likewise.
35578         ($(objpfx)tst-tininess): Likewise.
35579         ($(objpfx)tst-strtod-underflow): Likewise.
35580         ($(objpfx)tst-strtod6): Likewise.
35581         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35582         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35583         $(common-objpfx)dlfcn/libdl.so.
35585 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35587         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35588         BSD terminal modes definitions.
35590 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35592         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35593         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35595         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35596         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35597         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35598         Don't do #include_next.
35599         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35600         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35601         Don't do #include_next.
35602         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35603         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35604         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35605         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35607 2014-05-16  Allan McRae  <allan@archlinux.org>
35609         * po/sv.po: Update Swedish translation from translation project.
35611         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35612         in sed expression.
35614 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35616         [BZ #16917]
35617         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35618         errno if the TIOCGPTN ioctl fails with an error different than
35619         EINVAL.
35620         * login/tst-ptsname.c: New file.
35621         * login/Makefile (tests): Add tst-ptsname.
35623         [BZ #16943]
35624         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35625         and prlimit64.
35627 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35629         [BZ #16849]
35630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35631         herrno to return EAI_AGAIN.
35633 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35635         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35636         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35637         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35638         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35639         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35640         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35641         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35642         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35643         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35644         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35645         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35646         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35647         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35648         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35649         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35650         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35654         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35655         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35656         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35657         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35658         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35660         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35661         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35662         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35663         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35664         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35666         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35668         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35670         Moved ...
35671         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35673         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35675         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35677         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35679         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35681         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35683         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35685         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35687         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35689         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35691         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35693         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35695         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35697         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35699         Moved ...
35700         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35702         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35704         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35706         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35708         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35710         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35712         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35714         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35716         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35718         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35720         Moved ...
35721         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35723         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35725         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35726         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35727         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35728         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35729         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35730         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35731         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35732         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35733         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35734         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35735         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35736         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35737         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35738         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35739         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35740         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35741         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35742         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35743         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35744         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35745         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35746         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35747         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35748         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35749         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35750         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35751         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35752         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35753         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35754         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35755         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35757         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35758         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35760         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35761         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35762         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35763         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35764         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35765         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35766         Moved ...
35767         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35768         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35769         Moved ...
35770         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35771         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35772         Moved ...
35773         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35774         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35775         Moved ...
35776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35777         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35778         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35779         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35780         Moved ...
35781         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35782         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35783         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35784         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35785         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35786         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35787         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35788         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35789         Moved ...
35790         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35791         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35792         Moved ...
35793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35794         ... here.
35795         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35796         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35797         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35798         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35799         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35800         Moved ...
35801         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35802         ... here.
35803         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35804         Moved ...
35805         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35806         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35807         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35808         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35809         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35810         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35811         Moved ...
35812         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35813         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35814         Moved ...
35815         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35816         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35817         Moved ...
35818         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35819         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35820         Moved ...
35821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35822         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35823         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35824         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35825         Moved ...
35826         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35827         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35828         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35829         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35830         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35831         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35832         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35833         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35834         Moved ...
35835         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35836         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35837         Moved ...
35838         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35839         ... here.
35840         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35841         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35842         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35843         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35844         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35845         Moved ...
35846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35847         ... here.
35848         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35849         Moved ...
35850         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35851         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35852         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35853         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35854         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35856         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35858         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35859         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35860         Moved ...
35861         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35863         Moved ...
35864         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35865         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35866         Moved ...
35867         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35868         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35869         Moved ...
35870         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35871         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35872         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35873         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35874         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35875         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35876         Moved ...
35877         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35878         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35879         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35880         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35881         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35882         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35883         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35884         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35885         Moved ...
35886         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35887         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35888         Moved ...
35889         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35890         ... here.
35891         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35892         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35894         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35895         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35896         Moved ...
35897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35898         ... here.
35899         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35900         Moved ...
35901         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35902         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35903         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35904         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35905         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35906         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35907         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35909         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35910         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35911         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35913         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35914         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35916         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35917         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35919         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35920         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35921         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35923         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35924         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35925         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35926         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35927         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35928         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35929         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35930         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35931         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35932         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35933         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35934         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35935         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35937         Moved ...
35938         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35939         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35940         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35942         Moved ...
35943         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35944         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35945         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35947         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35948         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35949         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35951         Moved ...
35952         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35953         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35954         Moved ...
35955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35957         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35958         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35959         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35960         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35961         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35962         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35963         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35965         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35966         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35967         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35968         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35969         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35970         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35971         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35974         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35975         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35976         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35977         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35979         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35980         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35981         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35982         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35983         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35984         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35985         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35986         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35987         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35988         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35993         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35994         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35995         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35996         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35997         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35998         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35999         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36000         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36001         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36002         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36003         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36004         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36005         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36006         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36008         Update #include.
36009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36010         Likewise.
36011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36012         Likewise.
36013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36014         Likewise.
36015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36016         Likewise.
36017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36018         Likewise.
36019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36020         Likewise.
36021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36022         Likewise.
36023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36024         Likewise.
36025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36026         Likewise.
36027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36032         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36034         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36036         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36038         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36040         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36041         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36043         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36044         that was previously under [RESET_PID].
36045         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36046         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36047         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36049         * sysdeps/i386/nptl/Implies: New file.
36050         * sysdeps/x86_64/nptl/Implies: New file.
36051         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36052         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36053         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36054         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36056         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36057         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36058         (__libc_vfork): New strong alias.
36059         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36060         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36062         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36063         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36064         (__libc_vfork): New strong alias.
36065         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36066         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36068         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36069         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36070         (__libc_vfork): New strong alias.
36071         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36072         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36073         * nptl/pt-vfork.c: New file.
36074         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36075         (libpthread: GLIBC_2.20): New version set (empty).
36077 2014-05-14  Will Newton  <will.newton@linaro.org>
36079         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36080         rather than #if.
36082 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36084         [BZ #16564]
36085         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36086         arguments with exponent 65 or above.
36087         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36088         arguments 0x1p113L or above.
36089         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36090         to arguments 0x1p107L or above.
36091         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36092         positive arguments with exponent 65 or above.
36093         * math/auto-libm-test-in: Add more tests of log1p.
36094         * math/auto-libm-test-out: Regenerated.
36096         [BZ #16928]
36097         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36098         non-finite arguments is +0.
36099         * math/s_cacosf.c (__cacosf): Likewise.
36100         * math/s_cacosl.c (__cacosl): Likewise.
36101         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36102         * sysdeps/i386/fpu/libm-test-ulps: Update.
36103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36105         [BZ #16927]
36106         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36107         value.
36108         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36109         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36110         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36111         for explicit high bit of mantissa when testing for argument equal
36112         to 1.
36113         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36114         * sysdeps/i386/fpu/libm-test-ulps: Update.
36115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36117         [BZ #16516]
36118         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36119         (__erf): Scale by 16 instead of 8 in potentially underflowing
36120         case.  Ensure exception if result actually underflows.
36121         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36122         (__erff): Scale by 16 instead of 8 in potentially underflowing
36123         case.  Ensure exception if result actually underflows.
36124         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36125         (efx8): Remove variable.
36126         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36127         case.  Ensure exception if result actually underflows.
36128         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36129         (efx8): Remove variable.
36130         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36131         case.  Ensure exception if result actually underflows.
36132         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36133         (efx8): Remove variable.
36134         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36135         case.  Ensure exception if result actually underflows.
36136         * math/auto-libm-test-in: Add more tests of erf.
36137         * math/auto-libm-test-out: Regenerated.
36139 2014-05-14  Andreas Schwab  <schwab@suse.de>
36141         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36142         Remove code conditionalized on USE___THREAD.
36144         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36145         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36146         not definedness.
36148 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36150         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36151         Define unconditionally.
36152         (__ASSUME_O_CLOEXEC): Likewise.
36153         (__ASSUME_SOCK_CLOEXEC): Likewise.
36154         (__ASSUME_IN_NONBLOCK): Likewise.
36155         (__ASSUME_PIPE2): Likewise.
36156         (__ASSUME_EVENTFD2): Likewise.
36157         (__ASSUME_SIGNALFD4): Likewise.
36158         (__ASSUME_DUP3): Likewise.
36159         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36160         (__ASSUME_DUP3): Do not define.
36161         (__ASSUME_EVENTFD2): Likewise.
36162         (__ASSUME_IN_NONBLOCK): Likewise.
36163         (__ASSUME_O_CLOEXEC): Likewise.
36164         (__ASSUME_PIPE2): Likewise.
36165         (__ASSUME_SIGNALFD4): Likewise.
36166         (__ASSUME_SOCK_CLOEXEC): Likewise.
36167         (__ASSUME_UTIMES): Undefine.
36168         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36169         (__ASSUME_UTIMES): Do not define.
36170         (__ASSUME_O_CLOEXEC): Likewise.
36171         (__ASSUME_SOCK_CLOEXEC): Likewise.
36172         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36173         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36174         0x020621].
36175         (__ASSUME_PIPE2): Likewise.
36176         (__ASSUME_EVENTFD2): Likewise.
36177         (__ASSUME_SIGNALFD4): Likewise.
36178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36179         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36180         Do not define.
36181         (__ASSUME_EVENTFD2): Likewise.
36182         (__ASSUME_SIGNALFD4): Likewise.
36183         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36184         (__ASSUME_32BITUIDS): Likewise.
36185         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36186         (__ASSUME_IPC64): Likewise.
36187         (__ASSUME_ST_INO_64_BIT): Likewise.
36188         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36189         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36190         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36191         (__ASSUME_UTIMES): Do not define.
36192         (__ASSUME_PSELECT): Likewise.
36193         (__ASSUME_PPOLL): Likewise.
36194         (__ASSUME_O_CLOEXEC): Likewise.
36195         (__ASSUME_SOCK_CLOEXEC): Likewise.
36196         (__ASSUME_IN_NONBLOCK): Likewise.
36197         (__ASSUME_PIPE2): Likewise.
36198         (__ASSUME_EVENTFD2): Likewise.
36199         (__ASSUME_SIGNALFD4): Likewise.
36200         (__ASSUME_DUP3): Likewise.
36201         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36202         (__ASSUME_UTIMES): Likewise.
36203         (__ASSUME_O_CLOEXEC): Likewise.
36204         (__ASSUME_SOCK_CLOEXEC): Likewise.
36205         (__ASSUME_IN_NONBLOCK): Likewise.
36206         (__ASSUME_PIPE2): Likewise.
36207         (__ASSUME_EVENTFD2): Likewise.
36208         (__ASSUME_SIGNALFD4): Likewise.
36209         (__ASSUME_DUP3): Likewise.
36210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36211         (__ASSUME_UTIMES): Likewise.
36212         (__ASSUME_O_CLOEXEC): Likewise.
36213         (__ASSUME_SOCK_CLOEXEC): Likewise.
36214         (__ASSUME_IN_NONBLOCK): Likewise.
36215         (__ASSUME_PIPE2): Likewise.
36216         (__ASSUME_EVENTFD2): Likewise.
36217         (__ASSUME_SIGNALFD4): Likewise.
36218         (__ASSUME_DUP3): Likewise.
36219         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36220         Likewise.
36221         (__ASSUME_UTIMES): Likewise.
36222         (__ASSUME_EVENTFD2): Likewise.
36223         (__ASSUME_SIGNALFD4): Likewise.
36224         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36225         (__ASSUME_O_CLOEXEC): Likewise.
36226         (__ASSUME_SOCK_CLOEXEC): Likewise.
36227         (__ASSUME_IN_NONBLOCK): Likewise.
36228         (__ASSUME_PIPE2): Likewise.
36229         (__ASSUME_EVENTFD2): Likewise.
36230         (__ASSUME_SIGNALFD4): Likewise.
36231         (__ASSUME_DUP3): Likewise.
36232         (__ASSUME_UTIMES): Undefine.
36234         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36235         feclearexcept.  Remove symbol versioning code.
36236         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36237         symbol versioning code.
36238         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36239         symbol versioning code.
36240         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36241         feupdateenv.  Remove symbol versioning code.
36242         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36243         fegetexceptflag.  Remove symbol versioning code.
36244         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36245         fesetexceptflag.  Remove symbol versioning code.
36246         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36247         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36248         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36249         (__posix_fadvise64_l32): Remove prototype.
36250         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36251         code.
36253 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36255         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36256         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36257         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36258         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36260 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36262         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36263         current working directory
36265 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36267         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36268         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36269         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36270         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36271         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36272         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36273         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36274         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36275         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36276         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36277         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36278         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36279         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36280         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36281         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36282         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36283         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36284         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36285         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36286         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36287         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36288         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36289         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36290         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36291         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36292         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36293         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36294         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36295         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36296         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36297         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36298         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36299         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36300         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36301         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36302         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36303         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36304         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36305         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36306         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36307         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36308         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36310         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36311         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36313         * sysdeps/unix/sysv/linux/arm/Makefile
36314         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36315         Add rt-aeabi_unwind_cpp_pr1.
36316         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36317         Add nptl-aeabi_unwind_cpp_pr1.
36318         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36319         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36320         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36321         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36322         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36323         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36325         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36326         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36327         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36328         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36330         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36331         Deconditionalize the code that was previously under [RESET_PID].
36332         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36334         * sysdeps/generic/exit-thread.h: New file.
36335         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36336         * include/unistd.h (__exit_thread): Remove declaration.
36337         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36338         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36339         * csu/libc-start.c: Include <exit-thread.h>.
36340         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36341         * nptl/pthread_create.c: Include <exit-thread.h>.
36342         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36343         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36344         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36345         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36346         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36347         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36348         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36349         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36350         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36351         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36352         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36353         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36354         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36355         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36356         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36357         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36358         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36360 2014-05-13  Andreas Schwab  <schwab@suse.de>
36362         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36364 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36366         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36367         (__ASSUME_UTIMES): Do not condition on kernel version.
36368         (__ASSUME_PSELECT): Define unconditionally.
36369         (__ASSUME_PPOLL): Likewise.
36370         (__ASSUME_ATFCTS): Likewise.
36371         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36372         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36373         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36374         (__ASSUME_UTIMENSAT): Define unconditionally.
36375         (__ASSUME_PRIVATE_FUTEX): Likewise.
36376         (__ASSUME_FALLOCATE): Likewise.
36377         (__ASSUME_O_CLOEXEC): Likewise.
36378         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36379         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36380         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36381         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36382         (__ASSUME_IN_NONBLOCK): Likewise.
36383         (__ASSUME_PIPE2): Likewise.
36384         (__ASSUME_EVENTFD2): Likewise.
36385         (__ASSUME_SIGNALFD4): Likewise.
36386         (__ASSUME_DUP3): Likewise.
36387         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36388         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36389         (__ASSUME_AT_RANDOM): Likewise.
36390         (__ASSUME_PREADV): Likewise.
36391         (__ASSUME_PWRITEV): Likewise.
36392         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36393         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36394         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36395         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36396         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36398         (__ASSUME_O_CLOEXEC): Define unconditionally.
36399         (__ASSUME_PSELECT): Do not undefine conditionally.
36400         (__ASSUME_PPOLL): Likewise.
36401         (__ASSUME_ATFCTS): Likewise.
36402         (__ASSUME_SET_ROBUST_LIST): Likewise.
36403         (__ASSUME_UTIMENSAT): Likewise.
36404         (__ASSUME_FDATASYNC): Define unconditionally.
36405         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36406         (__ASSUME_SIGFRAME_V2): Likewise.
36407         )__ASSUME_EVENTFD2): Likewise.
36408         (__ASSUME_SIGNALFD4): Likewise.
36409         (__ASSUME_PSELECT): Do not undefine conditionally.
36410         (__ASSUME_PPOLL): Likewise.
36411         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36412         (__ASSUME_PSELECT): Define unconditionally.
36413         (__ASSUME_PPOLL): Likewise.
36414         (__ASSUME_O_CLOEXEC): Likewise.
36415         (__ASSUME_SOCK_CLOEXEC): Likewise.
36416         (__ASSUME_IN_NONBLOCK): Likewise.
36417         (__ASSUME_PIPE2): Likewise.
36418         (__ASSUME_EVENTFD2): Likewise.
36419         (__ASSUME_SIGNALFD4): Likewise.
36420         (__ASSUME_DUP3): Likewise.
36421         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36422         (__ASSUME_O_CLOEXEC): Likewise.
36423         (__ASSUME_SOCK_CLOEXEC): Likewise.
36424         (__ASSUME_IN_NONBLOCK): Likewise.
36425         (__ASSUME_PIPE2): Likewise.
36426         (__ASSUME_EVENTFD2): Likewise.
36427         (__ASSUME_SIGNALFD4): Likewise.
36428         (__ASSUME_DUP3): Likewise.
36429         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36430         (__ASSUME_EVENTFD2): Likewise.
36431         (__ASSUME_SIGNALFD4): Likewise.
36432         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36434 2014-05-12  Andreas Schwab  <schwab@suse.de>
36436         [BZ #16932]
36437         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36438         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36439         than maximum RPC packet size.
36440         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36441         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36442         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36443         (_nss_nis_getservbyport_r): Likewise.
36445 2014-05-12  Will Newton  <will.newton@linaro.org>
36447         * malloc/Makefile (tests): Add tst-mallopt.
36448         * malloc/tst-mallopt.c: New file.
36450 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36452         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36453         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36455 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36457         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36458         (tst-tlsmod6.so): Likewise.
36460 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36462         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36464 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36466         [BZ #16064]
36467         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36468         and <dl-procinfo.h>.
36469         (__fegetenv): Save SSE state in envp->__eip if supported.
36470         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36471         envp->__eip if supported.
36472         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36473         and <dl-procinfo.h>.
36474         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36475         __data_offset and __data_selector in environment to 0.  Set SSE
36476         state if supported.
36477         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36478         test-fenv-sse.
36479         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36480         -mfpmath=sse.
36481         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36483 2014-05-09  Will Newton  <will.newton@linaro.org>
36485         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36486         and libc_relro_required for ARM.
36487         * sysdeps/arm/preconfigure: Regenerate.
36489 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36490             Stefan Liebler  <stli@linux.vnet.ibm.com>
36492         * config.make.in (enable-lock-elision): New Makefile variable.
36493         * configure.ac: Likewise.
36494         * configure: Regenerate.
36495         * sysdeps/s390/configure.ac:
36496         Add check for gcc transactions support.
36497         * sysdeps/s390/configure: Regenerate.
36498         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36499         Build elision files if enabled.
36500         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36501         Add lock elision support for s390.
36502         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36503         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36504         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36505         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36506         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36507         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36508         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36509         Likewise.
36510         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36511         Likewise.
36512         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36513         Likewise.
36514         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36515         Likewise.
36516         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36517         (__lll_timedlock_elision, __lll_lock_elision)
36518         (__lll_unlock_elision, __lll_trylock_elision)
36519         (lll_timedlock_elision, lll_lock_elision)
36520         (lll_unlock_elision, lll_trylock_elision): Add.
36521         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36522         (pthread_mutex_t): Add lock elision support for s390.
36524 2014-05-14  Wilco  <wdijkstr@arm.com>
36526         * sysdeps/arm/fclrexcpt.c: Cleanup.
36527         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36528         * sysdeps/arm/feenablxcpt.c: Cleanup.
36529         * sysdeps/arm/fegetenv.c: Cleanup.
36530         * sysdeps/arm/fegetexcept.c: Cleanup.
36531         * sysdeps/arm/fegetround.c: Cleanup.
36532         * sysdeps/arm/feholdexcpt.c: Cleanup.
36533         * sysdeps/arm/fesetenv.c: Cleanup.
36534         * sysdeps/arm/fesetround.c: Cleanup.
36535         * sysdeps/arm/feupdateenv.c: Cleanup.
36536         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36537         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36538         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36539         * sysdeps/arm/ftestexcept.c: Cleanup.
36540         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36541         * sysdeps/arm/setfpucw.c: Cleanup.
36543 2014-05-09  Will Newton  <will.newton@linaro.org>
36545         * sysdeps/arm/armv7/strcmp.S: New file.
36546         * NEWS: Mention addition of ARMv7 optimized strcmp.
36548 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36550         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36551         look for %.ac rather than %.in.
36553         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36554         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36555         * sysdeps/mach/hurd/configure: Regenerated.
36556         * sysdeps/unix/sysv/linux/configure: Regenerated.
36558         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36560 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36562         [BZ# 16922]
36563         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36564         (LONG_SUB): Ditto.
36565         (PTR_SUB): Ditto.
36567 2014-05-07  Andreas Schwab  <schwab@suse.de>
36569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36570         when skipping over non-matching result from nscd.
36572 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36574         [BZ #16876]
36575         * nptl/sockperf.c (client): Check socket return value.
36577         [BZ #16877]
36578         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36579         nscd security class.
36581 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36583         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36584         * sysdeps/arm/unwind.h: ... here.
36586 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36588         [BZ# 16916]
36589         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36590         Define.
36592 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36594         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36595         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36596         multiarch strncpy for PPC64.
36597         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36598         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36600         multiarch optimizations.
36601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36602         (__libc_ifunc_impl_list): Likewise.
36603         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36604         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36605         multiarch stpncpy for PPC64.
36606         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36607         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36609 2014-05-06  Andreas Schwab  <schwab@suse.de>
36611         [BZ #16912]
36612         * gmon/mcount.c (_MCOUNT_DECL): Use
36613         atomic_compare_and_exchange_bool_acq instead of
36614         catomic_compare_and_exchange_bool_acq.
36616 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36618         * elf/Makefile (others, install-bin): Remove pldd.
36619         (pldd-modules): Variable removed.
36620         ($(objpfx)pldd): Target removed.
36621         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36622         (others, install-bin): Append pldd here.
36623         ($(objpfx)pldd): New target.
36625         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36626         to 0, so the first #if test emitted later doesn't see it undefined.
36627         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36628         * sysdeps/gnu/errlist.c: Regenerated.
36630 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36632         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36633         [libc_hidden_builtin_def]: Define to empty value.
36634         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36635         [libc_hidden_builtin_def]: Likewise.
36636         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36637         [libc_hidden_builtin_def]: Likewise.
36638         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36639         [libc_hidden_builtin_def]: Likewise.
36640         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36641         __redirect_memcpy and define ifunc as default hidden symbol.
36642         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36643         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36645 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36647         * locale/iso-4217.def: Reintroduce XDR currency.
36649 2014-05-04  Allan McRae  <allan@archlinux.org>
36651         * po/eo.po: Update Esperanto translation from translation project.
36653 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36655         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36656         and FEATURE_INDEX_MAX to 1.
36657         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36659 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36661         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36662         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36663         * iconvdata/big5.c (ONE_DIRECTION): Define.
36664         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36665         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36666         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36667         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36668         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36669         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36670         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36671         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36672         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36673         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36674         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36675         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36676         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36677         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36678         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36679         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36680         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36681         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36682         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36683         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36684         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36685         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36686         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36687         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36688         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36689         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36690         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36691         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36692         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36693         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36694         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36695         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36696         * iconvdata/johab.c (ONE_DIRECTION): Define.
36697         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36698         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36699         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36700         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36701         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36702         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36703         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36704         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36705         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36706         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36708 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36710         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36711         (_IO_JUMPS_OFFSET): Define to 0.
36713         * nptl/sysdeps/pthread/bits/libc-lock.h
36714         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36715         (__libc_lock_define_initialized_recursive): Always define using
36716         initializer.  Modern compilers treat uninitialized (implicit zero) and
36717         explicit zero initializers the same (i.e. put the datum in bss).
36719 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36721         * nscd/nscd-client.h: Include <string.h>.
36723 2014-05-01  David S. Miller  <davem@davemloft.net>
36725         [BZ #16885]
36726         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36727         multiple zero bytes exist at the end of a string.
36728         Reported by Aurelien Jarno <aurelien@aurel32.net>
36730         * string/test-strcmp.c (check): Add explicit test for situations where
36731         there are multiple zero bytes after the first.
36733 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36735         [BZ #16890]
36736         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36737         when compiling wprintf.
36738         * stdio-common/tstdiomisc.c (t3): New function.
36739         (main): Call it.
36741 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36743         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36744         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36745         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36746         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36748 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36750         * stdlib/longlong.h: Updated from GCC.
36752 2014-05-01  Will Newton  <will.newton@linaro.org>
36753             Bernard Ogden  <bernie.ogden@linaro.org>
36755         * NEWS: Update fixed bug list.
36757         [BZ #15119]
36758         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36760 2014-04-30  David S. Miller  <davem@davemloft.net>
36762         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36763         (libc_feholdexcept_setround_sparc_ctx): New function.
36764         (libc_fesetenv_sparc_ctx): Likewise.
36765         (libc_feupdateenv_sparc_ctx): Likewise.
36766         (libc_feholdsetround_sparc_ctx): Likewise.
36767         (libc_feholdexcept_setround_ctx): Define.
36768         (libc_feholdexcept_setroundf_ctx): Likewise.
36769         (libc_feholdexcept_setroundl_ctx): Likewise.
36770         (libc_fesetenv_ctx): Likewise.
36771         (libc_fesetenvf_ctx): Likewise.
36772         (libc_fesetenvl_ctx): Likewise.
36773         (libc_feupdateenv_ctx): Likewise.
36774         (libc_feupdateenvf_ctx): Likewise.
36775         (libc_feupdateenvl_ctx): Likewise.
36776         (libc_feresetround_ctx): Likewise.
36777         (libc_feresetroundf_ctx): Likewise.
36778         (libc_feresetroundl_ctx): Likewise.
36779         (libc_feholdsetround_ctx): Likewise.
36780         (libc_feholdsetroundf_ctx): Likewise.
36781         (libc_feholdsetroundl_ctx): Likewise.
36783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36784         with __USE_GNU instead of XOPEN cpp guards.
36786         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36787         0.
36789         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36790         with XOPEN cpp guards.
36792 2014-04-30  Julian Brown  <julian@codesourcery.com>
36794         [BZ #16888]
36795         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36796         handling.
36798 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36800         [BZ #9894]
36801         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36802         Change to 2.6.32.
36803         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36804         * sysdeps/unix/sysv/linux/configure: Regenerated.
36805         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36806         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36807         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36808         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36809         * README: Update reference to required Linux kernel version.
36810         * manual/install.texi (Linux): Update reference to required Linux
36811         kernel headers version.
36812         * INSTALL: Regenerated.
36814         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36815         header inclusion.
36816         [POSIX] (limits.h): Likewise.
36817         [POSIX] (math.h): Likewise.
36818         [POSIX] (sys/wait.h): Likewise.
36819         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36820         function.
36821         [POSIX] (stddef.h): Do not allow header inclusion.
36823 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36825         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36827 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36829         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36830         Return immediately after lll_futex_wake.
36832 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36834         [BZ #16791]
36835         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36836         structure.
36837         (datahead_init_pos): Call datahead_init_common early.
36838         (datahead_init_neg): Likewise.
36840         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36841         datahead_init_neg): New functions.
36842         * nscd/aicache.c (addhstaiX): Use them.
36843         * nscd/grpcache.c (cache_addgr): Likewise.
36844         * nscd/hstcache.c (cache_addhst): Likewise.
36845         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36846         * nscd/netgroupcache.c (do_notfound): Likewise.
36847         (addgetnetgrentX): Likewise.
36848         (addinnetgrX): Likewise.
36849         * nscd/pwdcache.c (cache_addpw): Likewise.
36850         * nscd/servicescache.c (cache_addserv): Likewise.
36852 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36853             Atsushi Onoe  <atsushi@onoe.org>
36855         [BZ #14308]
36856         [BZ #12994]
36857         [BZ #13651]
36858         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36859         one response is valid.
36860         * resolv/res_send.c (send_dg): Check for validity of other
36861         response if the current response is a referral.
36863 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36865         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36867 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36869         [BZ #16823]
36870         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36871         Always divide by positive zero when computing -Inf result.
36872         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36873         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36875 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36877         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36878         FPSCR if value do not change.
36879         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36880         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36881         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36882         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36883         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36884         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36885         function.
36887 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36889         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36890         * sysdeps/unix/sysv/linux/hppa: Move directory from
36891         ports/systeps/unix/sysv/linux/hppa.
36892         * README: Update listing for hppa-*-linux-gnu.
36894 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36896         [BZ #16754]
36897         * manual/stdio.texi (Hook functions): Fix types of stream hook
36898         functions.
36899         [BZ #16854]
36900         * socket/sys/socket.h: Fix typo in comment.
36902 2014-04-28  Wilco  <wdijkstr@arm.com>
36904         * sysdeps/arm/fenv_private.h: New file.
36905         * sysdeps/arm/math_private.h: New file.
36906         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36908 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36910         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36911         with __int128_t.
36912         (La_x86_64_retval): Likewise.
36914 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36916         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36917         fpsr if value didn't change.
36918         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36919         to fpcr if value didn't change.
36920         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36921         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36922         fpsr or fpcr if value didn't change.
36923         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36924         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36925         fpcr if value didn't change.
36926         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36927         to fpsr if value didn't change.
36929 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36931         * nptl/tst-sem3.c: Use test-skeleton.c
36932         (main): Rename to do_test.  Use return instead of
36933         exit.
36934         * nptl/tst-sem4.c: Use test-skeleton.c
36935         (main): Rename to do_test.
36937 2014-04-22  David S. Miller  <davem@davemloft.net>
36939         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36940         (struct sigaction): New struct member __glibc_reserved0, change
36941         type of sa_flags to int.
36943 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36945         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36946         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36948 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36950         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36951         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36953 2014-04-22  Will Newton  <will.newton@linaro.org>
36954             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36956         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36957         (__longjmp): Add longjmp and longjmp_target SystemTap
36958         probes.
36959         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36960         (__sigsetjmp): Add setjmp SystemTap probe.
36962 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36964         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36965         match manual order.
36967 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36969         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36971         * sysdeps/powerpc/fpu/fenv_private.h
36972         (libc_feholdexcept_setroundl_ctx): Define to
36973         libc_feholdexcept_setround_ppc_ctx.
36974         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36975         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36976         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36977         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36979 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36981         * sysdeps/aarch64/math-tests.h: New file.
36983 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36985         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36986         New.
36987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36988         Check and set bit_AVX2_Usable.
36989         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36990         macro.
36991         (bit_AVX2): Likewise.
36992         (index_AVX2_Usable): Likewise.
36993         (CPUID_AVX2): Likewise.
36994         (HAS_AVX2): Likewise.
36996 2014-04-17  Will Newton  <will.newton@linaro.org>
36998         * manual/setjmp.texi (System V contexts): Add note that
36999         calling setcontext on a context created by a call to a
37000         signal handler is undefined.  Update text to note that
37001         setcontext from a signal handler is possible but not
37002         recommended.
37004         [BZ #16629]
37005         * stdlib/tst-setcontext.c: Include signal.h.
37006         (main): Check that the signal stack before and
37007         after swapcontext is the same.
37009         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37010         Re-implement to restore registers in user code and avoid
37011         rt_sigreturn system call.
37013 2014-04-17  Wilco  <wdijkstr@arm.com>
37015         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37016         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37017         * math/test-fenv.c: Skip exception trap tests on targets which only
37018         support non-stop mode.
37020 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37021             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37023         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37024         (libc_feholdsetround_aarch64_ctx)
37025         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37026         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37027         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37028         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37029         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37030         (libc_feresetround_noexl_ctx): Define.
37032 2014-04-16  Richard Henderson  <rth@redhat.com>
37034         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37036         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37037         unwind tables.
37039         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37040         const from the non-libc, non-ldso copy.
37042         * sysdeps/alpha/libm-test-ulps: Regenerate.
37044 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37045             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37047         * sysdeps/aarch64/fpu/math_private.h: New file.
37049 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37051         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37053 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37055         [BZ #16275]
37056         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37057         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37058         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37059         Intel MPX bound registers before _dl_profile_fixup.
37060         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37061         registers after _dl_profile_fixup.  Save and restore bound
37062         registers bnd0/bnd1 when calling _dl_call_pltexit.
37063         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37064         (LR_BND_OFFSET): Likewise.
37065         (LRV_BND0_OFFSET): Likewise.
37066         (LRV_BND1_OFFSET): Likewise.
37068 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37070         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37071         to...
37072         * sysdeps/mach/hurd/i386/tls.h: ... here.
37073         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37074         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37075         fields.
37077 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37079         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37081 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37083         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37085 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37087         [BZ #14770]
37088         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37089         * sysdeps/s390/configure: Regenerate.
37091         [BZ #16824]
37092         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37093         Set round-to-nearest internally to reduce error accumulation.
37095 2014-04-16  Alan Modra  <amodra@gmail.com>
37097         [BZ #16740]
37098         [BZ #16619]
37099         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37100         * math/libm-test.inc (frexp_test_data): Add tests.
37101         * NEWS: Update fixed bug list.
37103 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37105         * benchtests/Makefile: Depend on libraries in build directory.
37106         (bench-math): Separate out math tests.
37107         (bench-pthread): Separate out pthread tests.
37108         (bench): Include math and pthread tests.
37110 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37112         [BZ #16831]
37113         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37114         _dl_debug_initialize.
37116         * configure.ac: Remove SELinux header check.
37117         * configure: Regenerate.
37118         * nscd/selinux.c (perms): Array of const char* to permission names.
37119         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37120         default policy. Call string_to_security_class and string_to_av_perm to
37121         translate strings. Enforce default policy and call avs_has_perm with
37122         results of translated strings.
37124 2014-04-13  David S. Miller  <davem@davemloft.net>
37126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37128 2014-04-12  Allan McRae  <allan@archlinux.org>
37130         [BZ #16838]
37131         * manual/string.texi (Collation Functions): Fix qsort argument
37132         order in example.
37133         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37135 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37137         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37138         Make the test a no-op if there are no exceptions defined.
37140 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37142         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37143         enable-hardcoded-path-in-tests
37145 2014-04-11  Will Newton  <will.newton@linaro.org>
37147         * benchtests/Makefile (extra-objs): Add json-lib.o.
37148         (bench-func): Tidy up JSON output.
37149         * benchtests/bench-skeleton.c: Include json-lib.h.
37150         (main): Use JSON library functions to do output of
37151         benchmark results.
37152         * benchtests/bench-timing-type.c (main): Output the
37153         timing type simply, leaving formatting to the user.
37154         * benchtests/json-lib.c: New file.
37155         * benchtests/json-lib.h: Likewise.
37157 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37159         [BZ #15215]
37160         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37161         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37162         memory barriers.  Add comments.
37163         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37164         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37165         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37166         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37167         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37168         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37170 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37172         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37173         * sysdeps/s390/s390-64/configure.ac: ... this ...
37174         * sysdeps/s390/configure.ac: ... to here.
37175         * sysdeps/s390/s390-32/configure: Delete file.
37176         * sysdeps/s390/s390-64/configure: Delete file.
37177         * sysdeps/s390/configure: Regenerate.
37179 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37181         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37183 2014-04-11  Will Newton  <will.newton@linaro.org>
37185         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37186         to zero if it is not defined elsewhere.  (mtrim): Test
37187         the value of MALLOC_DEBUG with #if rather than #ifdef.
37189 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37191         * benchtests/pthread_once-inputs: New file.
37192         * benchtests/pthread_once-source.c: New file.
37193         * benchtests/README: Update documentation.
37195 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37196             H.J. Lu  <hongjiu.lu@intel.com>
37198         [BZ #16275]
37199         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37200         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37201         * sysdeps/x86_64/configure: Regenerated.
37202         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37203         macro.
37204         (REGISTER_SAVE_RAX): Likewise.
37205         (REGISTER_SAVE_RCX): Likewise.
37206         (REGISTER_SAVE_RDX): Likewise.
37207         (REGISTER_SAVE_RSI): Likewise.
37208         (REGISTER_SAVE_RDI): Likewise.
37209         (REGISTER_SAVE_R8): Likewise.
37210         (REGISTER_SAVE_R9): Likewise.
37211         (REGISTER_SAVE_BND0): Likewise.
37212         (REGISTER_SAVE_BND1): Likewise.
37213         (REGISTER_SAVE_BND2): Likewise.
37214         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37215         bound registers when calling _dl_fixup.
37217 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37219         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37220         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37221         of its definition.
37222         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37223         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37224         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37225         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37226         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37227         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37228         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37230 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37232         [BZ #15514]
37233         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37234         pathconf(_PC_NAME_MAX).
37236 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37238         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37239         Remove macro usage.
37240         (__PTHREAD_SPINS): Move definition to ...
37241         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37242         (__PTHREAD_SPINS): ... here.
37243         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37244         (__PTHREAD_SPIN): Likewise.
37245         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37246         (__PTHREAD_SPIN): Likewise.
37247         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37248         (__PTHREAD_SPIN): Likewise.
37249         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37250         (__PTHREAD_SPIN): Likewise.
37251         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37252         (__PTHREAD_SPIN): Likewise.
37253         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37254         (__PTHREAD_SPIN): Likewise.
37255         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37256         (__PTHREAD_SPIN): Likewise.
37257         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37258         (__PTHREAD_SPIN): Likewise.
37259         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37260         (__PTHREAD_SPIN): Likewise.
37261         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37262         (__PTHREAD_SPIN): Likewise.
37263         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37264         (__PTHREAD_SPIN): Likewise.
37265         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37266         (__PTHREAD_SPIN): Likewise.
37268         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37269         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37270         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37271         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37272         imply folder.
37273         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37274         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37275         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37276         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37277         correct imply path.
37278         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37279         strlen symbol for non multi-arch builds.
37280         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37281         missing hidden_def and weak_alias.
37283 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37285         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37287 2014-04-07  Will Newton  <will.newton@linaro.org>
37289         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37290         and contents.  [!_LIBC] Remove #ifndef and contents.
37291         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37292         * string/memccpy.c (__memccpy): Use ANSI prototype.
37293         * string/memfrob.c (memfrob): Likewise.
37294         * string/strcoll.c (STRCOLL): Likewise.
37295         * string/strlen.c (strlen): Likewise.
37296         * string/strtok.c (STRTOK): Likewise.
37297         * string/strcat.c: Remove unused #include of memcopy.h.
37298         (strcat): Use ANSI prototype.
37299         * string/strchr.c: Remove unused #include of memcopy.h.
37300         (strchr): Use ANSI prototype.
37301         * string/strcmp.c: Remove unused #include of memcopy.h.
37302         (strcmp): Use ANSI prototype.
37303         * string/strcpy.c: Remove unused #include of memcopy.h.
37304         (strcpy): Use ANSI prototype.
37306 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37308         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37309         * config.make.in (config-extra-cppflags): Set it from
37310         libc_extra_cppflags.
37311         * configure.ac (libc_extra_cflags): Make it accumulate over
37312         configure fragments.
37313         (libc_extra_cppflags): New flag.
37314         * configure. Regenerate.
37315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37316         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37317         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37320         [BZ #16815]
37321         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37322         result for FE_DOWNWARD rounding mode.
37323         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37324         Likewise.
37325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37327 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37329         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37330         in function argument name.
37332 2014-04-03  David Svoboda  <svoboda@cert.org>
37334         [BZ #5666]
37335         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37336         explicitly.
37338 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37340         * elf/dl-unmap-segments.h: New file.
37341         * sysdeps/generic/ldsodefs.h
37342         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37343         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37344         * elf/dl-fptr.c: Likewise.
37345         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37346         * sysdeps/aarch64/tlsdesc.c: Likewise.
37347         * sysdeps/arm/tlsdesc.c: Likewise.
37348         * sysdeps/i386/tlsdesc.c: Likewise.
37349         * sysdeps/tile/dl-runtime.c: Likewise.
37350         * sysdeps/x86_64/tlsdesc.c: Likewise.
37351         * elf/dl-load.h: New file.
37352         * elf/dl-load.c: Include it.
37353         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37354         Macros moved to dl-load.h.
37355         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37356         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37357         Use _dl_unmap_segments in place of __munmap.
37358         Break out segment-mapping loop into ...
37359         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37361 2014-04-03  Will Newton  <will.newton@linaro.org>
37363         * elf/dl-lookup.c (do_lookup_x): Remove comment
37364         referring to nested function and move variable
37365         declarations down to before first use.
37367 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37369         [BZ #16799]
37370         [BZ #16800]
37371         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37372         with 0 numerator.
37373         * math/s_catanf.c (__catanf): Likewise.
37374         * math/s_catanh.c (__catanh): Likewise.
37375         * math/s_catanhf.c (__catanhf): Likewise.
37376         * math/s_catanhl.c (__catanhl): Likewise.
37377         * math/s_catanl.c (__catanl): Likewise.
37378         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37379         by positive zero when computing -Inf result.
37380         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37381         (catanh_test): Likewise.
37382         * sysdeps/i386/fpu/libm-test-ulps: Update.
37383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37385         [BZ #16789]
37386         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37387         instead of using underflowing value in computing result.
37388         * math/s_clog10.c (__clog10): Likewise.
37389         * math/s_clog10f.c (__clog10f): Likewise.
37390         * math/s_clog10l.c (__clog10l): Likewise.
37391         * math/s_clogf.c (__clogf): Likewise.
37392         * math/s_clogl.c (__clogl): Likewise.
37393         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37394         (clog10_test): Likewise.
37395         * sysdeps/i386/fpu/libm-test-ulps: Update.
37396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37398 2014-04-02  Alan Modra  <amodra@gmail.com>
37400         [BZ #16739]
37401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37402         output when value is near a power of two.  Use int64_t for lx and
37403         remove casts.  Use decimal rather than hex exponent constants.
37404         Don't use long double multiplication when double will suffice.
37405         * math/libm-test.inc (nextafter_test_data): Add tests.
37406         * NEWS: Add 16739 and 16786 to bug list.
37408         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37410         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37412 2014-04-01  Will Newton  <will.newton@linaro.org>
37414         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37415         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37417 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37419         [BZ #13347]
37420         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37421         * nptl/tst-setuid2.c: New file.
37422         * nptl/Makefile (xtests): Add tst-setuid2.
37424 2014-04-01  Alan Modra  <amodra@gmail.com>
37426         [BZ #16786]
37427         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37429 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37431         [BZ #6803]
37432         [BZ #6804]
37433         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37434         set errno as appropriate.
37435         * math/w_scalbf.c (__scalbf): Likewise.
37436         * math/w_scalbl.c (__scalbl): Likewise.
37437         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37438         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37439         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37440         Add more NaN tests.
37442         [BZ #16349]
37443         * math/w_atan2.c: Include <errno.h>.
37444         (__atan2): Set errno for result underflowing to zero.
37445         * math/w_atan2f.c: Include <errno.h>.
37446         (__atan2f): Set errno for result underflowing to zero.
37447         * math/w_atan2l.c: Include <errno.h>.
37448         (__atan2l): Set errno for result underflowing to zero.
37449         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37450         tests.
37451         * math/auto-libm-test-out: Regenerated.
37453 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37455         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37456         Encode instruction correctly in little endian.
37457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37458         Likewise.
37459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37460         Likewise.
37461         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37462         Likewise.
37463         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37464         Likewise.
37466 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37468         [BZ #9894]
37469         * sysdeps/unix/sysv/linux/kernel-features.h
37470         [__sparc__ && !__arch64__ && !__sparc_v9__]
37471         (__ASSUME_SET_ROBUST_LIST): Do not define.
37472         [__sparc__ && !__arch64__ && !__sparc_v9__]
37473         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37474         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37475         Likewise.
37476         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37477         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37478         (__ASSUME_REQUEUE_PI): Likewise.
37479         (__ASSUME_SET_ROBUST_LIST): Likewise.
37480         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37481         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37482         Undefine.
37483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37484         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37485         Likewise.
37486         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37487         Likewise.
37488         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37489         Likewise.
37490         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37491         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37492         Undefine.
37493         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37494         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37495         Likewise.
37497         [BZ #16648]
37498         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37500         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37502 2014-03-31  Will Newton  <will.newton@linaro.org>
37504         * benchtests/Makefile (bench): Add ffs and ffsll to list
37505         of tests.
37506         * benchtests/ffs-inputs: New file.
37507         * benchtests/ffsll-inputs: Likewise.
37509 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37511         [BZ #16770]
37512         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37513         too large before casting to int.
37514         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37515         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37516         * math/libm-test.inc (scalb_test_data): Add more tests.
37518 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37520         * benchtests/Makefile (DETAILED_OPT): New make option.
37521         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37522         set.
37523         * benchtests/bench-skeleton.c: Include stdbool.h.
37524         (main): Store and print timings per input.
37525         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37526         member to each argument value.
37527         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37528         (_print_arg_data): Initialize per-input timing to 0.
37530         * benchtests/Makefile (timing-type): New binary.
37531         (bench-clean): Also remove bench-timing-type.
37532         (bench): New target for timing-type.
37533         (bench-func): Print output in JSON format.
37534         * benchtests/bench-skeleton.c (main): Print output in JSON
37535         format.
37536         * benchtests/bench-timing-type.c: New file.
37537         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37538         (TIMING_PRINT_STATS): Remove.
37539         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37540         name separately.
37542         * benchtests/bench-modf.c: Remove.
37543         * benchtests/modf-inputs: New inputs file.
37545 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37547         [BZ #16362]
37548         * math/s_clog10.c (M_PI_LOG10E): New macro.
37549         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37550         imaginary parts are 0.
37551         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37552         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37553         imaginary parts are 0.
37554         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37555         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37556         imaginary parts are 0.
37557         * math/libm-test.inc (clog10_test_data): Update expected results
37558         for when real and imaginary parts are 0.
37560 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37562         * elf/dl-load.c: Finish conversion of __builtin_expect into
37563         __glibc_{un}likely.
37565 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37567         [BZ #16348]
37568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37569         1+x for argument with exponent below -67.
37570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37571         Likewise.
37572         * math/auto-libm-test-in: Add more tests of exp.
37573         * math/auto-libm-test-out: Regenerated.
37575 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37577         [BZ #16759]
37578         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37579         (nscd_getnetgrent): Use it.
37581         [BZ #16760]
37582         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37583         of stpcpy.
37585 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37587         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37588         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37589         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37590         (lll_robust_unlock): Remove out of line section. Use cfi
37591         intrinsics.
37592         (LLL_STUB_UNWIND_INFO*): Remove.
37593         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37594         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37595         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37596         (lll_robust_unlock): Remove out of line section. Use cfi
37597         intrinsics.
37598         (LLL_STUB_UNWIND_INFO*): Remove.
37600 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37602         [BZ #16758]
37603         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37604         blank values.
37606 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37608         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37610 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37612         [BZ #16198]
37613         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37614         fnstenv.
37615         * math/test-fenv-preserve.c: New file.
37616         * math/Makefile (tests): Add test-fenv-preserve.
37618 2014-03-26  Will Newton <will.newton@linaro.org>
37620         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37622 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37624         * scripts/versionlist.awk: Partition the version sets and emit all
37625         GLIBC_* (sorted) before all others (sorted).
37627 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37629         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37630         GLIBC_2.2.5 version.
37632 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37634         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37635         calls.
37637         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37638         previous change.
37640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37642 2014-03-25  Andreas Schwab  <schwab@suse.de>
37644         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37645         label to be used after in6ailist is initialized.
37647 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37649         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37650         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37652 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37654         [BZ #16357]
37655         [BZ #16599]
37656         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37657         min_plus_half.
37658         (fp_formats): Update initializers.
37659         (init_fp_formats): Initialize new field.
37660         (output_for_one_input_case): Allow underflow for results up to
37661         min_plus_half.
37662         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37663         * math/auto-libm-test-in: Don't mark some underflows from asin and
37664         atanh as spurious.
37665         * math/auto-libm-test-out: Regenerated.
37666         * sysdeps/i386/fpu/libm-test-ulps: Update.
37667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37669 2014-03-25  Andreas Schwab  <schwab@suse.de>
37671         * libio/Makefile (tst-ftell-partial-wide-ENV)
37672         (tst-ftell-active-handler-ENV): Define.
37674 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37676         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37678 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37680         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37682 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37684         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37685         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37686         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37688 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37690         [BZ #16634]
37691         * elf/dl-load.c (open_verify): Add mode parameter.
37692         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37693         (open_path): Change from boolean 'secure' to complete flag 'mode'
37694         (_dl_map_object): Adjust.
37695         * elf/Makefile (tests): Add tst-dlopen-aout.
37696         * elf/tst-dlopen-aout.c: New test.
37698 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37700         [BZ #16714]
37701         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37702         (struct stat): Rename member pad0 to __glibc_reserved0.
37704         [BZ #16712]
37705         * sysdeps/s390/s390-32/bits/wordsize.h
37706         (__WORDSIZE32_SIZE_ULONG): New define.
37707         * sysdeps/s390/s390-64/bits/wordsize.h
37708         (__WORDSIZE32_SIZE_ULONG): Likewise.
37709         * sysdeps/generic/stdint.h (SIZE_MAX):
37710         Define as UL if __WORDSIZE32_SIZE_ULONG.
37712         [BZ #16713]
37713         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37714         (__glibc_reserved0): New variable.
37715         (sa_flags): Change type to int.
37717         * posix/Makefile (before-compile): Use += before-compile instead
37718         of a :=.
37720         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37721         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37723 2014-03-20  Andreas Schwab  <schwab@suse.de>
37725         [BZ #16743]
37726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37727         non-matching result from nscd.
37729 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37731         * scripts/bench.py: Moved to ...
37732         * benchtests/scripts/bench.py: ... here.
37733         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37735 2014-03-24  Andreas Schwab  <schwab@suse.de>
37737         [BZ #16002]
37738         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37739         alloca_account and account alloca use for struct in6ailist.
37741 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37743         [BZ #16284]
37744         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37745         rounding mode to recompute results that overflow to infinity or
37746         underflow to zero.
37747         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37748         bug 16284.
37749         * math/auto-libm-test-out: Regenerated.
37750         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37751         (ccosh_test): Likewise.
37752         (csin_test_data): Use plus_oflow.
37753         (csin_test): Use ALL_RM_TEST.
37754         (csinh_test_data): Use plus_oflow.
37755         (csinh_test): Use ALL_RM_TEST.
37756         * sysdeps/i386/fpu/libm-test-ulps: Update.
37757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37759 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37761         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37762         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37763         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37765         [BZ #16731]
37766         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37767         when x - 1 is zero.
37768         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37769         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37770         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37771         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37772         argument is 1.
37773         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37774         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37775         zero.
37776         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37777         * sysdeps/i386/fpu/libm-test-ulps: Update.
37778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37780 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37782         * scripts/bench.pl: Remove file.
37783         * scripts/bench.py: New benchmark script.
37784         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37785         * benchtests/README: Mention python dependency.
37786         * scripts/pylintrc: New file.
37787         * scripts/pylint: New file.
37789         * bits/mathdef.h: Use #ifdef instead of #if.
37790         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37791         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37792         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37793         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37794         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37795         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37797 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37798             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37800         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37802         and strpbrk-ppc64 objects.
37803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37804         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37805         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37806         multiarch strpbrk for POWER7.
37807         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37808         multiarch strpbrk for PPC64.
37809         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37810         ifunc selector.
37811         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37812         strpbrk for POWER7.
37814 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37816         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37817         (atan_test): Likewise.
37818         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37819         (atanh_test): Use ALL_RM_TEST.
37820         (atan2_test_data): Likewise.
37821         (cabs_test): Likewise.
37822         (cacosh_test): Likewise.
37823         (carg_test): Likewise.
37824         (casin_test): Likewise.
37825         (casinh_test): Likewise.
37826         (cbrt_test): Likewise.
37827         (csqrt_test): Likewise.
37828         (erf_test): Likewise.
37829         (erfc_test): Likewise.
37830         (pow10_test): Likewise.
37831         (exp2_test): Likewise.
37832         (hypot_test): Likewise.
37833         (j0_test): Likewise.
37834         (j1_test): Likewise.
37835         (lgamma_test): Likewise.
37836         (gamma_test): Likewise.
37837         (sincos_test): Likewise.
37838         (tanh_test): Likewise.
37839         (y0_test): Likewise.
37840         (y1_test): Likewise.
37841         * sysdeps/i386/fpu/libm-test-ulps: Update.
37842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37844 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37846         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37848         and strcspn-ppc64 objects.
37849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37850         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37851         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37852         multiarch strcspn for POWER7.
37853         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37854         multiarch strcspn for PPC64.
37855         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37856         ifunc selector.
37857         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37858         strcspn for POWER7.
37860 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37862         * math/gen-libm-test.pl (generate_testfile): Expect only function
37863         name as argument to AUTO_TESTS_* and pass results for all rounding
37864         modes to parse_args.
37865         (parse_auto_input): Separate inputs of automatic tests from
37866         outputs before storing in %auto_tests.
37867         * math/libm-test.inc (acos_test_data): Update call to
37868         AUTO_TESTS_f_f.
37869         (acos_test): Use ALL_RM_TEST.
37870         (acos_tonearest_test_data): Remove.
37871         (acos_test_tonearest): Likewise.
37872         (acos_towardzero_test_data): Likewise.
37873         (acos_test_towardzero): Likewise.
37874         (acos_downward_test_data): Likewise.
37875         (acos_test_downward): Likewise.
37876         (acos_upward_test_data): Likewise.
37877         (acos_test_upward): Likewise.
37878         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37879         (asin_test_data): Likewise.
37880         (asin_test): Use ALL_RM_TEST.
37881         (asin_tonearest_test_data): Remove.
37882         (asin_test_tonearest): Likewise.
37883         (asin_towardzero_test_data): Likewise.
37884         (asin_test_towardzero): Likewise.
37885         (asin_downward_test_data): Likewise.
37886         (asin_test_downward): Likewise.
37887         (asin_upward_test_data): Likewise.
37888         (asin_test_upward): Likewise.
37889         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37890         (atan_test_data): Likewise.
37891         (atanh_test_data): Likewise.
37892         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37893         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37894         (carg_test_data): Likewise.
37895         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37896         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37897         (ccosh_test_data): Likewise.
37898         (cexp_test_data): Likewise.
37899         (clog_test_data): Likewise.
37900         (clog10_test_data): Likewise.
37901         (cos_test_data): Update call to AUTO_TESTS_f_f.
37902         (cos_test): Use ALL_RM_TEST.
37903         (cos_tonearest_test_data): Remove.
37904         (cos_test_tonearest): Likewise.
37905         (cos_towardzero_test_data): Likewise.
37906         (cos_test_towardzero): Likewise.
37907         (cos_downward_test_data): Likewise.
37908         (cos_test_downward): Likewise.
37909         (cos_upward_test_data): Likewise.
37910         (cos_test_upward): Likewise.
37911         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37912         (cosh_test): Use ALL_RM_TEST.
37913         (cosh_tonearest_test_data): Remove.
37914         (cosh_test_tonearest): Likewise.
37915         (cosh_towardzero_test_data): Likewise.
37916         (cosh_test_towardzero): Likewise.
37917         (cosh_downward_test_data): Likewise.
37918         (cosh_test_downward): Likewise.
37919         (cosh_upward_test_data): Likewise.
37920         (cosh_test_upward): Likewise.
37921         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37922         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37923         (ctan_test_data): Likewise.
37924         (ctan_test): Use ALL_RM_TEST.
37925         (ctan_tonearest_test_data): Remove.
37926         (ctan_test_tonearest): Likewise.
37927         (ctan_towardzero_test_data): Likewise.
37928         (ctan_test_towardzero): Likewise.
37929         (ctan_downward_test_data): Likewise.
37930         (ctan_test_downward): Likewise.
37931         (ctan_upward_test_data): Likewise.
37932         (ctan_test_upward): Likewise.
37933         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37934         (ctanh_test): Use ALL_RM_TEST.
37935         (ctanh_tonearest_test_data): Remove.
37936         (ctanh_test_tonearest): Likewise.
37937         (ctanh_towardzero_test_data): Likewise.
37938         (ctanh_test_towardzero): Likewise.
37939         (ctanh_downward_test_data): Likewise.
37940         (ctanh_test_downward): Likewise.
37941         (ctanh_upward_test_data): Likewise.
37942         (ctanh_test_upward): Likewise.
37943         (erf_test_data): Update call to AUTO_TESTS_f_f.
37944         (erfc_test_data): Likewise.
37945         (exp_test_data): Likewise.
37946         (exp_test): Use ALL_RM_TEST.
37947         (exp_tonearest_test_data): Remove.
37948         (exp_test_tonearest): Likewise.
37949         (exp_towardzero_test_data): Likewise.
37950         (exp_test_towardzero): Likewise.
37951         (exp_downward_test_data): Likewise.
37952         (exp_test_downward): Likewise.
37953         (exp_upward_test_data): Likewise.
37954         (exp_test_upward): Likewise.
37955         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37956         (exp10_test): Use ALL_RM_TEST.
37957         (exp10_tonearest_test_data): Remove.
37958         (exp10_test_tonearest): Likewise.
37959         (exp10_towardzero_test_data): Likewise.
37960         (exp10_test_towardzero): Likewise.
37961         (exp10_downward_test_data): Likewise.
37962         (exp10_test_downward): Likewise.
37963         (exp10_upward_test_data): Likewise.
37964         (exp10_test_upward): Likewise.
37965         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37966         (expm1_test_data): Likewise.
37967         (expm1_test): Use ALL_RM_TEST.
37968         (expm1_tonearest_test_data): Remove.
37969         (expm1_test_tonearest): Likewise.
37970         (expm1_towardzero_test_data): Likewise.
37971         (expm1_test_towardzero): Likewise.
37972         (expm1_downward_test_data): Likewise.
37973         (expm1_test_downward): Likewise.
37974         (expm1_upward_test_data): Likewise.
37975         (expm1_test_upward): Likewise.
37976         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37977         (fma_test): Use ALL_RM_TEST.
37978         (fma_towardzero_test_data): Remove.
37979         (fma_test_towardzero): Likewise.
37980         (fma_downward_test_data): Likewise.
37981         (fma_test_downward): Likewise.
37982         (fma_upward_test_data): Likewise.
37983         (fma_test_upward): Likewise.
37984         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37985         (j0_test_data): Update call to AUTO_TESTS_f_f.
37986         (j1_test_data): Likewise.
37987         (jn_test_data): Update call to AUTO_TESTS_if_f.
37988         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37989         (log_test_data): Update call to AUTO_TESTS_f_f.
37990         (log10_test_data): Likewise.
37991         (log1p_test_data): Likewise.
37992         (log2_test_data): Likewise.
37993         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37994         (pow_tonearest_test_data): Likewise.
37995         (sin_test_data): Update call to AUTO_TESTS_f_f.
37996         (sin_test): Use ALL_RM_TEST.
37997         (sin_tonearest_test_data): Remove.
37998         (sin_test_tonearest): Likewise.
37999         (sin_towardzero_test_data): Likewise.
38000         (sin_test_towardzero): Likewise.
38001         (sin_downward_test_data): Likewise.
38002         (sin_test_downward): Likewise.
38003         (sin_upward_test_data): Likewise.
38004         (sin_test_upward): Likewise.
38005         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38006         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38007         (sinh_test): Use ALL_RM_TEST.
38008         (sinh_tonearest_test_data): Remove.
38009         (sinh_test_tonearest): Likewise.
38010         (sinh_towardzero_test_data): Likewise.
38011         (sinh_test_towardzero): Likewise.
38012         (sinh_downward_test_data): Likewise.
38013         (sinh_test_downward): Likewise.
38014         (sinh_upward_test_data): Likewise.
38015         (sinh_test_upward): Likewise.
38016         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38017         (sqrt_test): Use ALL_RM_TEST.
38018         (sqrt_tonearest_test_data): Remove.
38019         (sqrt_test_tonearest): Likewise.
38020         (sqrt_towardzero_test_data): Likewise.
38021         (sqrt_test_towardzero): Likewise.
38022         (sqrt_downward_test_data): Likewise.
38023         (sqrt_test_downward): Likewise.
38024         (sqrt_upward_test_data): Likewise.
38025         (sqrt_test_upward): Likewise.
38026         (tan_test_data): Update call to AUTO_TESTS_f_f.
38027         (tan_test): Use ALL_RM_TEST.
38028         (tan_tonearest_test_data): Remove.
38029         (tan_test_tonearest): Likewise.
38030         (tan_towardzero_test_data): Likewise.
38031         (tan_test_towardzero): Likewise.
38032         (tan_downward_test_data): Likewise.
38033         (tan_test_downward): Likewise.
38034         (tan_upward_test_data): Likewise.
38035         (tan_test_upward): Likewise.
38036         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38037         (tgamma_test_data): Likewise.
38038         (y0_test_data): Likewise.
38039         (y1_test_data): Likewise.
38040         (yn_test_data): Update call to AUTO_TESTS_if_f.
38041         (main): Do not call removed functions.
38043 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38045         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38046         (ldexp_test_data): Remove.
38047         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38048         scalbn_test_data.
38049         (scalb_test): Use ALL_RM_TEST.
38051 2014-03-19  Andreas Schwab  <schwab@suse.de>
38053         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38055 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38057         [BZ #16649]
38058         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38059         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38062         (__ASSUME_PREADV): Undefine.
38063         (__ASSUME_PWRITEV): Likewise.
38065 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38067         * bits/mman-linux.h: Add comment about non-Linux use.
38068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38069         bits/mman-linux.h resting place.
38071         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38072         * bits/mman-linux.h: ... here.
38074 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38076         * conform/conformtest.pl: Add standard definition when calling C
38077         preprocessor on data files.
38078         (checknamespace): Remove unused variable.
38080 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38082         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38083         minus_oflow, plus_uflow and minus_uflow in expected results.
38084         * math/libm-test.inc (scalbn_test_data): Add more tests of
38085         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38086         minus_uflow.
38087         (scalbn_test): Use ALL_RM_TEST.
38088         (scalbln_test_data): Add more tests of negative arguments.  Use
38089         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38090         (scalbln_test): Use ALL_RM_TEST.
38092 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38094         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38096 2014-03-18  Will Newton  <will.newton@linaro.org>
38098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38099         inaccurate comment.
38101 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38103         * Makerules [!subdir] (check-abi): Exit with error status if a
38104         test failed.
38106 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38108         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38109         for rint.  Include results for all rounding modes.
38110         (nearbyint_test): Use ALL_RM_TEST.
38111         (rint_test_data): Include all tests used for nearbyint.
38113 2014-03-17  Will Newton  <will.newton@linaro.org>
38115         * nptl/sysdeps/pthread/pthread.h: Revert previous
38116         change.
38118         * sysdeps/generic/ldsodefs.h: Revert previous
38119         change.
38121         * libio/genops.c: Revert previous change.
38122         * libio/libioP.h: Likewise.
38123         * stdio-common/vfprintf.c: Likewise.
38125         * sysdeps/generic/math_private.h: Revert previous
38126         change.
38128         * sysdeps/generic/math_private.h: Check whether
38129         HAVE_RM_CTX is defined with #ifdef rather
38130         than #if.
38132         * argp/argp-fmtstream.h: Check whether
38133         __STRICT_ANSI__ is defined with #ifdef rather
38134         than #if.
38135         * argp/argp.h: Likewise.
38137         * libio/genops.c: Check whether
38138         _IO_JUMPS_OFFSET is defined with #ifdef rather
38139         than #if.
38140         * libio/libioP.h: Likewise.
38141         * stdio-common/vfprintf.c: Likewise.
38143         * sysdeps/generic/ldsodefs.h: Check whether
38144         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38145         than #if.
38147         * nptl/sysdeps/pthread/pthread.h: Check
38148         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38149         its value.
38151 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38153         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38154         setting O_APPEND.
38155         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38156         test case.
38158         [BZ #16680]
38159         * libio/fileops.c (_IO_file_open): Seek to end of file but
38160         don't cache the offset.
38161         (get_file_offset): Remove function.
38162         (do_ftell): Use cached offset when available.
38163         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38164         don't cache the offset.
38165         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38166         case.
38167         (do_one_test): Call it.
38168         (do_ftell_test): Fix up expected old offset for a+ mode.
38169         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38170         available.
38172         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38173         up test status with function return status.
38174         (do_write_test): Likewise.
38175         (do_append_test): Likewise.
38177         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38178         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38179         Remove.
38181 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38183         * math/gen-libm-test.pl (parse_args): Handle results specified for
38184         each rounding mode separately.
38185         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38186         tests and results from lrint_tonearest_test_data,
38187         lrint_towardzero_test_data, lrint_downward_test_data and
38188         lrint_upward_test_data.
38189         (lrint_test): Use ALL_RM_TEST.
38190         (lrint_tonearest_test_data): Remove.
38191         (lrint_test_tonearest): Likewise.
38192         (lrint_towardzero_test_data): Likewise.
38193         (lrint_test_towardzero): Likewise.
38194         (lrint_downward_test_data): Likewise.
38195         (lrint_test_downward): Likewise.
38196         (lrint_upward_test_data): Likewise.
38197         (lrint_test_upward): Likewise.
38198         (llrint_test_data): Merge in per-rounding-mode tests and results
38199         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38200         llrint_downward_test_data and llrint_upward_test_data.
38201         (llrint_test): Use ALL_RM_TEST.
38202         (llrint_tonearest_test_data): Remove.
38203         (llrint_test_tonearest): Likewise.
38204         (llrint_towardzero_test_data): Likewise.
38205         (llrint_test_towardzero): Likewise.
38206         (llrint_downward_test_data): Likewise.
38207         (llrint_test_downward): Likewise.
38208         (llrint_upward_test_data): Likewise.
38209         (llrint_test_upward): Likewise.
38210         (rint_test_data): Merge in per-rounding-mode tests and results
38211         from rint_tonearest_test_data, rint_towardzero_test_data,
38212         rint_downward_test_data and rint_upward_test_data.  Add
38213         per-rounding-mode results for tests not in those arrays.
38214         (rint_test): Use ALL_RM_TEST.
38215         (rint_tonearest_test_data): Remove.
38216         (rint_test_tonearest): Likewise.
38217         (rint_towardzero_test_data): Likewise.
38218         (rint_test_towardzero): Likewise.
38219         (rint_downward_test_data): Likewise.
38220         (rint_test_downward): Likewise.
38221         (rint_upward_test_data): Likewise.
38222         (rint_test_upward): Likewise.
38223         (main): Don't call removed functions.
38225 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38227         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38228         "Compiled on ..." crapola.  It is anti-useful.
38230 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38232         * scripts/evaluate-test.sh: Handle fourth argument to determine
38233         whether test run should stop on failure.
38234         * Makeconfig (stop-on-test-failure): New variable.
38235         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38236         $(stop-on-test-failure).
38237         * Makefile (tests): Give a summary of results from testing and
38238         exit with failure status if they include an ERROR or FAIL.
38239         (xtests): Likewise.
38240         * manual/install.texi (Configuring and compiling): Mention
38241         stop-on-test-failure=y.
38242         * INSTALL: Regenerated.
38244 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38246         * scripts/versionlist.awk: New file.
38247         * Makerules [$(build-shared) = yes]
38248         (postclean-generated): Add Versions.def, not Versions.def.v and
38249         Versions.def.v.i.
38250         ($(common-objpfx)Versions.def.v.i): Target removed.
38251         ($(common-objpfx)Versions.def): New target.
38252         ($(common-objpfx)Versions.all): Depend on that rather that
38253         $(common-objpfx)Versions.def.v.
38254         * Versions.def: File removed.
38256         * Makeconfig (+gccwarn): Add -Wundef.
38257         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38258         a dl-sysdep.h breaking its contract.
38259         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38260         * include/stackinfo.h: New file.
38261         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38262         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38263         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38264         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38265         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38266         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38267         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38268         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38269         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38270         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38271         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38272         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38273         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38274         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38275         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38277 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38279         [BZ #16707]
38280         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38281         implementation.
38282         * math/libm-test.inc (round_test_data): Add more tests.
38284         [BZ #16706]
38285         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38286         implementation.
38287         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38289         [BZ #16701]
38290         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38291         implementation.
38292         * math/libm-test.inc (ceil_test_data): Add more tests.
38294         * math/libm-test.inc (trunc_test_data): Add more tests related to
38295         BZ#16414.
38297 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38299         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38300         with #if rather than #ifdef.
38301         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38303 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38305         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38306         first.  Disable AVX-512 GCC support if assembler doesn't support
38307         it.
38308         * sysdeps/x86_64/configure: Regenerated.
38310 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38312         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38313         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38314         (__old_pthread_attr_setstack): Likewise.
38315         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38316         [!_STACK_GROWS_DOWN]: Likewise.
38318 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38320         * config.make.in (have-bash2): Delete.
38321         * configure.ac (libc_cv_have_bash2): Delete.
38322         * configure: Regenerate.
38323         * elf/Makefile (common-ldd-rewrite): Rename to ...
38324         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38325         (sh-ldd-rewrite): Delete.
38326         (bash-ldd-rewrite): Delete.
38327         (have-bash2): Delete checks.
38328         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38329         ldd-rewrite.
38331         * config.make.in (have-ksh): Delete.
38332         (KSH): Delete.
38333         * configure.ac (libc_cv_have_ksh): Delete.
38334         * configure: Regenerate.
38336         * elf/Makefile: Delete $(have-ksh) check.
38337         ($(objpfx)sotruss): Change KSH to BASH.
38338         * elf/sotruss.ksh: Rename to ...
38339         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38340         function style to match POSIX.  Drop ksh vim mode setting.
38342         * manual/time.texi (Specifying the Time Zone with TZ): Change
38343         Tuesday to Thursday.
38345         * debug/tst-longjmp_chk2.c: Update header comment.
38346         (stackoverflow_handler): Add comment.  Call assert on pass value.
38348 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38350         [BZ #16194]
38351         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38352         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38353         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38354         (La_x86_64_vector): Add zmm.
38355         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38356         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38357         ($(objpfx)tst-audit10): New target.
38358         ($(objpfx)tst-audit10.out): Likewise.
38359         (tst-audit10-ENV): New.
38360         (AVX512-CFLAGS): Likewise.
38361         (CFLAGS-tst-audit10.c): Likewise.
38362         (CFLAGS-tst-auditmod10a.c): Likewise.
38363         (CFLAGS-tst-auditmod10b.c): Likewise.
38364         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38365         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38366         * sysdeps/x86_64/configure: Regenerated.
38367         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38368         AVX-512 zmm register support.
38369         (_dl_x86_64_save_sse): Likewise.
38370         (_dl_x86_64_restore_sse): Likewise.
38371         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38372         size vector registers.
38373         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38374         (ZMM_SIZE): Likewise.
38375         * sysdeps/x86_64/tst-audit10.c: New file.
38376         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38377         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38379 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38381         * configure.ac (HAVE_EHDR_START): New check.
38382         * configure: Regenerated.
38383         * config.h.in (HAVE_EHDR_START): New #undef.
38384         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38385         assuming the lowest-addressed segment maps the start of the file.
38387 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38389         * INSTALL: Regenerated.
38391 2014-03-13  Will Newton  <will.newton@linaro.org>
38393         * manual/setjmp.texi (System V contexts): Improve
38394         clarity and grammar of documentation.
38396 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38398         [BZ #16381]
38399         * elf/Makefile (tests): Add tst-pie2.
38400         (tests-pie): Add tst-pie2.
38401         * elf/tst-pie2.c: New file.
38402         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38403         for ET_EXEC.
38404         * elf/rtld.c (map_doit): Load executable as lt_executable.
38405         (dl_main): Likewise.
38407 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38409         [BZ #16642]
38410         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38411         (__ASSUME_PSELECT): Undefine.
38413 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38415         [BZ #16689]
38416         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38417         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38418         static build.
38419         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38420         selector for static builds.
38422 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38424         [BZ #16695]
38425         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38426         key in the buffer.
38428 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38430         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38431         IFUNC selector for static builds.
38433 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38435         * sysdeps/mips/math_private.h [__mips_hard_float]
38436         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38437         libc_feresetround_mips_ctx.
38438         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38439         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38440         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38442         [BZ #16677]
38443         * math/s_nextafter.c (__nextafter): Do not return value from
38444         overflowing computation.
38445         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38446         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38447         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38448         Likewise.
38449         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38450         Likewise.
38451         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38452         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38454 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38456         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38457         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38458         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38459         the new mov targetting sp.
38461 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38463         [BZ #16683]
38464         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38465         Define it for static builds as well.
38466         (NO_BZERO_IMPL): Likewise.
38468 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38470         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38471         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38472         multiarch strspn for PPC64.
38473         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38474         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38476         (__libc_ifunc_impl_list): Likewise.
38477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38478         multiarch optimizations
38479         * string/strspn.c (strspn): Using macro to redefine symbol name.
38481 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38482             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38484         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38485         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38486         multiarch strncat for PPC64.
38487         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38488         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38490         (__libc_ifunc_impl_list): Likewise.
38491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38492         multiarch optimizations
38494 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38496         [BZ #16639]
38497         * nscd/nscd.service: Make service type forking.
38499 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38501         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38502         sign in non default rounding modes.
38503         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38505 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38507         * math/libm-test.inc (ALL_RM_TEST): New macro.
38508         (ceil_test): Use ALL_RM_TEST.
38509         (cimag_test): Likewise.
38510         (conj_test): Likewise.
38511         (copysign_test): Likewise.
38512         (cproj_test): Likewise.
38513         (creal_test): Likewise.
38514         (fabs_test): Likewise.
38515         (floor_test): Likewise.
38516         (fmax_test): Likewise.
38517         (fmin_test): Likewise.
38518         (fmod_test): Likewise.
38519         (fpclassify_test): Likewise.
38520         (frexp_test): Likewise.
38521         (ilogb_test): Likewise.
38522         (isfinite_test): Likewise.
38523         (finite_test): Likewise.
38524         (isgreater_test): Likewise.
38525         (isgreaterequal_test): Likewise.
38526         (isinf_test): Likewise.
38527         (isless_test): Likewise.
38528         (islessequal_test): Likewise.
38529         (islessgreater_test): Likewise.
38530         (isnan_test): Likewise.
38531         (isnormal_test): Likewise.
38532         (issignaling_test): Likewise.
38533         (isunordered_test): Likewise.
38534         (logb_test): Likewise.
38535         (logb_downward_test_data): Remove.
38536         (logb_test_downward): Likewise.
38537         (lround_test): Use ALL_RM_TEST.
38538         (llround_test): Likewise.
38539         (modf_test): Likewise.
38540         (nexttoward_test): Likewise.
38541         (remainder_test): Likewise.
38542         (drem_test): Likewise.
38543         (remainder_tonearest_test_data): Likewise.
38544         (remainder_test_tonearest): Likewise.
38545         (drem_test_tonearest): Likewise.
38546         (remainder_towardzero_test_data): Likewise.
38547         (remainder_test_towardzero): Likewise.
38548         (drem_test_towardzero): Likewise.
38549         (remainder_downward_test_data): Likewise.
38550         (remainder_test_downward): Likewise.
38551         (drem_test_downward): Likewise.
38552         (remainder_upward_test_data): Likewise.
38553         (remainder_test_upward): Likewise.
38554         (drem_test_upward): Likewise.
38555         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38556         (round_test): Use ALL_RM_TEST.
38557         (signbit_test): Likewise.
38558         (trunc_test): Likewise.
38559         (significand_test): Likewise.
38560         (main): Don't call removed functions.
38562 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38564         [BZ #16674]
38565         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38566         || __USE_XOPEN2K8].
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         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38588         (TRAP_TRACE): Likewise.
38589         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38590         __USE_XOPEN2K8].
38591         (CLD_KILLED): Likewise.
38592         (CLD_DUMPED): Likewise.
38593         (CLD_TRAPPED): Likewise.
38594         (CLD_STOPPED): Likewise.
38595         (CLD_CONTINUED): Likewise.
38596         (POLL_IN): Likewise.
38597         (POLL_OUT): Likewise.
38598         (POLL_MSG): Likewise.
38599         (POLL_ERR): Likewise.
38600         (POLL_PRI): Likewise.
38601         (POLL_HUP): Likewise.
38602         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38603         Likewise.
38604         (ILL_ILLOPN): Likewise.
38605         (ILL_ILLADR): Likewise.
38606         (ILL_ILLTRP): Likewise.
38607         (ILL_PRVOPC): Likewise.
38608         (ILL_PRVREG): Likewise.
38609         (ILL_COPROC): Likewise.
38610         (ILL_BADSTK): Likewise.
38611         (FPE_INTDIV): Likewise.
38612         (FPE_INTOVF): Likewise.
38613         (FPE_FLTDIV): Likewise.
38614         (FPE_FLTOVF): Likewise.
38615         (FPE_FLTUND): Likewise.
38616         (FPE_FLTRES): Likewise.
38617         (FPE_FLTINV): Likewise.
38618         (FPE_FLTSUB): Likewise.
38619         (SEGV_MAPERR): Likewise.
38620         (SEGV_ACCERR): Likewise.
38621         (BUS_ADRALN): Likewise.
38622         (BUS_ADRERR): Likewise.
38623         (BUS_OBJERR): Likewise.
38624         (BUS_MCEERR_AR): Likewise.
38625         (BUS_MCEERR_AO): Likewise.
38626         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38627         (TRAP_TRACE): Likewise.
38628         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38629         __USE_XOPEN2K8].
38630         (CLD_KILLED): Likewise.
38631         (CLD_DUMPED): Likewise.
38632         (CLD_TRAPPED): Likewise.
38633         (CLD_STOPPED): Likewise.
38634         (CLD_CONTINUED): Likewise.
38635         (POLL_IN): Likewise.
38636         (POLL_OUT): Likewise.
38637         (POLL_MSG): Likewise.
38638         (POLL_ERR): Likewise.
38639         (POLL_PRI): Likewise.
38640         (POLL_HUP): Likewise.
38641         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38642         (ILL_ILLOPN): Likewise.
38643         (ILL_ILLADR): Likewise.
38644         (ILL_ILLTRP): Likewise.
38645         (ILL_PRVOPC): Likewise.
38646         (ILL_PRVREG): Likewise.
38647         (ILL_COPROC): Likewise.
38648         (ILL_BADSTK): Likewise.
38649         (FPE_INTDIV): Likewise.
38650         (FPE_INTOVF): Likewise.
38651         (FPE_FLTDIV): Likewise.
38652         (FPE_FLTOVF): Likewise.
38653         (FPE_FLTUND): Likewise.
38654         (FPE_FLTRES): Likewise.
38655         (FPE_FLTINV): Likewise.
38656         (FPE_FLTSUB): Likewise.
38657         (SEGV_MAPERR): Likewise.
38658         (SEGV_ACCERR): Likewise.
38659         (BUS_ADRALN): Likewise.
38660         (BUS_ADRERR): Likewise.
38661         (BUS_OBJERR): Likewise.
38662         (BUS_MCEERR_AR): Likewise.
38663         (BUS_MCEERR_AO): Likewise.
38664         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38665         (TRAP_TRACE): Likewise.
38666         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38667         __USE_XOPEN2K8].
38668         (CLD_KILLED): Likewise.
38669         (CLD_DUMPED): Likewise.
38670         (CLD_TRAPPED): Likewise.
38671         (CLD_STOPPED): Likewise.
38672         (CLD_CONTINUED): Likewise.
38673         (POLL_IN): Likewise.
38674         (POLL_OUT): Likewise.
38675         (POLL_MSG): Likewise.
38676         (POLL_ERR): Likewise.
38677         (POLL_PRI): Likewise.
38678         (POLL_HUP): Likewise.
38679         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38680         Likewise.
38681         (ILL_ILLOPN): Likewise.
38682         (ILL_ILLADR): Likewise.
38683         (ILL_ILLTRP): Likewise.
38684         (ILL_PRVOPC): Likewise.
38685         (ILL_PRVREG): Likewise.
38686         (ILL_COPROC): Likewise.
38687         (ILL_BADSTK): Likewise.
38688         (ILL_BADIADDR): Likewise.
38689         (ILL_BREAK): Likewise.
38690         (FPE_INTDIV): Likewise.
38691         (FPE_INTOVF): Likewise.
38692         (FPE_FLTDIV): Likewise.
38693         (FPE_FLTOVF): Likewise.
38694         (FPE_FLTUND): Likewise.
38695         (FPE_FLTRES): Likewise.
38696         (FPE_FLTINV): Likewise.
38697         (FPE_FLTSUB): Likewise.
38698         (FPE_DECOVF): Likewise.
38699         (FPE_DECDIV): Likewise.
38700         (FPE_DECERR): Likewise.
38701         (FPE_INVASC): Likewise.
38702         (FPE_INVDEC): Likewise.
38703         (SEGV_MAPERR): Likewise.
38704         (SEGV_ACCERR): Likewise.
38705         (SEGV_PSTKOVF): Likewise.
38706         (BUS_ADRALN): Likewise.
38707         (BUS_ADRERR): Likewise.
38708         (BUS_OBJERR): Likewise.
38709         (BUS_MCEERR_AR): Likewise.
38710         (BUS_MCEERR_AO): Likewise.
38711         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38712         (TRAP_TRACE): Likewise.
38713         (TRAP_BRANCH): Likewise.
38714         (TRAP_HWBKPT): Likewise.
38715         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38716         __USE_XOPEN2K8].
38717         (CLD_KILLED): Likewise.
38718         (CLD_DUMPED): Likewise.
38719         (CLD_TRAPPED): Likewise.
38720         (CLD_STOPPED): Likewise.
38721         (CLD_CONTINUED): Likewise.
38722         (POLL_IN): Likewise.
38723         (POLL_OUT): Likewise.
38724         (POLL_MSG): Likewise.
38725         (POLL_ERR): Likewise.
38726         (POLL_PRI): Likewise.
38727         (POLL_HUP): Likewise.
38728         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38729         (ILL_ILLOPN): Likewise.
38730         (ILL_ILLADR): Likewise.
38731         (ILL_ILLTRP): Likewise.
38732         (ILL_PRVOPC): Likewise.
38733         (ILL_PRVREG): Likewise.
38734         (ILL_COPROC): Likewise.
38735         (ILL_BADSTK): Likewise.
38736         (FPE_INTDIV): Likewise.
38737         (FPE_INTOVF): Likewise.
38738         (FPE_FLTDIV): Likewise.
38739         (FPE_FLTOVF): Likewise.
38740         (FPE_FLTUND): Likewise.
38741         (FPE_FLTRES): Likewise.
38742         (FPE_FLTINV): Likewise.
38743         (FPE_FLTSUB): Likewise.
38744         (SEGV_MAPERR): Likewise.
38745         (SEGV_ACCERR): Likewise.
38746         (BUS_ADRALN): Likewise.
38747         (BUS_ADRERR): Likewise.
38748         (BUS_OBJERR): Likewise.
38749         (BUS_MCEERR_AR): Likewise.
38750         (BUS_MCEERR_AO): Likewise.
38751         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38752         (TRAP_TRACE): Likewise.
38753         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38754         __USE_XOPEN2K8].
38755         (CLD_KILLED): Likewise.
38756         (CLD_DUMPED): Likewise.
38757         (CLD_TRAPPED): Likewise.
38758         (CLD_STOPPED): Likewise.
38759         (CLD_CONTINUED): Likewise.
38760         (POLL_IN): Likewise.
38761         (POLL_OUT): Likewise.
38762         (POLL_MSG): Likewise.
38763         (POLL_ERR): Likewise.
38764         (POLL_PRI): Likewise.
38765         (POLL_HUP): Likewise.
38766         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38767         (ILL_ILLOPN): Likewise.
38768         (ILL_ILLADR): Likewise.
38769         (ILL_ILLTRP): Likewise.
38770         (ILL_PRVOPC): Likewise.
38771         (ILL_PRVREG): Likewise.
38772         (ILL_COPROC): Likewise.
38773         (ILL_BADSTK): Likewise.
38774         (FPE_INTDIV): Likewise.
38775         (FPE_INTOVF): Likewise.
38776         (FPE_FLTDIV): Likewise.
38777         (FPE_FLTOVF): Likewise.
38778         (FPE_FLTUND): Likewise.
38779         (FPE_FLTRES): Likewise.
38780         (FPE_FLTINV): Likewise.
38781         (FPE_FLTSUB): Likewise.
38782         (SEGV_MAPERR): Likewise.
38783         (SEGV_ACCERR): Likewise.
38784         (BUS_ADRALN): Likewise.
38785         (BUS_ADRERR): Likewise.
38786         (BUS_OBJERR): Likewise.
38787         (BUS_MCEERR_AR): Likewise.
38788         (BUS_MCEERR_AO): Likewise.
38789         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38790         (TRAP_TRACE): Likewise.
38791         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38792         __USE_XOPEN2K8].
38793         (CLD_KILLED): Likewise.
38794         (CLD_DUMPED): Likewise.
38795         (CLD_TRAPPED): Likewise.
38796         (CLD_STOPPED): Likewise.
38797         (CLD_CONTINUED): Likewise.
38798         (POLL_IN): Likewise.
38799         (POLL_OUT): Likewise.
38800         (POLL_MSG): Likewise.
38801         (POLL_ERR): Likewise.
38802         (POLL_PRI): Likewise.
38803         (POLL_HUP): Likewise.
38804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38805         (ILL_ILLOPN): Likewise.
38806         (ILL_ILLADR): Likewise.
38807         (ILL_ILLTRP): Likewise.
38808         (ILL_PRVOPC): Likewise.
38809         (ILL_PRVREG): Likewise.
38810         (ILL_COPROC): Likewise.
38811         (ILL_BADSTK): Likewise.
38812         (FPE_INTDIV): Likewise.
38813         (FPE_INTOVF): Likewise.
38814         (FPE_FLTDIV): Likewise.
38815         (FPE_FLTOVF): Likewise.
38816         (FPE_FLTUND): Likewise.
38817         (FPE_FLTRES): Likewise.
38818         (FPE_FLTINV): Likewise.
38819         (FPE_FLTSUB): Likewise.
38820         (SEGV_MAPERR): Likewise.
38821         (SEGV_ACCERR): Likewise.
38822         (BUS_ADRALN): Likewise.
38823         (BUS_ADRERR): Likewise.
38824         (BUS_OBJERR): Likewise.
38825         (BUS_MCEERR_AR): Likewise.
38826         (BUS_MCEERR_AO): Likewise.
38827         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38828         (TRAP_TRACE): Likewise.
38829         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38830         __USE_XOPEN2K8].
38831         (CLD_KILLED): Likewise.
38832         (CLD_DUMPED): Likewise.
38833         (CLD_TRAPPED): Likewise.
38834         (CLD_STOPPED): Likewise.
38835         (CLD_CONTINUED): Likewise.
38836         (POLL_IN): Likewise.
38837         (POLL_OUT): Likewise.
38838         (POLL_MSG): Likewise.
38839         (POLL_ERR): Likewise.
38840         (POLL_PRI): Likewise.
38841         (POLL_HUP): Likewise.
38842         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38843         (ILL_ILLOPN): Likewise.
38844         (ILL_ILLADR): Likewise.
38845         (ILL_ILLTRP): Likewise.
38846         (ILL_PRVOPC): Likewise.
38847         (ILL_PRVREG): Likewise.
38848         (ILL_COPROC): Likewise.
38849         (ILL_BADSTK): Likewise.
38850         (ILL_DBLFLT): Likewise.
38851         (ILL_HARDWALL): Likewise.
38852         (FPE_INTDIV): Likewise.
38853         (FPE_INTOVF): Likewise.
38854         (FPE_FLTDIV): Likewise.
38855         (FPE_FLTOVF): Likewise.
38856         (FPE_FLTUND): Likewise.
38857         (FPE_FLTRES): Likewise.
38858         (FPE_FLTINV): Likewise.
38859         (FPE_FLTSUB): Likewise.
38860         (SEGV_MAPERR): Likewise.
38861         (SEGV_ACCERR): Likewise.
38862         (BUS_ADRALN): Likewise.
38863         (BUS_ADRERR): Likewise.
38864         (BUS_OBJERR): Likewise.
38865         (BUS_MCEERR_AR): Likewise.
38866         (BUS_MCEERR_AO): Likewise.
38867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38868         (TRAP_TRACE): Likewise.
38869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38870         __USE_XOPEN2K8].
38871         (CLD_KILLED): Likewise.
38872         (CLD_DUMPED): Likewise.
38873         (CLD_TRAPPED): Likewise.
38874         (CLD_STOPPED): Likewise.
38875         (CLD_CONTINUED): Likewise.
38876         (POLL_IN): Likewise.
38877         (POLL_OUT): Likewise.
38878         (POLL_MSG): Likewise.
38879         (POLL_ERR): Likewise.
38880         (POLL_PRI): Likewise.
38881         (POLL_HUP): Likewise.
38882         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38883         (ILL_ILLOPN): Likewise.
38884         (ILL_ILLADR): Likewise.
38885         (ILL_ILLTRP): Likewise.
38886         (ILL_PRVOPC): Likewise.
38887         (ILL_PRVREG): Likewise.
38888         (ILL_COPROC): Likewise.
38889         (ILL_BADSTK): Likewise.
38890         (FPE_INTDIV): Likewise.
38891         (FPE_INTOVF): Likewise.
38892         (FPE_FLTDIV): Likewise.
38893         (FPE_FLTOVF): Likewise.
38894         (FPE_FLTUND): Likewise.
38895         (FPE_FLTRES): Likewise.
38896         (FPE_FLTINV): Likewise.
38897         (FPE_FLTSUB): Likewise.
38898         (SEGV_MAPERR): Likewise.
38899         (SEGV_ACCERR): Likewise.
38900         (BUS_ADRALN): Likewise.
38901         (BUS_ADRERR): Likewise.
38902         (BUS_OBJERR): Likewise.
38903         (BUS_MCEERR_AR): Likewise.
38904         (BUS_MCEERR_AO): Likewise.
38905         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38906         (TRAP_TRACE): Likewise.
38907         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38908         __USE_XOPEN2K8].
38909         (CLD_KILLED): Likewise.
38910         (CLD_DUMPED): Likewise.
38911         (CLD_TRAPPED): Likewise.
38912         (CLD_STOPPED): Likewise.
38913         (CLD_CONTINUED): Likewise.
38914         (POLL_IN): Likewise.
38915         (POLL_OUT): Likewise.
38916         (POLL_MSG): Likewise.
38917         (POLL_ERR): Likewise.
38918         (POLL_PRI): Likewise.
38919         (POLL_HUP): Likewise.
38920         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38921         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38923         [BZ #16670]
38924         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38925         before #include of <time.h>.
38926         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38927         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38928         (test-xfail-UNIX98/sched.h/conform): Likewise.
38930 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38932         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38933         error absence of trapping exception support.
38934         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38936 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38938         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38939         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38940         * timezone/Makefile (testdata): Move definition above include of
38941         Rules.
38942         (test-zones): New variable.
38943         (tests-special): Add zone files.
38944         (build-testdata): Use $(evaluate-test).
38946         * elf/Makefile (tests-special): Rename tests to end with .out.
38947         ($(objpfx)noload-mem): Likewise.
38948         ($(objpfx)tst-leaks1-mem): Likewise.
38949         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38950         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38951         $(objpfx)test-iconvconfig.out.
38952         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38953         set -e inside subshell and redirect output to file.
38954         * iconvdata/Makefile (generated): Rename tests to end with .out.
38955         Correct type.
38956         (tests-special): Rename tests to end with .out.
38957         ($(objpfx)mtrace-tst-loading): Likewise.
38958         * intl/Makefile (generated): Likewise.
38959         (tests-special): Likewise.
38960         ($(objpfx)mtrace-tst-gettext): Likewise.
38961         * misc/Makefile (generated): Likewise.
38962         (tests-special): Likewise.
38963         ($(objpfx)tst-error1-mem): Likewise.
38964         * nptl/Makefile (tests-special): Likewise.
38965         ($(objpfx)tst-stack3-mem): Likewise.
38966         (generated): Likewise.
38967         * posix/Makefile (generated): Likewise.
38968         (tests-special): Likewise.
38969         (xtests-special): Likewise.
38970         ($(objpfx)tst-fnmatch-mem): Likewise.
38971         ($(objpfx)bug-regex2-mem): Likewise.
38972         ($(objpfx)bug-regex14-mem): Likewise.
38973         ($(objpfx)bug-regex21-mem): Likewise.
38974         ($(objpfx)bug-regex31-mem): Likewise.
38975         ($(objpfx)tst-vfork3-mem): Likewise.
38976         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38977         ($(objpfx)tst-pcre-mem): Likewise.
38978         ($(objpfx)tst-boost-mem): Likewise.
38979         ($(objpfx)bug-ga2-mem): Likewise.
38980         ($(objpfx)bug-glob2-mem): Likewise.
38981         * resolv/Makefile (generate): Likewise.
38982         (tests-special): Likewise.
38983         (xtests-special): Likewise.
38984         (generated): Likewise.
38985         ($(objpfx)mtrace-tst-leaks): Likewise.
38986         ($(objpfx)mtrace-tst-leaks2): Likewise.
38988         * scripts/merge-test-results.sh: New file.
38989         * Makefile (tests-special-notdir): New variable.
38990         (tests): Run merge-test-results.sh.
38991         (xtests): Likewise.
38992         * Rules (tests-special-notdir): New variable.
38993         (xtests-special-notdir): Likewise.
38994         (tests): Run merge-test-results.sh
38995         (xtests): Likewise.
38997         * Makeconfig (test-xfail-name): New variable.
38998         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38999         compute variable name for expected failures.
39000         * conform/Makefile (conformtest-headers-data): New variable.
39001         (conformtest-standards): Likewise.
39002         (conformtest-headers-ISO): Likewise.
39003         (conformtest-headers-ISO99): Likewise.
39004         (conformtest-headers-ISO11): Likewise.
39005         (conformtest-headers-POSIX): Likewise.
39006         (conformtest-headers-XPG3): Likewise.
39007         (conformtest-headers-XPG4): Likewise.
39008         (conformtest-headers-UNIX98): Likewise.
39009         (conformtest-headers-XOPEN2K): Likewise.
39010         (conformtest-headers-POSIX2008): Likewise.
39011         (conformtest-headers-XOPEN2K8): Likewise.
39012         (conformtest-header-list-base): Likewise.
39013         (conformtest-header-list-tests): Likewise.
39014         (conformtest-header-base): Likewise.
39015         (conformtest-header-tests): Likewise.
39016         (tests-special): Add $(conformtest-header-list-tests).  If
39017         [$(fast-check) && !$(cross-compiling)], add
39018         $(conformtest-header-tests) instead of
39019         $(objpfx)run-conformtest.out.
39020         (generated): Add $(conformtest-header-list-base).  If
39021         [$(fast-check) && !$(cross-compiling)], add
39022         $(conformtest-header-base).  Remove previous setting.
39023         ($(conformtest-header-list-tests)): New target.
39024         (test-xfail-run-conformtest): Remove variable.
39025         ($(objpfx)run-conformtest.out): Remove target.
39026         (test-xfail-ISO11/complex.h/conform): New variable.
39027         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39028         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39029         (test-xfail-XPG3/varargs.h/conform): Likewise.
39030         (test-xfail-XPG4/varargs.h/conform): Likewise.
39031         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39032         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39033         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39034         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39035         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39036         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39037         (test-xfail-XPG3/ftw.h/conform): Likewise.
39038         (test-xfail-XPG3/grp.h/conform): Likewise.
39039         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39040         (test-xfail-XPG3/limits.h/conform): Likewise.
39041         (test-xfail-XPG3/pwd.h/conform): Likewise.
39042         (test-xfail-XPG3/search.h/conform): Likewise.
39043         (test-xfail-XPG3/signal.h/conform): Likewise.
39044         (test-xfail-XPG3/stdio.h/conform): Likewise.
39045         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39046         (test-xfail-XPG3/string.h/conform): Likewise.
39047         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39048         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39049         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39050         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39051         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39052         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39053         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39054         (test-xfail-XPG3/termios.h/conform): Likewise.
39055         (test-xfail-XPG3/time.h/conform): Likewise.
39056         (test-xfail-XPG3/unistd.h/conform): Likewise.
39057         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39058         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39059         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39060         (test-xfail-XPG4/netdb.h/conform): Likewise.
39061         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39062         (test-xfail-XPG4/signal.h/conform): Likewise.
39063         (test-xfail-XPG4/stdio.h/conform): Likewise.
39064         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39065         (test-xfail-XPG4/stropts.h/conform): Likewise.
39066         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39067         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39068         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39069         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39070         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39071         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39072         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39073         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39074         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39075         (test-xfail-XPG4/termios.h/conform): Likewise.
39076         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39077         (test-xfail-XPG4/unistd.h/conform): Likewise.
39078         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39079         (test-xfail-POSIX/sched.h/conform): Likewise.
39080         (test-xfail-POSIX/signal.h/conform): Likewise.
39081         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39082         (test-xfail-POSIX/tar.h/conform): Likewise.
39083         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39084         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39085         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39086         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39087         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39088         (test-xfail-UNIX98/sched.h/conform): Likewise.
39089         (test-xfail-UNIX98/signal.h/conform): Likewise.
39090         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39091         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39092         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39093         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39094         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39095         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39096         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39097         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39098         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39099         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39100         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39101         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39102         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39103         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39104         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39105         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39106         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39107         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39108         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39109         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39110         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39111         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39112         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39113         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39114         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39115         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39116         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39117         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39118         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39119         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39120         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39121         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39122         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39123         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39124         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39125         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39126         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39127         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39128         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39129         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39130         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39131         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39132         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39133         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39134         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39135         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39136         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39137         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39138         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39139         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39140         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39141         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39142         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39143         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39144         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39145         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39146         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39147         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39148         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39149         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39150         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39151         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39152         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39153         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39154         (conformtest-cc-flags): Likewise.
39155         ($(conformtest-header-tests): New target.
39156         * conform/check-header-lists.sh: New file.
39157         * conform/run-conformtest.sh: Remove.
39159         * conform/conformtest.pl: Allow ' and \ in values given for
39160         constants.
39161         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39162         inclusion.
39163         [POSIX] (sys/types.h): Likewise.
39164         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39165         inclusion.
39166         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39167         inclusion.
39168         * conform/data/signal.h-data (SIGIO): Remove expectation.
39169         [XPG3] (SIGBUS): Do not expect.
39170         [POSIX || XPG3] (SIGPOLL): Likewise.
39171         [POSIX || XPG3] (SIGPROF): Likewise.
39172         [POSIX || XPG3] (SIGSYS): Likewise.
39173         [XPG3] (SIGTRAP): Likewise.
39174         [POSIX || XPG3] (SIGURG): Likewise.
39175         [POSIX || XPG3] (SIGVTALRM): Likewise.
39176         [POSIX || XPG3] (SIGXCPU): Likewise.
39177         [POSIX || XPG3] (SIGXFSZ): Likewise.
39178         [POSIX] (SA_SIGINFO): Expect.
39179         [XPG3] (siginfo_t): Do not expect type or contents.
39180         [POSIX] (si_pid): Do not expect element.
39181         [POSIX] (si_uid): Likewise.
39182         [POSIX] (si_addr): Likewise.
39183         [POSIX] (si_status): Likewise.
39184         [POSIX] (si_band): Likewise.
39185         [XPG4] (si_value): Likewise.
39186         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39187         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39188         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39189         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39190         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39191         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39192         [POSIX || XPG3] (ILL_COPROC): Likewise.
39193         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39194         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39195         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39196         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39197         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39198         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39199         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39200         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39201         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39202         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39203         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39204         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39205         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39206         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39207         [POSIX || XPG3] (CLD_EXITED): Likewise.
39208         [POSIX || XPG3] (CLD_KILLED): Likewise.
39209         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39210         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39211         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39212         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39213         [POSIX || XPG3] (POLL_IN): Likewise.
39214         [POSIX || XPG3] (POLL_OUT): Likewise.
39215         [POSIX || XPG3] (POLL_MSG): Likewise.
39216         [POSIX || XPG3] (POLL_ERR): Likewise.
39217         [POSIX || XPG3] (POLL_PRI): Likewise.
39218         [POSIX || XPG3] (POLL_HUP): Likewise.
39219         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39220         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39221         (SIG*): Do not allow.
39222         [XPG3] (si_*): Likewise.
39223         [XPG3] (SI_*): Likewise.
39224         [XPG3 || XPG4] (sigev_*): Likewise.
39225         [XPG3 || XPG4] (SIGEV_*): Likewise.
39226         [XPG3 || XPG4] (sival_*): Likewise.
39227         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39228         [POSIX || XPG3] (BUS_*): Likewise.
39229         [POSIX || XPG3] (CLD_*): Likewise.
39230         [POSIX || XPG3] (FPE_*): Likewise.
39231         [POSIX || XPG3] (ILL_*): Likewise.
39232         [POSIX || XPG3] (POLL_*): Likewise.
39233         [POSIX || XPG3] (SEGV_*): Likewise.
39234         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39235         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39236         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39237         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39238         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39239         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39240         Specify type and value.
39241         (TVERSLEN): Likewise.
39242         (REGTYPE): Likewise.
39243         (AREGTYPE): Likewise.
39244         (LNKTYPE): Likewise.
39245         (SYMTYPE): Likewise.
39246         (CHRTYPE): Likewise.
39247         (BLKTYPE): Likewise.
39248         (DIRTYPE): Likewise.
39249         (FIFOTYPE): Likewise.
39250         (CONTTYPE): Likewise.
39251         (TSUID): Likewise.
39252         (TSGID): Likewise.
39253         (TSVTX): Likewise.
39254         (TUREAD): Likewise.
39255         (TUWRITE): Likewise.
39256         (TUEXEC): Likewise.
39257         (TGREAD): Likewise.
39258         (TGWRITE): Likewise.
39259         (TGEXEC): Likewise.
39260         (TOREAD): Likewise.
39261         (TOWRITE): Likewise.
39262         (TOEXEC): Likewise.
39263         [POSIX] (TSVTX): Expect constant.
39265 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39267         * Makefile (tests): Change dependencies to ....
39268         (tests-special): ... additions to this variable.
39269         (tests): Depend on $(tests-special).
39270         * Makerules (check-abi-list): New variable.
39271         (check-abi): Depend on $(check-abi-list).
39272         [$(subdir) = elf] (tests-special): Add
39273         $(objpfx)check-abi-libc.out.
39274         [$(build-shared) = yes && subdir] (tests-special): Add
39275         $(check-abi-list).
39276         [$(build-shared) = yes && subdir] (tests): Do not depend on
39277         check-abi.
39278         * Rules (tests): Depend on $(tests-special).
39279         (xtests): Depend on $(xtests-special).
39280         * catgets/Makefile (tests): Change dependencies to ....
39281         (tests-special): ... additions to this variable.
39282         * conform/Makefile (tests): Change dependencies to ....
39283         (tests-special): ... additions to this variable.
39284         * elf/Makefile (tests): Change dependencies to ....
39285         (tests-special): ... additions to this variable.
39286         * grp/Makefile (tests): Change dependencies to ....
39287         (tests-special): ... additions to this variable.
39288         * iconv/Makefile (xtests): Change dependencies to ....
39289         (xtests-special): ... additions to this variable.
39290         * iconvdata/Makefile (tests): Change dependencies to ....
39291         (tests-special): ... additions to this variable.
39292         * intl/Makefile (tests): Change dependencies to ....
39293         (tests-special): ... additions to this variable.  Also add
39294         $(objpfx)tst-gettext.out.
39295         * io/Makefile (tests): Change dependencies to ....
39296         (tests-special): ... additions to this variable.
39297         * libio/Makefile (tests): Change dependencies to ....
39298         (tests-special): ... additions to this variable.
39299         * malloc/Makefile (tests): Change dependencies to ....
39300         (tests-special): ... additions to this variable.
39301         * misc/Makefile (tests): Change dependencies to ....
39302         (tests-special): ... additions to this variable.
39303         * nptl/Makefile (tests): Change dependencies to ....
39304         (tests-special): ... additions to this variable.
39305         * nptl_db/Makefile (tests): Change dependencies to ....
39306         (tests-special): ... additions to this variable.
39307         * posix/Makefile (tests): Change dependencies to ....
39308         (tests-special): ... additions to this variable.
39309         (xtests): Change dependencies to ....
39310         (xtests-special): ... additions to this variable.
39311         * resolv/Makefile (tests): Change dependencies to ....
39312         (tests-special): ... additions to this variable.
39313         (xtests): Change dependencies to ....
39314         (xtests-special): ... additions to this variable.
39315         * stdio-common/Makefile (tests): Change dependencies to ....
39316         (tests-special): ... additions to this variable.
39317         (do-tst-unbputc): Remove target.
39318         (do-tst-printf): Likewise.
39319         * stdlib/Makefile (tests): Change dependencies to ....
39320         (tests-special): ... additions to this variable.
39321         * string/Makefile (tests): Change dependencies to ....
39322         (tests-special): ... additions to this variable.
39323         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39324         (tests-special): ... additions to this variable.
39326         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39327         whole file.
39328         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39329         whole file.
39330         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39331         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39333         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39334         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39335         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39336         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39337         * conform/data/libgen.h-data [XPG3]: Likewise.
39338         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39339         * conform/data/ndbm.h-data [XPG3]: Likewise.
39340         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39341         * conform/data/netdb.h-data [XPG3]: Likewise.
39342         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39343         * conform/data/poll.h-data [XPG3]: Likewise.
39344         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39345         * conform/data/strings.h-data [XPG3]: Likewise.
39346         * conform/data/stropts.h-data [XPG3]: Likewise.
39347         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39348         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39349         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39350         Likewise.
39351         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39352         * conform/data/sys/time.h-data [XPG3]: Likewise.
39353         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39354         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39355         * conform/data/sys/un.h-data [XPG3]: Likewise.
39356         * conform/data/syslog.h-data [XPG3]: Likewise.
39357         * conform/data/ucontext.h-data [XPG3]: Likewise.
39358         * conform/data/utmpx.h-data [XPG3]: Likewise.
39359         * conform/data/varargs.h-data [UNIX98]: Enable file.
39361         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39363         * math/libm-test.inc (struct test_f_f_data): Move expected results
39364         into structure for each rounding mode.
39365         (struct test_ff_f_data): Likewise.
39366         (struct test_ff_f_data_nexttoward): Likewise.
39367         (struct test_fi_f_data): Likewise.
39368         (struct test_fl_f_data): Likewise.
39369         (struct test_if_f_data): Likewise.
39370         (struct test_fff_f_data): Likewise.
39371         (struct test_c_f_data): Likewise.
39372         (struct test_f_f1_data): Likewise.
39373         (struct test_fF_f1_data): Likewise.
39374         (struct test_ffI_f1_data): Likewise.
39375         (struct test_c_c_data): Likewise.
39376         (struct test_cc_c_data): Likewise.
39377         (struct test_f_i_data): Likewise.
39378         (struct test_ff_i_data): Likewise.
39379         (struct test_f_l_data): Likewise.
39380         (struct test_f_L_data): Likewise.
39381         (struct test_fFF_11_data): Likewise.
39382         (RM_): New macro.
39383         (RM_FE_DOWNWARD): Likewise.
39384         (RM_FE_TONEAREST): Likewise.
39385         (RM_FE_TOWARDZERO): Likewise.
39386         (RM_FE_UPWARD): Likewise.
39387         (RUN_TEST_LOOP_f_f): Update references to expected results.
39388         (RUN_TEST_LOOP_2_f): Likewise.
39389         (RUN_TEST_LOOP_fff_f): Likewise.
39390         (RUN_TEST_LOOP_c_f): Likewise.
39391         (RUN_TEST_LOOP_f_f1): Likewise.
39392         (RUN_TEST_LOOP_fF_f1): Likewise.
39393         (RUN_TEST_LOOP_fI_f1): Likewise.
39394         (RUN_TEST_LOOP_ffI_f1): Likewise.
39395         (RUN_TEST_LOOP_c_c): Likewise.
39396         (RUN_TEST_LOOP_cc_c): Likewise.
39397         (RUN_TEST_LOOP_f_i): Likewise.
39398         (RUN_TEST_LOOP_f_i_tg): Likewise.
39399         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39400         (RUN_TEST_LOOP_f_b): Likewise.
39401         (RUN_TEST_LOOP_f_b_tg): Likewise.
39402         (RUN_TEST_LOOP_f_l): Likewise.
39403         (RUN_TEST_LOOP_f_L): Likewise.
39404         (RUN_TEST_LOOP_fFF_11): Likewise.
39405         * math/gen-libm-test.pl (parse_args): Output four copies of
39406         expected results for each test.
39408         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39409         (__ASSUME_UTIMES): Remove.
39410         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39411         (__ASSUME_UTIMES): Likewise.
39413         * math/gen-auto-libm-tests.c: Update comment on output format.
39414         (output_for_one_input_case): Generate before-rounding and
39415         after-rounding information as conditions on output flags not
39416         floating-point format.
39417         * math/auto-libm-test-out: Regenerated.
39418         * math/gen-libm-test.pl (cond_value): New function.
39419         (or_cond_value): Use cond_value.
39420         (generate_testfile): Handle conditional exceptions.
39422 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39424         * math/libm-test.inc (max_valid_error): New variable.
39425         (init_max_error): Take new argument specifying whether function
39426         results are exactly determined.  Set max_valid_error and bound
39427         other variables for errors based on this argument.
39428         (set_max_error): Do not record results above max_valid_error.
39429         (check_float_internal): Only accept errors of up to 0.5ulps if
39430         also at most max_valid_error.
39431         (START): Take new argument EXACT and pass it to init_max_error.
39432         (acos_test): Update call to START.
39433         (acos_test_tonearest): Likewise.
39434         (acos_test_towardzero): Likewise.
39435         (acos_test_downward): Likewise.
39436         (acos_test_upward): Likewise.
39437         (acosh_test): Likewise.
39438         (asin_test): Likewise.
39439         (asin_test_tonearest): Likewise.
39440         (asin_test_towardzero): Likewise.
39441         (asin_test_downward): Likewise.
39442         (asin_test_upward): Likewise.
39443         (asinh_test): Likewise.
39444         (atan_test): Likewise.
39445         (atanh_test): Likewise.
39446         (atan2_test): Likewise.
39447         (cabs_test): Likewise.
39448         (cacos_test): Likewise.
39449         (cacosh_test): Likewise.
39450         (carg_test): Likewise.
39451         (casin_test): Likewise.
39452         (casinh_test): Likewise.
39453         (catan_test): Likewise.
39454         (catanh_test): Likewise.
39455         (cbrt_test): Likewise.
39456         (ccos_test): Likewise.
39457         (ccosh_test): Likewise.
39458         (ceil_test): Likewise.
39459         (cexp_test): Likewise.
39460         (cimag_test): Likewise.
39461         (clog_test): Likewise.
39462         (clog10_test): Likewise.
39463         (conj_test): Likewise.
39464         (copysign_test): Likewise.
39465         (cos_test): Likewise.
39466         (cos_test_tonearest): Likewise.
39467         (cos_test_towardzero): Likewise.
39468         (cos_test_downward): Likewise.
39469         (cos_test_upward): Likewise.
39470         (cosh_test): Likewise.
39471         (cosh_test_tonearest): Likewise.
39472         (cosh_test_towardzero): Likewise.
39473         (cosh_test_downward): Likewise.
39474         (cosh_test_upward): Likewise.
39475         (cpow_test): Likewise.
39476         (cproj_test): Likewise.
39477         (creal_test): Likewise.
39478         (csin_test): Likewise.
39479         (csinh_test): Likewise.
39480         (csqrt_test): Likewise.
39481         (ctan_test): Likewise.
39482         (ctan_test_tonearest): Likewise.
39483         (ctan_test_towardzero): Likewise.
39484         (ctan_test_downward): Likewise.
39485         (ctan_test_upward): Likewise.
39486         (ctanh_test): Likewise.
39487         (ctanh_test_tonearest): Likewise.
39488         (ctanh_test_towardzero): Likewise.
39489         (ctanh_test_downward): Likewise.
39490         (ctanh_test_upward): Likewise.
39491         (erf_test): Likewise.
39492         (erfc_test): Likewise.
39493         (exp_test): Likewise.
39494         (exp_test_tonearest): Likewise.
39495         (exp_test_towardzero): Likewise.
39496         (exp_test_downward): Likewise.
39497         (exp_test_upward): Likewise.
39498         (exp10_test): Likewise.
39499         (exp10_test_tonearest): Likewise.
39500         (exp10_test_towardzero): Likewise.
39501         (exp10_test_downward): Likewise.
39502         (exp10_test_upward): Likewise.
39503         (pow10_test): Likewise.
39504         (exp2_test): Likewise.
39505         (expm1_test): Likewise.
39506         (expm1_test_tonearest): Likewise.
39507         (expm1_test_towardzero): Likewise.
39508         (expm1_test_downward): Likewise.
39509         (expm1_test_upward): Likewise.
39510         (fabs_test): Likewise.
39511         (fdim_test): Likewise.
39512         (floor_test): Likewise.
39513         (fma_test): Likewise.
39514         (fma_test_towardzero): Likewise.
39515         (fma_test_downward): Likewise.
39516         (fma_test_upward): Likewise.
39517         (fmax_test): Likewise.
39518         (fmin_test): Likewise.
39519         (fmod_test): Likewise.
39520         (fpclassify_test): Likewise.
39521         (frexp_test): Likewise.
39522         (hypot_test): Likewise.
39523         (ilogb_test): Likewise.
39524         (isfinite_test): Likewise.
39525         (finite_test): Likewise.
39526         (isgreater_test): Likewise.
39527         (isgreaterequal_test): Likewise.
39528         (isinf_test): Likewise.
39529         (isless_test): Likewise.
39530         (islessequal_test): Likewise.
39531         (islessgreater_test): Likewise.
39532         (isnan_test): Likewise.
39533         (isnormal_test): Likewise.
39534         (issignaling_test): Likewise.
39535         (isunordered_test): Likewise.
39536         (j0_test): Likewise.
39537         (j1_test): Likewise.
39538         (jn_test): Likewise.
39539         (ldexp_test): Likewise.
39540         (lgamma_test): Likewise.
39541         (gamma_test): Likewise.
39542         (lrint_test): Likewise.
39543         (lrint_test_tonearest): Likewise.
39544         (lrint_test_towardzero): Likewise.
39545         (lrint_test_downward): Likewise.
39546         (lrint_test_upward): Likewise.
39547         (llrint_test): Likewise.
39548         (llrint_test_tonearest): Likewise.
39549         (llrint_test_towardzero): Likewise.
39550         (llrint_test_downward): Likewise.
39551         (llrint_test_upward): Likewise.
39552         (log_test): Likewise.
39553         (log10_test): Likewise.
39554         (log1p_test): Likewise.
39555         (log2_test): Likewise.
39556         (logb_test): Likewise.
39557         (logb_test_downward): Likewise.
39558         (lround_test): Likewise.
39559         (llround_test): Likewise.
39560         (modf_test): Likewise.
39561         (nearbyint_test): Likewise.
39562         (nextafter_test): Likewise.
39563         (nexttoward_test): Likewise.
39564         (pow_test): Likewise.
39565         (pow_test_tonearest): Likewise.
39566         (pow_test_towardzero): Likewise.
39567         (pow_test_downward): Likewise.
39568         (pow_test_upward): Likewise.
39569         (remainder_test): Likewise.
39570         (drem_test): Likewise.
39571         (remainder_test_tonearest): Likewise.
39572         (drem_test_tonearest): Likewise.
39573         (remainder_test_towardzero): Likewise.
39574         (drem_test_towardzero): Likewise.
39575         (remainder_test_downward): Likewise.
39576         (drem_test_downward): Likewise.
39577         (remainder_test_upward): Likewise.
39578         (drem_test_upward): Likewise.
39579         (remquo_test): Likewise.
39580         (rint_test): Likewise.
39581         (rint_test_tonearest): Likewise.
39582         (rint_test_towardzero): Likewise.
39583         (rint_test_downward): Likewise.
39584         (rint_test_upward): Likewise.
39585         (round_test): Likewise.
39586         (scalb_test): Likewise.
39587         (scalbn_test): Likewise.
39588         (scalbln_test): Likewise.
39589         (signbit_test): Likewise.
39590         (sin_test): Likewise.
39591         (sin_test_tonearest): Likewise.
39592         (sin_test_towardzero): Likewise.
39593         (sin_test_downward): Likewise.
39594         (sin_test_upward): Likewise.
39595         (sincos_test): Likewise.
39596         (sinh_test): Likewise.
39597         (sinh_test_tonearest): Likewise.
39598         (sinh_test_towardzero): Likewise.
39599         (sinh_test_downward): Likewise.
39600         (sinh_test_upward): Likewise.
39601         (sqrt_test): Likewise.
39602         (sqrt_test_tonearest): Likewise.
39603         (sqrt_test_towardzero): Likewise.
39604         (sqrt_test_downward): Likewise.
39605         (sqrt_test_upward): Likewise.
39606         (tan_test): Likewise.
39607         (tan_test_tonearest): Likewise.
39608         (tan_test_towardzero): Likewise.
39609         (tan_test_downward): Likewise.
39610         (tan_test_upward): Likewise.
39611         (tanh_test): Likewise.
39612         (tgamma_test): Likewise.
39613         (trunc_test): Likewise.
39614         (y0_test): Likewise.
39615         (y1_test): Likewise.
39616         (yn_test): Likewise.
39617         (significand_test): Likewise.
39619         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39620         individual tests in comment.
39621         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39622         (prev_max_error): New variable.
39623         (prev_real_max_error): Likewise.
39624         (prev_imag_max_error): Likewise.
39625         (compare_ulp_data): Don't refer to test names in comment.
39626         (find_test_ulps): Remove function.
39627         (find_function_ulps): Likewise.
39628         (find_complex_function_ulps): Likewise.
39629         (init_max_error): Take function name as argument.  Look up ulps
39630         for that function.
39631         (print_ulps): Remove function.
39632         (print_max_error): Use prev_max_error instead of calling
39633         find_function_ulps.
39634         (print_complex_max_error): Use prev_real_max_error and
39635         prev_imag_max_error instead of calling find_complex_function_ulps.
39636         (check_float_internal): Take max_ulp parameter instead of calling
39637         find_test_ulps.  Don't call print_ulps.
39638         (check_float): Update call to check_float_internal.
39639         (check_complex): Update calls to check_float_internal.
39640         (START): Pass argument to init_max_error.
39641         * math/gen-libm-test.pl (%results): Don't include "kind"
39642         information.
39643         (parse_ulps): Don't handle ulps of individual tests.
39644         (print_ulps_file): Likewise.
39645         (output_ulps): Likewise.
39646         * math/README.libm-test: Update.
39647         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39648         individual tests.
39649         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39650         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39651         * sysdeps/arm/libm-test-ulps: Likewise.
39652         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39653         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39654         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39655         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39656         * sysdeps/microblaze/libm-test-ulps: Likewise.
39657         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39658         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39659         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39660         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39661         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39662         * sysdeps/sh/libm-test-ulps: Likewise.
39663         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39664         * sysdeps/tile/libm-test-ulps: Likewise.
39665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39667 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39669         * math/libm-test.inc (print_complex_max_error): Check separately
39670         whether real and imaginary errors are within allowed range and
39671         pass 0 to print_complex_function_ulps instead of value within
39672         allowed range.
39674 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39676         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39677         formatting.
39678         (get_handles_fopen): Likewise.
39679         (do_write_test): Likewise.
39681         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39683         * libio/fileops.c (do_ftell): Use cached offset when
39684         available.
39685         * libio/iofwide.c (do_ftell_wide): Likewise.
39686         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39687         _IO_file_attach.
39688         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39690         [BZ #16532]
39691         * libio/libioP.h (get_file_offset): New function.
39692         * libio/fileops.c (get_file_offset): Likewise.
39693         (do_ftell): Likewise.
39694         (_IO_new_file_seekoff): Split out ftell logic.
39695         * libio/wfileops.c (do_ftell_wide): Likewise.
39696         (_IO_wfile_seekoff): Split out ftell logic.
39697         * libio/tst-ftell-active-handler.c: New test case.
39698         * libio/Makefile (tests): Add it.
39700 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39702         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39703         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39705 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39707         [BZ #16639]
39708         * nscd/connections.c (nscd_init): Call do_exit.
39709         (start_threads): Call do_exit and notify_parent.
39710         (begin_drop_privileges): Call do_exit.
39711         (finish_drop_privileges): Likewise.
39712         * nscd/selinux.c (preserve_capabilities): Likewise.
39713         (install_real_capabilities): Likewise.
39714         (nscd_selinux_enabled): Likewise.
39715         (avc_create_thread): Likewise.
39716         (avc_alloc_lock): Likewise.
39717         (nscd_avc_init): Likewise.
39718         * nscd/nscd.c (parent_fd): New static variable.
39719         (main): Create a pipe between parent and child processes.
39720         Skip closing parent_fd.
39721         (monitor_child): New function.
39722         (do_exit): Likewise.
39723         (notify_parent): Likewise.
39724         * nscd/nscd.h (notify_parent): Likewise.
39725         (do_exit): Likewise.
39727 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39729         * malloc/malloc.c (__libc_calloc): Revert last change.
39731 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39735 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39737         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39739         implementation.
39740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39741         (__libc_ifunc_impl_list): Likewise.
39742         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39743         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39744         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39745         * string/strrchr.c: Define STRRCHR.
39747 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39749         * benchtest/bench-strtok.c (simple_strtok): Delete.
39750         (strtok_string): Use as benchmark.
39751         * string/strtok (STRTOK): New macro.
39753 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39755         * manual/threads.texi: Add header and standard comments to all
39756         functions.
39758         * elf/dl-lookup.c (check_match): New function.
39759         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39760         (do_lookup_x): Remove nested function check_match. Use non-nested
39761         function check_match.
39763 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39765         * csu/Makefile (generated, before-compile): Use += rather than =.
39766         * catgets/Makefile (generated, generated-dirs): Likewise.
39767         * debug/Makefile (generated): Likewise.
39768         * dlfcn/Makefile (generated): Likewise.
39769         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39770         * iconvdata/Makefile (before-compile, generated): Likewise.
39771         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39772         * libio/Makefile (generated): Likewise.
39773         * malloc/Makefile (generated): Likewise.
39774         * manual/Makefile (generated, generated-dirs): Likewise.
39775         * misc/Makefile (generated): Likewise.
39776         * posix/Makefile (generated): Likewise.
39777         * resolv/Makefile (generated): Likewise.
39778         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39779         * timezone/Makefile (generated, generated-dirs): Likewise.
39781         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39783 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39786         power8 implementation.
39787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39788         file: POWER8 llround ifunc implementation.
39789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39790         (__lllround): Add POWER8 implementation.
39791         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39792         POWER8 llround implementation.
39794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39795         power8 implementation.
39796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39797         file: POWER8 llrint ifunc implementation.
39798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39799         Add POWER8 implementation.
39800         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39801         POWER8 llrint implementation.
39803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39804         power8 implementation.
39805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39806         file: POWER8 finite ifunc implementation.
39807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39808         Add POWER8 implementation.
39809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39810         Likewise.
39811         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39812         POWER8 finite implementation.
39813         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39816         power8 implementation.
39817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39818         file: POWER8 isinf ifunc implementation.
39819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39820         POWER8 implementation.
39821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39822         Likewise.
39823         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39824         isinf implementation.
39825         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39827         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39828         (INIT_ARCH): Add hwcap2 initialization.
39829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39830         power8 implementation.
39831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39832         file: POWER8 isnan ifunc implementation.
39833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39834         POWER8 implementation.
39835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39836         Likewise.
39837         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39838         isnan implementation.
39839         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39841 2014-02-27  Joey Ye  <joey.ye@arm.com>
39843         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39844         (_FP_NANFRAC_Q): Set to zero.
39846 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39848         [BZ #16623]
39849         * math/auto-libm-test-in: New test inputs.
39850         * math/auto-libm-test-out: Regenerate.
39851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39852         and DA.
39853         (__cos): Likewise.
39854         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39856 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39858         * scripts/evaluate-test.sh: Take new argument indicating whether
39859         failure is expected.
39860         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39861         indicating whether failure is expected.
39862         * conform/Makefile (test-xfail-run-conformtest): New variable.
39863         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39864         level.
39865         * posix/Makefile (test-xfail-annexc): New variable.
39866         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39868 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39870         * argp/Makefile: Include Makeconfig immediately after defining
39871         subdir.
39872         * assert/Makefile: Likewise.
39873         * benchtests/Makefile: Likewise.
39874         * catgets/Makefile: Likewise.
39875         * conform/Makefile: Likewise.
39876         * crypt/Makefile: Likewise.
39877         * csu/Makefile: Likewise.
39878         (all): Remove target.
39879         * ctype/Makefile: Include Makeconfig immediately after defining
39880         subdir.
39881         * debug/Makefile: Likewise.
39882         * dirent/Makefile: Likewise.
39883         * dlfcn/Makefile: Likewise.
39884         * gmon/Makefile: Likewise.
39885         * gnulib/Makefile: Likewise.
39886         * grp/Makefile: Likewise.
39887         * gshadow/Makefile: Likewise.
39888         * hesiod/Makefile: Likewise.
39889         * hurd/Makefile: Likewise.
39890         (all): Remove target.
39891         * iconvdata/Makefile: Include Makeconfig immediately after
39892         defining subdir.
39893         * inet/Makefile: Likewise.
39894         * intl/Makefile: Likewise.
39895         * io/Makefile: Likewise.
39896         * libio/Makefile: Likewise.
39897         (all): Remove target.
39898         * locale/Makefile: Include Makeconfig immediately after defining
39899         subdir.
39900         * login/Makefile: Likewise.
39901         * mach/Makefile: Likewise.
39902         (all): Remove target.
39903         * malloc/Makefile: Include Makeconfig immediately after defining
39904         subdir.
39905         (all): Remove target.
39906         * manual/Makefile: Include Makeconfig immediately after defining
39907         subdir.
39908         * math/Makefile: Likewise.
39909         * misc/Makefile: Likewise.
39910         * nis/Makefile: Likewise.
39911         * nss/Makefile: Likewise.
39912         * po/Makefile: Likewise.
39913         (all): Remove target.
39914         * posix/Makefile: Include Makeconfig immediately after defining
39915         subdir.
39916         * pwd/Makefile: Likewise.
39917         * resolv/Makefile: Likewise.
39918         * resource/Makefile: Likewise.
39919         * rt/Makefile: Likewise.
39920         * setjmp/Makefile: Likewise.
39921         * shadow/Makefile: Likewise.
39922         * signal/Makefile: Likewise.
39923         * socket/Makefile: Likewise.
39924         * soft-fp/Makefile: Likewise.
39925         * stdio-common/Makefile: Likewise.
39926         * stdlib/Makefile: Likewise.
39927         * streams/Makefile: Likewise.
39928         * string/Makefile: Likewise.
39929         * sunrpc/Makefile: Likewise.
39930         (all): Remove target.
39931         * sysvipc/Makefile: Include Makeconfig immediately after defining
39932         subdir.
39933         * termios/Makefile: Likewise.
39934         * time/Makefile: Likewise.
39935         * timezone/Makefile: Likewise.
39936         (all): Remove target.
39937         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39938         subdir.
39939         * wctype/Makefile: Likewise.
39941 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39943         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39944         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39945         (libc_feholdexcept_setround_mips): Ditto.
39946         (libc_feholdsetround): New.
39947         (libc_feholdsetroundf): New.
39948         (libc_feholdsetroundl): New.
39949         (libc_feupdateenv_test_mips): New.
39950         (libc_feupdateenv_test): New.
39951         (libc_feupdateenv_testf): New.
39952         (libc_feupdateenv_testl): New.
39953         (libc_feresetround): New.
39954         (libc_feresetroundf): New.
39955         (libc_feresetroundl): New.
39956         (libc_fetestexcept_mips): New.
39957         (libc_fetestexcept): New.
39958         (libc_fetestexceptf): New.
39959         (libc_fetestexceptl): New.
39960         (HAVE_RM_CTX): New.
39961         (libc_feholdexcept_setround_mips_ctx): New.
39962         (libc_feholdexcept_setround_ctx): New.
39963         (libc_feholdexcept_setroundf_ctx): New.
39964         (libc_feholdexcept_setroundl_ctx): New.
39965         (libc_fesetenv_mips_ctx): New.
39966         (libc_fesetenv_ctx): New.
39967         (libc_fesetenv_ctxf): New.
39968         (libc_fesetenv_ctxl): New.
39969         (libc_feupdateenv_mips_ctx): New.
39970         (libc_feupdateenv_ctx): New.
39971         (libc_feupdateenvf_ctx): New.
39972         (libc_feupdateenvl_ctx): New.
39973         (libc_feholdsetround_mips_ctx): New.
39974         (libc_feholdsetround_ctx): New.
39975         (libc_feholdsetroundf_ctx): New.
39976         (libc_feholdsetroundl_ctx): New.
39977         (libc_feresetround_mips_ctx): New.
39978         (libc_feresetround_ctx): New.
39979         (libc_feresetroundf_ctx): New.
39980         (libc_feresetroundl_ctx): New.
39982 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39984         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39986         * manual/ipc.texi: New file.
39987         * manual/Makefile (chapters): Add ipc.
39988         * manual/job.texi: Add "Inter-Process Communication" to next.
39989         * manual/process.texi: Add "Inter-Process Communication" to prev.
39991 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39995 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39997         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39999         * manual/arith.texi: Fix spaces after sentences.
40000         * manual/charset.texi: Likewise.
40001         * manual/errno.texi: Likewise.
40002         * manual/install.texi: Likewise.
40003         * manual/llio.texi: Likewise.
40004         * manual/locale.texi: Likewise.
40005         * manual/maint.texi: Likewise.
40006         * manual/math.texi: Likewise.
40007         * manual/memory.texi: Likewise.
40008         * manual/message.texi: Likewise.
40009         * manual/probes.texi: Likewise.
40010         * manual/resource.texi: Likewise.
40011         * manual/signal.texi: Likewise.
40012         * manual/socket.texi: Likewise.
40013         * manual/stdio.texi: Likewise.
40014         * manual/string.texi: Likewise.
40015         * manual/time.texi: Likewise.
40016         * manual/users.texi: Likewise.
40018 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40020         [BZ #16632]
40021         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40022         _DEFAULT_SOURCE is defined.
40024 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40025             Carlos O'Donell  <carlos@redhat.com>
40027         [BZ #16613]
40028         * elf/dl-tls.c (_dl_count_modids): New function.
40029         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40030         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40031         audit library and increment generation counter.
40032         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40033         * elf/tst-audit9.c: New file.
40034         * elf/tst-auditmod9a.c: New file.
40035         * elf/tst-auditmod9b.c: New file.
40036         * elf/Makefile: Add rules to build and run tst-audit9.
40038 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40040         [BZ #15347]
40041         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40043 2014-02-25  Will Newton  <will.newton@linaro.org>
40045         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40046         (__longjmp): Restore sp and lr before restoring callee
40047         saved registers.  Add longjmp and longjmp_target
40048         SystemTap probe point.
40049         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40050         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40051         Define to zero to match jmpbuf layout.
40052         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40053         (__sigsetjmp): Save sp and lr before saving callee
40054         saved registers.  Add setjmp SystemTap probe point.
40056 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40058         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40060 2014-02-24  Andreas Schwab  <schwab@suse.de>
40062         [BZ #15804]
40063         * elf/pldd.c (wait_for_ptrace_stop): New function.
40064         (main): Call it after attaching.
40066 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40068         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40069         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40070         Versions files is now verboten.
40071         * hurd/Versions (libc: GLIBC_2.0):
40072         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40073         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40074         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40075         * mach/Versions: Likewise.
40077         * csu/Versions: Remove unused %include.
40078         * resolv/Versions: Likewise.
40080 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40082         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40083         ($(objpfx)check-local-headers.out): Likewise.
40084         ($(objpfx)begin-end-check.out): Likewise.
40085         * Makerules (check-abi-%.out): Likewise.
40086         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40087         ($(objpfx)test2.cat): Likewise.
40088         ($(objpfx)de/libc.cat): Likewise.
40089         ($(objpfx)test-gencat.out): Likewise.
40090         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40091         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40092         ($(objpfx)noload-mem): Likewise.
40093         ($(objpfx)tst-pathopt.out): Likewise.
40094         ($(objpfx)tst-rtld-load-self.out): Likewise.
40095         ($(objpfx)tst-array1-cmp.out): Likewise.
40096         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40097         ($(objpfx)tst-array2-cmp.out): Likewise.
40098         ($(objpfx)tst-array3-cmp.out): Likewise.
40099         ($(objpfx)tst-array4-cmp.out): Likewise.
40100         ($(objpfx)tst-array5-cmp.out): Likewise.
40101         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40102         ($(objpfx)check-textrel.out): Likewise.
40103         ($(objpfx)check-execstack.out): Likewise.
40104         ($(objpfx)check-localplt.out): Likewise.
40105         ($(objpfx)order2-cmp.out): Likewise.
40106         ($(objpfx)tst-leaks1-mem): Likewise.
40107         ($(objpfx)tst-leaks1-static-mem): Likewise.
40108         ($(objpfx)tst-initorder-cmp.out): Likewise.
40109         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40110         ($(objpfx)tst-unused-dep.out): Likewise.
40111         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40112         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40113         * iconv/Makefile (test-iconvconfig): Likewise.
40114         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40115         ($(objpfx)iconv-test.out): Likewise.
40116         ($(objpfx)tst-tables.out): Likewise.
40117         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40118         ($(objpfx)tst-gettext.out): Likewise.
40119         ($(objpfx)tst-translit.out): Likewise.
40120         ($(objpfx)tst-gettext2.out): Likewise.
40121         ($(objpfx)tst-gettext4.out): Likewise.
40122         ($(objpfx)tst-gettext6.out): Likewise.
40123         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40124         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40125         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40126         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40127         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40128         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40129         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40130         ($(objpfx)wordexp-tst.out): Likewise.
40131         ($(objpfx)annexc.out): Likewise.
40132         ($(objpfx)tst-fnmatch-mem): Likewise.
40133         ($(objpfx)bug-regex2-mem): Likewise.
40134         ($(objpfx)bug-regex14-mem): Likewise.
40135         ($(objpfx)bug-regex21-mem): Likewise.
40136         ($(objpfx)bug-regex31-mem): Likewise.
40137         ($(objpfx)tst-vfork3-mem): Likewise.
40138         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40139         ($(objpfx)tst-pcre-mem): Likewise.
40140         ($(objpfx)tst-boost-mem): Likewise.
40141         ($(objpfx)tst-getconf.out): Likewise.
40142         ($(objpfx)bug-ga2-mem): Likewise.
40143         ($(objpfx)bug-glob2-mem): Likewise.
40144         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40145         ($(objpfx)mtrace-tst-leaks2): Likewise.
40146         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40147         ($(objpfx)tst-printf.out): Likewise.
40148         ($(objpfx)tst-setvbuf1.out): Likewise.
40149         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40150         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40151         ($(objpfx)tst-fmtmsg.out): Likewise.
40152         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40153         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40155         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40156         * bits/sigaction.h [__USE_MISC]: Likewise.
40157         * bits/waitstatus.h: Update #endif comments.
40158         * ctype/ctype.h: Likewise.
40159         * dirent/dirent.h: Likewise.
40160         [__USE_MISC]: Remove redundant conditionals.
40161         * grp/grp.h: Update #endif comments.
40162         [__USE_GNU]: Remove redundant conditionals.
40163         [__USE_MISC]: Likewise.
40164         * inet/netinet/in.h [__USE_GNU]: Likewise.
40165         * io/sys/stat.h [__USE_MISC]: Likewise.
40166         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40167         * libio/bits/stdio.h: Update #endif comments.
40168         [__USE_MISC]: Remove redundant conditionals.
40169         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40170         * libio/stdio.h: Update #endif comments.
40171         [__USE_MISC]: Remove redundant conditionals.
40172         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40173         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40174         * math/math.h: Update #else and #endif comments.
40175         [__USE_MISC]: Remove redundant conditionals.
40176         * misc/sys/uio.h: Update #endif comments.
40177         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40178         * posix/glob.h [__USE_MISC]: Likewise.
40179         * posix/sys/types.h: Update #endif comments.
40180         [__USE_MISC]: Remove redundant conditionals.
40181         * posix/sys/wait.h: Update #endif comments.
40182         [__USE_MISC]: Remove redundant conditionals.
40183         * posix/unistd.h: Update #endif comments.
40184         [__USE_MISC]: Remove redundant conditionals.
40185         * pwd/pwd.h [__USE_GNU]: Likewise.
40186         [__USE_MISC]: Likewise.
40187         * resolv/netdb.h [__USE_GNU]: Likewise.
40188         * signal/signal.h: Update #endif comments.
40189         [__USE_MISC]: Remove redundant conditionals.
40190         * stdlib/stdlib.h: Update #else and #endif comments.
40191         [__USE_MISC]: Remove redundant conditionals.
40192         [__USE_GNU]: Likewise.
40193         * string/bits/string2.h [__USE_MISC]: Likewise.
40194         * string/string.h: Update #endif comments.
40195         [__USE_MISC]: Remove redundant conditionals.
40196         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40197         Likewise.
40198         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40199         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40200         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40201         Likewise.
40202         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40203         Likewise.
40204         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40205         comments.
40206         [__USE_MISC]: Remove redundant conditionals.
40207         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40208         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40209         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40210         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40211         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40212         Likewise.
40213         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40214         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40215         Likewise.
40216         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40217         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40218         Likewise.
40219         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40220         Likewise.
40221         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40222         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40223         Likewise.
40224         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40225         Likewise.
40226         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40227         * sysdeps/x86/bits/string.h: Update #endif comments.
40228         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40229         conditionals.
40230         * time/sys/time.h: Update #endif comments.
40231         * time/time.h: Likewise.
40232         [__USE_MISC]: Remove redundant conditionals.
40234 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40236         [BZ #16600]
40237         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40239 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40241         * Versions.def (librt): Add GLIBC_2.17.
40243 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40245         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40246         synonym for _SYS_AUXV_H to allow direct inclusion.
40247         * sysdeps/sparc/bits/hwcap.h: Likewise.
40248         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40249         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40250         * sysdeps/sparc/sysdep.h: Likewise.
40252 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40254         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40256 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40258         * benchtests/bench-strrchr.c: Print length instead of position.
40260 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40262         [BZ #16611]
40263         * sysdeps/unix/sysv/linux/kernel-features.h
40264         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40265         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40266         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40267         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40268         Likewise.
40269         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40270         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40271         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40272         (__ASSUME_SENDMMSG): Define instead of using previous
40273         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40274         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40275         (__ASSUME_SENDMMSG_SYSCALL): Define.
40276         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40277         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40278         Likewise.
40279         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40280         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40281         Likewise.
40282         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40283         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40284         Likewise.
40285         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40286         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40287         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40288         [__ASSUME_SENDMMSG]: Change conditionals to
40289         [__ASSUME_SENDMMSG_SOCKETCALL].
40290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40291         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40292         Define.
40293         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40294         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40295         Likewise.
40296         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40297         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40298         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40299         [!__ASSUME_SENDMMSG]: Change conditional to
40300         [!__ASSUME_SENDMMSG_SOCKETCALL].
40301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40302         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40303         Define.
40305         [BZ #16610]
40306         * sysdeps/unix/sysv/linux/kernel-features.h
40307         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40308         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40309         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40310         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40311         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40312         [__i386__ || __sparc__]
40313         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40314         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40315         (__ASSUME_RECVMMSG): Define instead of using previous
40316         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40317         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40318         (__ASSUME_RECVMMSG_SYSCALL): Define.
40319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40320         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40321         Likewise.
40322         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40323         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40324         Likewise.
40325         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40326         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40327         Likewise.
40328         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40329         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40330         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40331         [__ASSUME_RECVMMSG]: Change condition to
40332         [__ASSUME_RECVMMSG_SOCKETCALL].
40333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40334         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40335         Define.
40336         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40337         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40338         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40339         Likewise.
40340         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40341         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40342         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40343         [!__ASSUME_RECVMMSG]: Change condition to
40344         [!__ASSUME_RECVMMSG_SOCKETCALL].
40345         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40346         (__ASSUME_RECVMMSG_SYSCALL): Define.
40348         [BZ #16609]
40349         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40350         __powerpc__ || __s390__ || __sh__ || __sparc__]
40351         (__ASSUME_SOCKETCALL): Define.
40352         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40353         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40354         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40355         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40356         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40357         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40358         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40359         (__ASSUME_ACCEPT4): Define instead of using previous
40360         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40361         __powerpc__ || __sparc__ || __s390__)] condition.
40362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40363         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40364         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40365         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40366         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40367         [!__ASSUME_ACCEPT4]: Change condition to
40368         [!__ASSUME_ACCEPT4_SOCKETCALL].
40369         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40370         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40371         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40372         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40373         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40374         __ASSUME_ACCEPT4_SYSCALL.
40375         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40376         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40377         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40378         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40379         __ASSUME_ACCEPT4_SYSCALL.
40380         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40381         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40382         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40383         [__ASSUME_ACCEPT4]: Change condition to
40384         [__ASSUME_ACCEPT4_SOCKETCALL].
40385         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40386         (__ASSUME_SOCKETCALL): Define.
40387         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40388         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40389         (__ASSUME_SOCKETCALL): Define.
40390         (__ASSUME_ACCEPT4): Remove.
40391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40392         Define.
40393         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40394         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40395         Likewise.
40396         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40397         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40399         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40400         macro.
40401         (HWCAP_ARM_LPAE): Likewise.
40402         (HWCAP_ARM_EVTSTRM): Likewise.
40403         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40404         Add vpfd32, lpae and evtstrm.
40405         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40406         Increase to 22.
40408 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40410         * math/auto-libm-test-in: Add tests of clog10.
40411         * math/auto-libm-test-out: Regenerated.
40412         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40413         * sysdeps/i386/fpu/libm-test-ulps: Update.
40414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40416 2014-02-18  Andreas Schwab  <schwab@suse.de>
40418         [BZ #16574]
40419         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40420         Store non-zero if the second buffer was newly allocated.
40421         (send_dg): Likewise.
40422         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40423         to send_vc and send_dg.
40424         (res_nsend): Pass NULL for ansp2_malloced.
40425         * resolv/res_query.c (__libc_res_nquery): Add parameter
40426         answerp2_malloced and pass it down to __libc_res_nsend.
40427         (res_nquery): Pass additional NULL to __libc_res_nquery.
40428         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40429         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40430         second answer buffer if answerp2_malloced was set.
40431         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40432         (__libc_res_nquerydomain): Add parameter
40433         answerp2_malloced and pass it down to __libc_res_nquery.
40434         (res_nquerydomain): Pass additional NULL to
40435         __libc_res_nquerydomain.
40436         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40437         additional NULL to __libc_res_nsend and __libc_res_nquery.
40438         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40439         additional NULL to __libc_res_nsearch.
40440         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40441         parameter of __libc_res_nsearch to check for separately allocated
40442         second buffer.
40443         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40444         __libc_res_nquery.
40445         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40446         additional NULL to __libc_res_nquery.
40447         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40448         __libc_res_nsearch.
40449         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40450         * include/resolv.h: Update prototypes of __libc_res_nquery,
40451         __libc_res_nsearch, __libc_res_nsend.
40453 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40455         * math/auto-libm-test-in: Add tests of fma.
40456         * math/auto-libm-test-out: Regenerated.
40457         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40458         (fma_towardzero_test_data): Likewise.
40459         (fma_downward_test_data): Likewise.
40460         (fma_upward_test_data): Likewise.
40461         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40462         mpc_mode.
40463         (rounding_modes): Add values for new field.
40464         (func_calc_method): Add value mpfr_fff_f.
40465         (func_calc_desc): Add mpfr_fff_f union field.
40466         (test_function): Add field exact_args.
40467         (FUNC): Add macro argument EXACT_ARGS.
40468         (FUNC_mpfr_f_f): Update call to FUNC.
40469         (FUNC_mpfr_f_f): Likewise.
40470         (FUNC_mpfr_ff_f): Likewise.
40471         (FUNC_mpfr_if_f): Likewise.
40472         (FUNC_mpc_c_f): Likewise.
40473         (FUNC_mpc_c_c): Likewise.
40474         (test_functions): Add fma.  Update calls to FUNC.
40475         (handle_input_arg): Add argument exact_args.
40476         (add_test): Update call to handle_input_arg.
40477         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40478         (output_for_one_input_case): Update call to calc_generic_results.
40479         Recalculate exact zero results in each rounding mode.
40481         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40482         non-negative before setting low bit.
40483         * math/auto-libm-test-in: Mark one asin test possibly having
40484         spurious underflow.
40485         * math/auto-libm-test-out: Regenerated.
40486         * sysdeps/i386/fpu/libm-test-ulps: Update.
40487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40489 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40491         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40492         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40493         ports/sysdeps/unix/sysv/linux/microblaze.
40494         * README: Add missing listing for microblaze*-*-linux-gnu.
40496 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40498         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40499         duplicate code
40501 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40503         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40504         * sysdeps/unix/sysv/linux/ia64: Move directory from
40505         ports/sysdeps/unix/sysv/linux/ia64.
40506         * README: Update listing for ia64-*-linux-gnu.
40508 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40509             Joseph Myers  <joseph@codesourcery.com>
40511         * Makeconfig (test-name): New variable.
40512         (evaluate-test): Likewise.
40513         * Makerules (do-test-clean): Remove .test-result files.
40514         (common-mostlyclean): Likewise.
40515         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40516         * scripts/evaluate-test.sh: New file.
40518 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40520         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40521         separate $(objpfx)tst-fopenloc-cmp.out and
40522         $(objpfx)tst-fopenloc-mem.out targets.
40523         (tests): Update dependencies.
40524         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40525         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40526         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40527         (tst-rxspencer-no-utf8-ARGS): New variable.
40528         (tst-rxspencer-no-utf8-ENV): Likewise.
40529         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40530         instead of $(objpfx)tst-rxspencer-mem.
40531         ($(objpfx)tst-rxspencer-mem): Change target to
40532         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40533         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40534         * posix/tst-rxspencer-no-utf8.c: New file.
40536         * elf/Makefile ($(objpfx)order.out): Remove rule.
40537         [$(run-built-tests) = yes] (tests): Depend on
40538         $(objpfx)order-cmp.out.
40539         ($(objpfx)order-cmp.out): New rule.
40540         [$(run-built-tests) = yes] (tests): Depend on
40541         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40542         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40543         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40544         $(objpfx)tst-array5-static-cmp.out.
40545         ($(objpfx)tst-array1.out): Remove rule.
40546         ($(objpfx)tst-array1-cmp.out): New rule.
40547         ($(objpfx)tst-array1-static.out): Remove rule.
40548         ($(objpfx)tst-array1-static-cmp.out): New rule.
40549         ($(objpfx)tst-array2.out): Remove rule.
40550         ($(objpfx)tst-array2-cmp.out): New rule.
40551         ($(objpfx)tst-array3.out): Remove rule.
40552         ($(objpfx)tst-array3-cmp.out): New rule.
40553         ($(objpfx)tst-array4.out): Remove rule.
40554         ($(objpfx)tst-array4-cmp.out): New rule.
40555         ($(objpfx)tst-array5.out): Remove rule.
40556         ($(objpfx)tst-array5-cmp.out): New rule.
40557         ($(objpfx)tst-array5-static.out): Remove rule.
40558         ($(objpfx)tst-array5-static-cmp.out): New rule.
40559         [$(run-built-tests) = yes] (tests): Depend on
40560         $(objpfx)order2-cmp.out.
40561         ($(objpfx)order2.out): Remove rule.
40562         ($(objpfx)order2-cmp.out): New rule.
40563         ($(objpfx)tst-initorder.out): Remove rule.
40564         [$(run-built-tests) = yes] (tests): Depend on
40565         $(objpfx)tst-initorder-cmp.out.
40566         ($(objpfx)tst-initorder-cmp.out): New rule.
40567         ($(objpfx)tst-initorder2.out): Remove rule.
40568         [$(run-built-tests) = yes] (tests): Depend on
40569         $(objpfx)tst-initorder2-cmp.out.
40570         ($(objpfx)tst-initorder2-cmp.out): New rule.
40571         [$(run-built-tests) = yes] (tests): Depend on
40572         $(objpfx)tst-unused-dep-cmp.out.
40573         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40574         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40575         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40576         on $(objpfx)tst-setvbuf1-cmp.out.
40577         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40578         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40579         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40580         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40581         ($(objpfx)tst-svc.out): Remove rule.
40582         ($(objpfx)tst-svc-cmp.out): New rule.
40584 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40586         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40587         * ctype/ctype.h [__USE_MISC]: Likewise.
40588         * dirent/dirent.h [__USE_MISC]: Likewise.
40589         * grp/grp.h [__USE_MISC]: Likewise.
40590         * io/fcntl.h [__USE_MISC]: Likewise.
40591         * io/sys/stat.h [__USE_MISC]: Likewise.
40592         * libio/stdio.h [__USE_MISC]: Likewise.
40593         * posix/unistd.h [__USE_MISC]: Likewise.
40594         * pwd/pwd.h [__USE_MISC]: Likewise.
40595         * stdlib.h [__USE_MISC]: Likewise.
40596         * string/bits/string2.h [__USE_MISC]: Likewise.
40597         * string/string.h [__USE_MISC]: Likewise.
40598         * time/time.h [__USE_MISC]: Likewise.
40600 2014-02-13  Andreas Schwab  <schwab@suse.de>
40602         [BZ #16574]
40603         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40604         second answer buffer if it was separately allocated.
40606 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40608         * sysdeps/mips/math-tests.h: Include <features.h>.
40609         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40610         (ROUNDING_TESTS_long_double): Do not define.
40611         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40612         (EXCEPTION_TESTS_long_double): Likewise.
40613         * sysdeps/mips/mips64/libm-test-ulps: Update.
40615         * include/features.h (__USE_BSD): Remove macro definitions.
40616         (__USE_SVID): Likewise.
40617         (_BSD_SOURCE): Likewise.
40618         (_SVID_SOURCE): Likewise.
40619         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40620         from definition of _DEFAULT_SOURCE.
40621         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40622         [_DEFAULT_SOURCE].
40623         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40624         * bits/mman.h [__USE_BSD]: Likewise.
40625         * bits/termios.h [__USE_BSD]: Likewise.
40626         * bits/waitstatus.h [__USE_BSD]: Likewise.
40627         * ctype/ctype.h [__USE_SVID]: Likewise.
40628         * dirent/dirent.h [__USE_BSD]: Likewise.
40629         * grp/grp.h [__USE_SVID]: Likewise.
40630         [__USE_BSD]: Likewise.
40631         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40632         * io/fcntl.h [__USE_BSD]: Likewise.
40633         * io/ftw.h [__USE_BSD]: Likewise.
40634         * io/sys/stat.h [__USE_BSD]: Likewise.
40635         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40636         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40637         * libio/stdio.h [__USE_SVID]: Likewise.
40638         [__USE_BSD]: Likewise.
40639         * math/math.h [__USE_SVID]: Likewise.
40640         [__USE_BSD]: Likewise.
40641         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40642         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40643         * misc/search.h [__USE_SVID]: Likewise.
40644         * misc/sys/mman.h [__USE_BSD]: Likewise.
40645         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40646         * misc/sys/uio.h [__USE_BSD]: Likewise.
40647         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40648         * posix/glob.h [__USE_BSD]: Likewise.
40649         * posix/regex.h [__USE_BSD]: Likewise.
40650         * posix/sys/types.h [__USE_BSD]: Likewise.
40651         [__USE_SVID]: Likewise.
40652         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40653         * posix/sys/wait.h [__USE_BSD]: Likewise.
40654         [__USE_SVID]: Likewise.
40655         * posix/unistd.h [__USE_BSD]: Likewise.
40656         [__USE_SVID]: Likewise.
40657         * pwd/pwd.h [__USE_SVID]: Likewise.
40658         * resolv/netdb.h [__USE_BSD]: Likewise.
40659         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40660         * signal/signal.h [__USE_BSD]: Likewise.
40661         [__USE_SVID]: Likewise.
40662         * socket/sys/socket.h [__USE_BSD]: Likewise.
40663         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40664         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40665         [__USE_SVID]: Likewise.
40666         * string/bits/string2.h [__USE_BSD]: Likewise.
40667         [__USE_SVID]: Likewise.
40668         * string/bits/string3.h [__USE_BSD]: Likewise.
40669         * string/endian.h [__USE_BSD]: Likewise.
40670         * string/string.h [__USE_SVID]: Likewise.
40671         [__USE_BSD]: Likewise.
40672         * string/strings.h [__USE_BSD]: Likewise.
40673         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40674         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40675         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40676         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40677         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40678         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40679         Likewise.
40680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40681         Likewise.
40682         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40683         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40684         Likewise.
40685         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40686         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40687         Likewise.
40688         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40689         Likewise.
40690         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40691         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40692         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40693         Likewise.
40694         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40695         Likewise.
40696         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40697         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40698         * termios/termios.h [__USE_BSD]: Likewise.
40699         * time/sys/time.h [__USE_BSD]: Likewise.
40700         * time/time.h [__USE_BSD]: Likewise.
40701         [__USE_SVID]: Likewise.
40703         * Makefile (subdir_targets): Remove subdir_lint.out.
40705         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40706         (do-tst-printf): Likewise.
40707         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40708         $(objpfx)tst-printf.out.
40710         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40712         * Makerules (check-abi-%): Change target to
40713         $(objpfx)check-abi-%.out.
40714         (check-abi target): Update dependencies.
40715         (check-abi-pattern variable): Redirect output of diff to $@.
40716         (check-abi variable): Likewise.
40717         * elf/Makefile (check-abi): Update dependencies.
40719         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40720         unused.
40721         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40722         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40723         subnormal range.
40724         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40725         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40726         value has largest subnormal exponent.
40727         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40728         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40729         * sysdeps/aarch64/soft-fp/sfp-machine.h
40730         (_FP_TININESS_AFTER_ROUNDING): New macro.
40731         * sysdeps/alpha/soft-fp/sfp-machine.h
40732         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40733         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40734         Likewise.
40735         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40736         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40737         * sysdeps/mips/soft-fp/sfp-machine.h
40738         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40739         * sysdeps/powerpc/soft-fp/sfp-machine.h
40740         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40741         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40742         Likewise.
40743         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40744         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40745         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40746         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40747         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40748         Likewise.
40750 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40752         [BZ #16545]
40753         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40754         model 1.
40756 2014-02-12  Richard Henderson  <rth@redhat.com>
40758         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40759         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40760         * sysdeps/unix/sysv/linux/alpha: Move directory from
40761         ports/sysdeps/unix/sysv/linux/alpha.
40762         * README: Update listing for alpha-*-linux-gnu.
40764 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40766         * include/features.h: Update comment documenting feature test
40767         macros.
40768         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40769         _DEFAULT_SOURCE.
40770         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40771         (_SVID_SOURCE): Likewise.
40772         (_DEFAULT_SOURCE): Update description of default features.
40773         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40774         with _GNU_SOURCE.
40775         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40776         (S_ISVTX): Likewise.
40777         * manual/math.texi (Mathematical Constants): Likewise.
40778         * manual/signal.texi (Interrupted Primitives): Likewise.
40779         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40780         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40781         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40782         Don't refer to _SVID_SOURCE in warning text.
40784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40786         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40787         already defined.
40788         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40789         * sysdeps/mips/dl-lookup.c: Remove.
40790         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40792 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40794         [BZ #16447]
40795         * math/auto-libm-test-in: Add testcase for expl.
40796         * math/auto-libm-test-out: Regenerate.
40797         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40798         calculation of unsafe.
40799         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40801 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40803         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40804         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40805         ports/sysdeps/unix/sysv/linux/aarch64.
40806         * README: Update listing for aarch64*-*-linux-gnu.
40808 2014-02-11  Will Newton  <will.newton@linaro.org>
40810         * manual/probes.texi (Mathematical Function Probes): Use
40811         "triggered" instead of "hit".
40813         * manual/probes.texi (Internal Probes): Add documentation
40814         of setjmp, longjmp and longjmp_target probes.
40816         * include/stap-probe.h: Add comment about probe argument
40817         format.
40819         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40820         definition.  (tr_where, tr_freehook, tr_mallochook,
40821         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40823 2014-02-11  David S. Miller  <davem@davemloft.net>
40825         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40826         processing int_tests.
40828 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40830         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40831         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40832         * sysdeps/unix/sysv/linux/mips: Move directory from
40833         ports/sysdeps/unix/sysv/linux/mips.
40834         * README: Update listing for mips-*-linux-gnu and
40835         mips64-*-linux-gnu.
40837 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40839         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40840         * sysdeps/unix/sysv/linux/m68k: Move directory from
40841         ports/sysdeps/unix/sysv/linux/m68k.
40842         * README: Update listing for m68k-*-linux-gnu.
40844 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40846         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40847         * sysdeps/unix/sysv/linux/generic: Move directory from
40848         ports/sysdeps/unix/sysv/linux/generic.
40849         * sysdeps/unix/sysv/linux/tile: Move directory from
40850         ports/sysdeps/unix/sysv/linux/tile.
40851         * README: Update listing for tile*-*-linux-gnu.
40853 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40855         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40856         __builtin_expect.
40857         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40858         * catgets/open_catalog.c (__open_catalog): Likewise.
40859         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40860         * debug/confstr_chk.c: Likewise.
40861         * debug/fread_chk.c (__fread_chk): Likewise.
40862         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40863         * debug/getgroups_chk.c: Likewise.
40864         * debug/mbsnrtowcs_chk.c: Likewise.
40865         * debug/mbsrtowcs_chk.c: Likewise.
40866         * debug/mbstowcs_chk.c: Likewise.
40867         * debug/memcpy_chk.c: Likewise.
40868         * debug/memmove_chk.c: Likewise.
40869         * debug/mempcpy_chk.c: Likewise.
40870         * debug/memset_chk.c: Likewise.
40871         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40872         * debug/strcat_chk.c (__strcat_chk): Likewise.
40873         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40874         * debug/strncat_chk.c (__strncat_chk): Likewise.
40875         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40876         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40877         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40878         * debug/wcpncpy_chk.c: Likewise.
40879         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40880         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40881         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40882         * debug/wcsncpy_chk.c: Likewise.
40883         * debug/wcsnrtombs_chk.c: Likewise.
40884         * debug/wcsrtombs_chk.c: Likewise.
40885         * debug/wcstombs_chk.c: Likewise.
40886         * debug/wmemcpy_chk.c: Likewise.
40887         * debug/wmemmove_chk.c: Likewise.
40888         * debug/wmempcpy_chk.c: Likewise.
40889         * debug/wmemset_chk.c: Likewise.
40890         * dirent/scandirat.c (SCANDIRAT): Likewise.
40891         * dlfcn/dladdr1.c (dladdr1): Likewise.
40892         * dlfcn/dladdr.c (dladdr): Likewise.
40893         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40894         * dlfcn/dlerror.c (__dlerror): Likewise.
40895         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40896         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40897         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40898         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40899         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40900         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40901         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40902         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40903         Likewise.
40904         * elf/dl-conflict.c: Likewise.
40905         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40906         * elf/dl-dst.h: Likewise.
40907         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40908         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40909         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40910         * elf/dl-init.c (call_init, _dl_init): Likewise.
40911         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40912         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40913         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40914         Likewise.
40915         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40916         Likewise.
40917         * elf/dl-minimal.c (__libc_memalign): Likewise.
40918         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40919         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40920         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40921         * elf/dl-sym.c (do_sym): Likewise.
40922         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40923         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40924         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40925         * elf/dl-writev.h (_dl_writev): Likewise.
40926         * elf/ldconfig.c (search_dir): Likewise.
40927         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40928         (dl_main): Likewise.
40929         * elf/setup-vdso.h (setup_vdso): Likewise.
40930         * grp/compat-initgroups.c (compat_call): Likewise.
40931         * grp/fgetgrent.c (fgetgrent): Likewise.
40932         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40933         * grp/putgrent.c (putgrent): Likewise.
40934         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40935         Likewise.
40936         * hurd/hurdinit.c: Likewise.
40937         * iconvdata/8bit-gap.c (struct): Likewise.
40938         * iconvdata/ansi_x3.110.c : Likewise.
40939         * iconvdata/big5.c : Likewise.
40940         * iconvdata/big5hkscs.c : Likewise.
40941         * iconvdata/cp1255.c: Likewise.
40942         * iconvdata/cp1258.c : Likewise.
40943         * iconvdata/cp932.c : Likewise.
40944         * iconvdata/euc-cn.c: Likewise.
40945         * iconvdata/euc-jisx0213.c : Likewise.
40946         * iconvdata/euc-jp.c: Likewise.
40947         * iconvdata/euc-jp-ms.c : Likewise.
40948         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40949         * iconvdata/gb18030.c : Likewise.
40950         * iconvdata/gbbig5.c (const): Likewise.
40951         * iconvdata/gbgbk.c: Likewise.
40952         * iconvdata/gbk.c : Likewise.
40953         * iconvdata/ibm1364.c : Likewise.
40954         * iconvdata/ibm930.c : Likewise.
40955         * iconvdata/ibm932.c: Likewise.
40956         * iconvdata/ibm933.c : Likewise.
40957         * iconvdata/ibm935.c : Likewise.
40958         * iconvdata/ibm937.c : Likewise.
40959         * iconvdata/ibm939.c : Likewise.
40960         * iconvdata/ibm943.c: Likewise.
40961         * iconvdata/iso_11548-1.c: Likewise.
40962         * iconvdata/iso-2022-cn.c : Likewise.
40963         * iconvdata/iso-2022-cn-ext.c : Likewise.
40964         * iconvdata/iso-2022-jp-3.c: Likewise.
40965         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40966         * iconvdata/iso-2022-kr.c : Likewise.
40967         * iconvdata/iso646.c (gconv_end): Likewise.
40968         * iconvdata/iso_6937-2.c : Likewise.
40969         * iconvdata/iso_6937.c : Likewise.
40970         * iconvdata/iso8859-1.c: Likewise.
40971         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40972         * iconvdata/shift_jisx0213.c : Likewise.
40973         * iconvdata/sjis.c : Likewise.
40974         * iconvdata/t.61.c : Likewise.
40975         * iconvdata/tcvn5712-1.c : Likewise.
40976         * iconvdata/tscii.c: Likewise.
40977         * iconvdata/uhc.c : Likewise.
40978         * iconvdata/unicode.c (gconv_end): Likewise.
40979         * iconvdata/utf-16.c (gconv_end): Likewise.
40980         * iconvdata/utf-32.c (gconv_end): Likewise.
40981         * iconvdata/utf-7.c (base64): Likewise.
40982         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40983         * iconv/gconv_close.c (__gconv_close): Likewise.
40984         * iconv/gconv_open.c (__gconv_open): Likewise.
40985         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40986         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40987         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40988         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40989         (ucs4le_internal_loop_single): Likewise.
40990         * iconv/iconv.c (iconv): Likewise.
40991         * iconv/iconv_close.c: Likewise.
40992         * iconv/loop.c (SINGLE): Likewise.
40993         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40994         * include/atomic.h: Likewise.
40995         * inet/inet6_option.c (option_alloc): Likewise.
40996         * intl/bindtextdom.c (set_binding_values): Likewise.
40997         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40998         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40999         * intl/localealias.c (read_alias_file): Likewise.
41000         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41001         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41002         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41003         * libio/fmemopen.c (fmemopen): Likewise.
41004         * libio/iofgets.c (_IO_fgets): Likewise.
41005         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41006         * libio/iofgetws.c (fgetws): Likewise.
41007         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41008         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41009         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41010         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41011         * locale/findlocale.c (_nl_find_locale): Likewise.
41012         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41013         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41014         Likewise.
41015         * locale/setlocale.c (setlocale): Likewise.
41016         * login/programs/pt_chown.c (main): Likewise.
41017         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41018         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41019         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41020         (mmap, mmap64, mremap, munmap): Likewise.
41021         * math/e_exp2l.c: Likewise.
41022         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41023         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41024         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41025         * math/s_catan.c (__catan): Likewise.
41026         * math/s_catanf.c (__catanf): Likewise.
41027         * math/s_catanh.c (__catanh): Likewise.
41028         * math/s_catanhf.c (__catanhf): Likewise.
41029         * math/s_catanhl.c (__catanhl): Likewise.
41030         * math/s_catanl.c (__catanl): Likewise.
41031         * math/s_ccosh.c (__ccosh): Likewise.
41032         * math/s_ccoshf.c (__ccoshf): Likewise.
41033         * math/s_ccoshl.c (__ccoshl): Likewise.
41034         * math/s_cexp.c (__cexp): Likewise.
41035         * math/s_cexpf.c (__cexpf): Likewise.
41036         * math/s_cexpl.c (__cexpl): Likewise.
41037         * math/s_clog10.c (__clog10): Likewise.
41038         * math/s_clog10f.c (__clog10f): Likewise.
41039         * math/s_clog10l.c (__clog10l): Likewise.
41040         * math/s_clog.c (__clog): Likewise.
41041         * math/s_clogf.c (__clogf): Likewise.
41042         * math/s_clogl.c (__clogl): Likewise.
41043         * math/s_csin.c (__csin): Likewise.
41044         * math/s_csinf.c (__csinf): Likewise.
41045         * math/s_csinh.c (__csinh): Likewise.
41046         * math/s_csinhf.c (__csinhf): Likewise.
41047         * math/s_csinhl.c (__csinhl): Likewise.
41048         * math/s_csinl.c (__csinl): Likewise.
41049         * math/s_csqrt.c (__csqrt): Likewise.
41050         * math/s_csqrtf.c (__csqrtf): Likewise.
41051         * math/s_csqrtl.c (__csqrtl): Likewise.
41052         * math/s_ctan.c (__ctan): Likewise.
41053         * math/s_ctanf.c (__ctanf): Likewise.
41054         * math/s_ctanh.c (__ctanh): Likewise.
41055         * math/s_ctanhf.c (__ctanhf): Likewise.
41056         * math/s_ctanhl.c (__ctanhl): Likewise.
41057         * math/s_ctanl.c (__ctanl): Likewise.
41058         * math/w_pow.c: Likewise.
41059         * math/w_powf.c: Likewise.
41060         * math/w_powl.c: Likewise.
41061         * math/w_scalb.c (sysv_scalb): Likewise.
41062         * math/w_scalbf.c (sysv_scalbf): Likewise.
41063         * math/w_scalbl.c (sysv_scalbl): Likewise.
41064         * misc/error.c (error_tail): Likewise.
41065         * misc/pselect.c (__pselect): Likewise.
41066         * nis/nis_callback.c (__nis_create_callback): Likewise.
41067         * nis/nis_call.c (__nisfind_server): Likewise.
41068         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41069         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41070         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41071         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41072         * nis/nis_lookup.c (nis_lookup): Likewise.
41073         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41074         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41075         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41076         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41077         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41078         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41079         * nis/nss_compat/compat-initgroups.c (add_group)
41080         (internal_getgrent_r): Likewise.
41081         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41082         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41083         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41084         (internal_getspnam_r): Likewise.
41085         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41086         (_nss_nis_getaliasbyname_r): Likewise.
41087         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41088         (_nss_nis_getntohost_r): Likewise.
41089         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41090         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41091         (_nss_nis_getgrgid_r): Likewise.
41092         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41093         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41094         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41095         (_nss_nis_gethostbyname4_r): Likewise.
41096         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41097         (initgroups_netid): Likewise.
41098         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41099         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41100         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41101         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41102         (_nss_nis_getprotobynumber_r): Likewise.
41103         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41104         (_nss_nis_getsecretkey): Likewise.
41105         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41106         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41107         (_nss_nis_getpwuid_r): Likewise.
41108         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41109         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41110         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41111         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41112         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41113         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41114         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41115         Likewise.
41116         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41117         (_nss_nisplus_getntohost_r): Likewise.
41118         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41119         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41120         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41121         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41122         Likewise.
41123         * nis/nss_nisplus/nisplus-initgroups.c
41124         (_nss_nisplus_initgroups_dyn): Likewise.
41125         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41126         (_nss_nisplus_getnetbyaddr_r): Likewise.
41127         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41128         (_nss_nisplus_getprotobynumber_r): Likewise.
41129         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41130         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41131         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41132         Likewise.
41133         * nis/nss_nisplus/nisplus-service.c
41134         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41135         (_nss_nisplus_getservbyport_r): Likewise.
41136         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41137         (_nss_nisplus_getspnam_r): Likewise.
41138         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41139         Likewise.
41140         * nscd/aicache.c (addhstaiX): Likewise.
41141         * nscd/cache.c (cache_search, prune_cache): Likewise.
41142         * nscd/connections.c (register_traced_file, send_ro_fd)
41143         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41144         (main_loop_epoll): Likewise.
41145         * nscd/grpcache.c (addgrbyX): Likewise.
41146         * nscd/hstcache.c (addhstbyX): Likewise.
41147         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41148         * nscd/mem.c (gc, mempool_alloc): Likewise.
41149         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41150         (addinnetgrX): Likewise.
41151         * nscd/nscd-client.h (__nscd_acquire_maplock)
41152         (__nscd_drop_map_ref): Likewise.
41153         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41154         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41155         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41156         Likewise.
41157         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41158         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41159         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41160         (__nscd_get_map_ref): Likewise.
41161         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41162         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41163         Likewise.
41164         * nscd/pwdcache.c (addpwbyX): Likewise.
41165         * nscd/selinux.c (preserve_capabilities): Likewise.
41166         * nscd/servicescache.c (addservbyX): Likewise.
41167         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41168         * posix/fnmatch.c (fnmatch): Likewise.
41169         * posix/getopt.c (_getopt_internal_r): Likewise.
41170         * posix/glob.c (glob, glob_in_dir): Likewise.
41171         * posix/wordexp.c (exec_comm_child): Likewise.
41172         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41173         (getanswer_r, gaih_getanswer_slice): Likewise.
41174         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41175         * resolv/res_init.c: Likewise.
41176         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41177         * resolv/res_query.c (__libc_res_nquery): Likewise.
41178         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41179         Likewise.
41180         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41181         * stdio-common/perror.c (perror): Likewise.
41182         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41183         * stdio-common/tmpnam.c (tmpnam): Likewise.
41184         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41185         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41186         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41187         Likewise.
41188         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41189         * stdlib/putenv.c (putenv): Likewise.
41190         * stdlib/setenv.c (__add_to_environ): Likewise.
41191         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41192         * stdlib/strtol_l.c (INTERNAL): Likewise.
41193         * string/memmem.c (memmem): Likewise.
41194         * string/strerror.c (strerror): Likewise.
41195         * string/strnlen.c (__strnlen): Likewise.
41196         * string/test-memmem.c (simple_memmem): Likewise.
41197         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41198         * sunrpc/pm_getport.c (__get_socket): Likewise.
41199         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41200         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41201         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41202         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41203         Likewise.
41204         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41205         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41206         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41207         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41208         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41209         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41210         Likewise.
41211         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41212         Likewise.
41213         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41214         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41215         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41216         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41217         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41219         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41220         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41221         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41222         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41223         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41224         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41225         Likewise.
41226         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41227         Likewise.
41228         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41229         Likewise.
41230         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41231         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41232         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41233         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41234         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41235         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41236         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41237         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41238         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41239         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41240         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41242         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41243         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41244         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41245         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41246         Likewise.
41247         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41248         Likewise.
41249         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41250         Likewise.
41251         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41252         Likewise.
41253         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41255         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41256         Likewise.
41257         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41258         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41259         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41260         * sysdeps/posix/sleep.c: Likewise.
41261         * sysdeps/posix/tempname.c: Likewise.
41262         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41263         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41264         Likewise.
41265         * sysdeps/powerpc/powerpc32/dl-machine.h
41266         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41267         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41268         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41269         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41270         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41271         Likewise.
41272         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41273         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41274         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41275         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41276         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41277         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41278         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41279         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41280         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41281         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41282         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41283         (elf_machine_lazy_rel): Likewise.
41284         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41285         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41286         (elf_machine_lazy_rel): Likewise.
41287         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41288         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41289         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41290         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41291         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41292         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41293         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41295         Likewise.
41296         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41297         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41298         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41299         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41300         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41301         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41302         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41303         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41304         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41305         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41306         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41307         Likewise.
41308         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41309         (__posix_fallocate64_l64): Likewise.
41310         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41311         (posix_fallocate): Likewise.
41312         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41313         Likewise.
41314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41315         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41316         (getifaddrs_internal): Likewise.
41317         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41318         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41319         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41320         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41321         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41322         (__posix_fallocate64_l64): Likewise.
41323         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41324         Likewise.
41325         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41326         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41327         (__get_clockfreq): Likewise.
41328         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41329         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41330         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41332         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41333         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41334         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41335         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41336         Likewise.
41337         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41338         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41339         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41340         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41341         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41342         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41343         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41344         Likewise.
41345         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41346         (posix_fallocate): Likewise.
41347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41348         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41349         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41350         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41351         (elf_machine_rela, elf_machine_rela_relative)
41352         (elf_machine_lazy_rel): Likewise.
41353         * time/asctime.c (asctime_internal): Likewise.
41354         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41355         * time/tzset.c (__tzset_parse_tz): Likewise.
41356         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41357         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41358         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41359         * wcsmbs/wcsmbsload.h: Likewise.
41361         [BZ #15894]
41362         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41364         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41365         (arena_get2): Remove THREAD_STATS conditionals.
41366         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41367         (__malloc_stats, int): Likewise.
41369 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41371         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41372         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41374         * manual/setjmp.texi: Fix typos/grammar errors.
41376         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41377         Only return early when n is <= 0.  Delete unused return statement.
41379         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41380         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41381         * debug/tst-longjmp_chk3.c: New file.
41383         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41384         (test_main): Replace code with set_fortify_handler call.
41385         * debug/test-strcpy_chk.c: Likewise.
41386         * debug/tst-chk1.c: Likewise.
41387         * debug/tst-longjmp_chk.c: Likewise.
41388         * test-skeleton.c: Include fcntl.h & paths.h
41389         (set_fortify_handler): Define.
41391         * debug/tst-longjmp_chk.c: Add header comment and include
41392         ../test-skeleton.c.
41393         (do_test): Mark static.
41394         (TEST_FUNCTION): Define.
41396         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41397         (IP_PMTUDISC_INTERFACE): Likewise.
41398         (IP_MULTICAST_IF): Likewise.
41399         (IP_MULTICAST_TTL): Likewise.
41400         (IP_MULTICAST_LOOP): Likewise.
41401         (IP_ADD_MEMBERSHIP): Likewise.
41402         (IP_DROP_MEMBERSHIP): Likewise.
41403         (IP_UNBLOCK_SOURCE): Likewise.
41404         (IP_BLOCK_SOURCE): Likewise.
41405         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41406         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41407         (IP_MSFILTER): Likewise.
41408         (MCAST_JOIN_GROUP): Likewise.
41409         (MCAST_BLOCK_SOURCE): Likewise.
41410         (MCAST_UNBLOCK_SOURCE): Likewise.
41411         (MCAST_LEAVE_GROUP): Likewise.
41412         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41413         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41414         (MCAST_MSFILTER): Likewise.
41415         (IP_MULTICAST_ALL): Likewise.
41416         (IP_UNICAST_IF): Likewise.
41418         * timezone/Makefile: Delete $(have-ksh) check.
41419         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41420         * timezone/tzselect.ksh: Add +x mode bits.
41422         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41423         (ANON_INODE_FS_MAGIC): Likewise.
41424         (BDEVFS_MAGIC): Likewise.
41425         (BINFMTFS_MAGIC): Likewise.
41426         (BTRFS_TEST_MAGIC): Likewise.
41427         (CRAMFS_MAGIC_WEND): Likewise.
41428         (DEBUGFS_MAGIC): Likewise.
41429         (ECRYPTFS_SUPER_MAGIC): Likewise.
41430         (EXT3_SUPER_MAGIC): Likewise.
41431         (EXT4_SUPER_MAGIC): Likewise.
41432         (FUTEXFS_SUPER_MAGIC): Likewise.
41433         (HOSTFS_SUPER_MAGIC): Likewise.
41434         (HUGETLBFS_MAGIC): Likewise.
41435         (MINIX3_SUPER_MAGIC): Likewise.
41436         (MTD_INODE_FS_MAGIC): Likewise.
41437         (NILFS_SUPER_MAGIC): Likewise.
41438         (OPENPROM_SUPER_MAGIC): Likewise.
41439         (PIPEFS_MAGIC): Likewise.
41440         (PSTOREFS_MAGIC): Likewise.
41441         (QNX6_SUPER_MAGIC): Likewise.
41442         (RAMFS_MAGIC): Likewise.
41443         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41444         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41445         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41446         (SECURITYFS_MAGIC): Likewise.
41447         (SELINUX_MAGIC): Likewise.
41448         (SMACK_MAGIC): Likewise.
41449         (SOCKFS_MAGIC): Likewise.
41450         (SQUASHFS_MAGIC): Likewise.
41451         (STACK_END_MAGIC): Likewise.
41452         (TMPFS_MAGIC): Likewise.
41453         (USBDEVICE_SUPER_MAGIC): Likewise.
41454         (V9FS_MAGIC): Likewise.
41455         (XENFS_SUPER_MAGIC): Likewise.
41456         (CRAMFS_MAGIC): Fix typo in comment.
41457         (EXT2_SUPER_MAGIC): Update comment.
41458         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41460 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41462         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41463         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41464         * sysdeps/unix/sysv/linux/arm: Move directory from
41465         ports/sysdeps/unix/sysv/linux/arm.
41466         * README: Update listing for arm-*-linux-gnueabi.
41468         * README: Remove mention of am33.
41470 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41472         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41473         than the comma operator, to avoid "rhs of comma has no effect"
41474         compiler warnings.
41475         (__sigfillset, __sigandset, __sigorset): Likewise.
41476         * include/signal.h (__sigemptyset): Likewise.
41477         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41479 2014-02-07  Allan McRae  <allan@archlinux.org>
41481         * version.h (RELEASE): Set to "development".
41482         (VERSION): Set to "2.19.90"
41483         * NEWS: Add 2.20 section.
41485 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41487         [BZ #16529]
41488         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41490 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41492         * manual/contrib.texi: Update entry for Carlos O'Donell,
41493         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41495 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41497         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41499         * sysdeps/unix/sysv/linux/kernel-features.h
41500         [__LINUX_KERNEL_VERSION >= 0x020621]
41501         (__ASSUME_PROC_PID_TASK_COMM): Define.
41503 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41505         [BZ #16398]
41506         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41507         conversion when destination buffer does not have enough space.
41508         * libio/tst-ftell-partial-wide.c: New test case.
41509         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41511         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41512         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41513         Leonard and Allan McRae.
41515 2014-02-04  David S. Miller  <davem@davemloft.net>
41517         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41518         32-bit.
41520 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41523         New file
41524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41525         New file
41526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41527         New file.
41528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41529         New file.
41530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41531         New file.
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41533         New file.
41534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41535         New file.
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41537         New file.
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41539         New file.
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41541         New file.
41542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41543         New file.
41544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41545         New file.
41546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41547         New file.
41549 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41551         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41552         * shlib-versions: Likewise.
41554 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41555             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41557         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41558         (abilist-pattern): New variable, set to %-le.abilist.
41560         * Makerules (abilist-pattern): New variable.
41561         (vpath): Use $(abilist-pattern) in place of %.abilist.
41562         (check-abi-% pattern rule): Likewise.
41563         (check-abi, update-abi): Likewise.
41565 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41569 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41571         * manual/startup.texi: Add next, previous, and top entries for
41572         the `Program Arguments' and `Environment Variables' nodes.
41574 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41576         * manual/macros.texi: Add comments before MTASC-safety macros.
41578         * manual/users.texi: Document MTASC-safety properties.
41580         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41581         (pthread_getspecific, pthread_setspecific): Format with
41582         @deftypefun, and add @safety note.
41583         * manual/signal.texi: Move comments that analyze the above
41584         functions to their home place.
41586 2014-02-03  Allan McRae  <allan@archlinux.org>
41588         * po/sl.po: Update Slovenian translation from translation project.
41590 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41592         * manual/time.texi (timegm): Add missing blank after @c.
41593         Reported by Joseph Myers <joseph@codesourcery.com>.
41595 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41597         * manual/check-safety.sh: New.
41598         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41600         * manual/terminal.texi: Document MTASC-safety properties.
41602         * manual/filesys.texi: Document MTASC-safety properties.
41604         * manual/errno.texi: Document MTASC-safety properties.
41606         * manual/intro.texi: Document safety identifiers and
41607         conditionals.
41609         * manual/string.texi (wcstok): Fix prototype.
41610         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41612         * manual/time.texi: Document MTASC-safety properties.
41614         * manual/string.texi: Document MTASC-safety properties.
41616         * manual/threads.texi: Document MTASC-safety properties.
41618         * manual/stdio.texi: Document MTASC-safety properties.
41620         * manual/syslog.texi: Document MTASC-safety properties.
41622         * manual/sysinfo.texi: Document MTASC-safety properties.
41624         * manual/startup.texi: Document MTASC-safety properties.
41626         * manual/socket.texi: Document MTASC-safety properties.
41628         * manual/signal.texi: Document MTASC-safety properties.
41630 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41632         * manual/setjmp.texi: Document MTASC-safety properties.
41634         * manual/search.texi: Document MTASC-safety properties.
41636         * manual/resource.texi: Document MTASC-safety properties.
41638         * manual/process.texi: Document MTASC-safety properties.
41640         * manual/platform.texi: Document MTASC-safety properties.
41642         * manual/pipe.texi: Document MTASC-safety properties.
41644         * manual/pattern.texi: Document MTASC-safety properties.
41646         * manual/message.texi: Document MTASC-safety properties.
41648         [BZ #12751]
41649         * manual/memory.texi: Document MTASC-safety properties.
41651         * manual/math.texi: Document MTASC-safety properties.
41653         * manual/locale.texi: Document MTASC-safety properties.
41655         * manual/llio.texi: Document MTASC-safety properties.
41657         * manual/libdl.texi: New.
41659         * manual/lang.texi: Document MTASC-safety properties.
41661         * manual/job.texi: Document MTASC-safety properties.
41663         * manual/getopt.texi: Document MTASC-safety properties.
41665         * manual/ctype.texi: Document MTASC-safety properties.
41667 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41669         [BZ #16046]
41670         * csu/libc-tls.c (static_map): Remove variable.
41671         (__libc_setup_tls): Use main executable's link map for TLS data.
41672         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41673         casing for LM_ID_BASE and GL(dl_nns).
41674         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41675         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41676         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41677         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41678         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41679         member.
41680         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41681         l_phnum members.
41683 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41685         * manual/debug.texi: Document MTASC-safety properties.
41687 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41689         [BZ #16510]
41690         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41691         of __x86_64__ when disabling x87 inline functions.
41693 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41695         * manual/charset.texi: Document MTASC-safety properties.
41697         * manual/crypt.texi: Document MTASC-safety properties.
41699         * manual/conf.texi: Document MTASC-safety properties.
41701         * manual/arith.texi: Document MTASC-safety properties.
41703         * manual/argp.texi: Document MTASC-safety properties.
41705         * manual/macros.texi: Introduce macros to document multi
41706         thread, asynchronous signal and asynchronous cancellation
41707         safety properties.
41708         * manual/intro.texi: Introduce the properties themselves.
41710 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41712         * sysdeps/sh/sh4/Makefile: New file.
41714 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41716         * math/gen-libm-test.pl ($srcdir): New variable.
41717         ($auto_input): Use it.
41719 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41721         [BZ #16506]
41722         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41723         access beyond array bounds when parsing netgroups file.
41725         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41726         the old buffer before realloc.
41728 2014-01-27  Allan McRae  <allan@archlinux.org>
41730         * po/fr.po: Update French translation from translation project.
41732 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41734         * sysdeps/sh/libm-test-ulps: Regenerate.
41736 2014-01-24  David S. Miller  <davem@davemloft.net>
41738         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41740 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41742         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41743         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41745 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41747         [BZ #16474]
41748         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41749         string pointers after reallocation.
41751 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41753         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41754         __SH4A__ instead of __SH_FPU_ANY__.
41756 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41758         * sysdeps/sh/fpu_control.h: New file.
41759         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41760         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41761         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41762         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41763         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41764         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41765         * sysdeps/sh/sys/ucontext.h: Remove.
41766         * sysdeps/sh/sys: Remove directory.
41768 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41770         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41771         s390/sys/ucontext.h.
41772         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41773         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41775 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41777         [BZ #15605]
41778         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41780 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41782         [BZ#16431]
41783         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41784         Adjust the vDSO correctly for internal calls.
41785         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41787 2014-01-20  Allan McRae  <allan@archlinux.org>
41789         * po/ca.po: Update Catalan translation from translation project.
41791 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41793         * sysdeps/s390/sotruss-lib.c: New file.
41795 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41797         [BZ#16430]
41798         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41799         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41800         local calls issues by not having a PLT stub required for IFUNC calls.
41801         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41803 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41805         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41806         * math/test-fpucw-static.c: Likewise.
41808 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41810         [BZ #16453]
41811         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41813 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41815         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41816         implementation for powerpc.
41818 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41820         [BZ #14782]
41821         * sysdeps/posix/system.c (__libc_system): Do not enable
41822         asynchronous cancellation.
41824 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41826         [BZ #16427]
41827         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41828         handling only for numbers special also in the IEEE case.
41830 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41832         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41834 2014-01-11  Allan McRae  <allan@archlinux.org>
41836         * po/bg.po: Update Bulgarian translation from translation project.
41838         * po/de.po: Update German translation from translation project.
41840 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41842         * sysdeps/generic/gcc-compat.h: New file.
41844 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41846         * benchtests/asin-inputs: Correct slow inputs.
41847         * benchtests/acos-inputs: Likewise.
41849 2014-01-10  Allan McRae  <allan@archlinux.org>
41851         * po:sv.po: Update Swedish translation from translation project.
41853         * po/vi.po: Update Vietnamese translation from translation project.
41855         * po/eo.po: Update Esperanto translation from translation project.
41857         * po/cs.po: Update Czech translation from translation project.
41859         * po/nl.po: Update Dutch translation from translation project.
41861         * po/pl.po: Update Polish translation from translation project.
41863         * po/ru.po: Update Russian translation from translation project.
41865         * po/uk.po: Update Ukrainian translation from translation project.
41867 2014-01-08  Brooks Moses  <bmoses@google.com>
41869         * elf/dl-load.c: Fix comment typo.
41871 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41873         * po/header.pot: Rename to...
41874         * po/pot.header: ... this.
41875         * po/Makefile: Use pot.header.
41877 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41878             Maxim Kuvyrkov  <maxim@kugelworks.com>
41880         [BZ #16394]
41881         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41882         SRC and DEST against LEN.
41884 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41886         [BZ #16414]
41887         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41888         implementation.
41889         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41891 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41895 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41897         [BZ #16408]
41898         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41899         for large positive arguments.
41901 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41903         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41905         * math/auto-libm-test-in: Mark various tests with
41906         xfail-rounding:ldbl-128ibm.
41907         * math/auto-libm-test-out: Regenerated.
41909         [BZ #16407]
41910         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41911         Increase overflow threshold.
41913 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41915         [BZ #14286]
41916         * stdio-common/vfprintf.c: Check for integer overflow.
41918 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41920         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41921         the first argument and return value of __tls_get_addr_internal.
41923 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41925         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41926         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41928 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41930         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41931         * sysdeps/s390/rtld-global-offsets.sym: New file.
41932         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41933         GLIBC_2.19 symbol.
41934         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41935         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41936         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41937         ... this.
41938         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41939         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41940         ... this.
41941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41942         Regenerate.
41943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41944         Regenerate.
41945         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41946         halfs of GPRs for high_gprs contexts.
41947         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41948         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41949         field.
41950         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41951         uc_flags field.
41952         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41953         64 bit versions:
41954         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41955         for high GPRs (uc_high_gprs) and for future extensions
41956         (__reserved).
41957         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41958         for future extensions (__reserved).
41959         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41960         64 bit versions:
41961         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41962         SC_HIGHGPRS offset definition.
41963         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41964         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41966         * Versions.def: Add GLIBC_2.19 for libpthread.
41967         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41968         siglongjmp for libpthread with GLIBC_2.19 symver.
41969         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41970         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41971         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41972         * sysdeps/s390/__longjmp.c: New file.
41973         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41974         * sysdeps/s390/longjmp.c: New file.
41975         * sysdeps/s390/setjmp.S: New file.
41976         * sysdeps/s390/sigjmp.S: New file.
41977         * sysdeps/s390/v1-longjmp.c: New file.
41978         * sysdeps/s390/v1-setjmp.h: New file.
41979         * sysdeps/s390/v1-sigjmp.c: New file.
41980         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41981         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41982         GLIBC_2.19 version.
41983         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41984         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41985         versioned symbols for ____longjmp_chk.
41986         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41987         Likewise.
41988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41989         Regenerate.
41990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41991         Regenerate.
41992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41993         Regenerate.
41994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41995         Regenerate.
41996         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41997         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41998         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41999         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42000         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42001         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42002         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42003         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42004         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42005         * sysdeps/s390/rtld-__longjmp.c: New file.
42006         * sysdeps/s390/rtld-setjmp.S: New file.
42008 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42010         [BZ #16400]
42011         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42012         Return -__logl (x) for small positive arguments without evaluating
42013         a polynomial.
42015 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42017         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42018         Rename to ...
42019         (__ptrace_peeksiginfo_args): ... this.
42020         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42021         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42022         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42024 2014-01-06  Allan McRae  <allan@archlinux.org>
42026         * inet/netinet/in.h: Fix typo in comment.
42028 2014-01-05  Andreas Jaeger  <aj@suse.de>
42030         * sysdeps/i386/fpu/libm-test-ulps: Update.
42032 2014-01-05  Allan McRae  <allan@archlinux.org>
42034         * po/libc.pot: Regenerated.
42036         * malloc/memusagestat.c: Fix gettext call formatting.
42038 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42040         * nscd/nscd.c: Improve usage() output.
42042 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42044         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42045         * sysdeps/unix/sysv/linux/configure: Regenerated.
42046         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42047         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42049 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42051         [BZ #16390]
42052         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42053         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42055 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42057         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42058         extra tokens at end of #undef directive.
42059         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42060         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42061         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42063 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42065         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42067         * math/auto-libm-test-in: Mark various tests with
42068         xfail-rounding:ldbl-128ibm.
42069         * math/auto-libm-test-out: Regenerated.
42071 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42073         [BZ #16386]
42074         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42075         numbers with subnormal high part when calculating exponent.
42077         [BZ #16385]
42078         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42079         fabs.
42081         [BZ #16384]
42082         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42083         M_LN2l.
42084         (__ieee754_acoshl): Use __log1pl not __log1p.
42086 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42088         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42089         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42090         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42091         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42092         (reused_arena, arena_get2): Convert to GNU style.
42093         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42094         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42095         (memalign_check, __malloc_set_state): Likewise.
42096         * malloc/mallocbug.c (main): Likewise.
42097         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42098         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42099         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42100         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42101         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42102         (__posix_memalign, malloc_info): Likewise.
42103         * malloc/malloc.h: Likewise.
42104         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42105         (mallochook, memalignhook, reallochook, mabort): Likewise.
42106         * malloc/mcheck.h: Likewise.
42107         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42108         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42109         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42110         * malloc/morecore.c (__default_morecore): Likewise.
42111         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42112         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42113         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42114         (print_and_abort): Likewise.
42115         * malloc/obstack.h: Likewise.
42116         * malloc/set-freeres.c (__libc_freeres): Likewise.
42117         * malloc/tst-mallocstate.c (main): Likewise.
42118         * malloc/tst-mtrace.c (main): Likewise.
42119         * malloc/tst-realloc.c (do_test): Likewise.
42121 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42123         [BZ #16366]
42124         * nscd/netgroupcache.c (do_notfound): New function.
42125         (addgetnetgrentX): Use it.
42127         [BZ # 16365]
42128         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42129         NSS_STATUS_NOTFOUND.
42131 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42133         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42136 2014-01-01  Allan McRae  <allan@archlinux.org>
42138         * scripts/update-copyrights: Update configure input file suffix.
42140         * NEWS: Update copyright year.
42141         * catgets/gencat.c: Likewise.
42142         * csu/version.c: Likewise.
42143         * debug/catchsegv.sh: Likewise.
42144         * debug/pcprofiledump.c: Likewise.
42145         * debug/xtrace.sh: Likewise.
42146         * elf/ldconfig.c: Likewise.
42147         * elf/ldd.bash.in: Likewise.
42148         * elf/pldd.c: Likewise.
42149         * elf/sotruss.ksh: Likewise.
42150         * elf/sprof.c: Likewise.
42151         * iconv/iconv_prog.c: Likewise.
42152         * iconv/iconvconfig.c: Likewise.
42153         * locale/programs/locale.c: Likewise.
42154         * locale/programs/localedef.c: Likewise.
42155         * login/programs/pt_chown.c: Likewise.
42156         * malloc/memusage.sh: Likewise.
42157         * malloc/memusagestat.c: Likewise.
42158         * malloc/mtrace.pl: Likewise.
42159         * manual/libc.texinfo: Likewise.
42160         * nscd/nscd.c: Likewise.
42161         * nss/getent.c: Likewise.
42162         * nss/makedb.c: Likewise.
42163         * posix/getconf.c: Likewise.
42164         * scripts/test-installation.pl: Likewise.
42166         * All files with FSF copyright notices: Update copyright dates
42167         using scripts/update-copyrights.
42168         * intl/plural.c: Regenerated.
42169         * locale/programs/charmap-kw.h: Likewise.
42170         * locale/programs/locfile-kw.h: Likewise.
42172 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42174         * sysdeps/unix/sysv/linux/configure: Regenerated.
42175         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42176         the linux/fanotify.h header.
42177         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42178         HAVE_LINUX_FANOTIFY_H is defined.
42180 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42182         * benchtests/cos-inputs: New inputs.
42183         * benchtests/sin-inputs: Likewise.
42185         * benchtests/atan-inputs: New inputs. Fix name of multiple
42186         precision fallback inputs.
42188         * benchtests/atanh-inputs: New inputs.
42189         * benchtests/tanh-inputs: Likewise.
42191         * benchtests/acosh-inputs: New inputs.
42192         * benchtests/asinh-inputs: Likewise.
42194         * benchtests/cosh-inputs: New inputs.
42195         * benchtests/sinh-inputs: Likewise.
42197         * benchtests/acos-inputs: Add more inputs.
42198         * benchtests/asin-inputs: Likewise.
42200 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42202         [BZ #16375]
42203         * manual/arith.texi: Fix spelling.
42204         * manual/charset.texi: Likewise.
42205         * manual/errno.texi: Likewise.
42206         * manual/filesys.texi: Likewise.
42207         * manual/lang.texi: Likewise.
42208         * manual/llio.texi: Likewise.
42209         * manual/locale.texi: Likewise.
42210         * manual/message.texi: Likewise.
42211         * manual/resource.texi: Likewise.
42212         * manual/search.texi: Likewise.
42213         * manual/setjmp.texi: Likewise.
42214         * manual/stdio.texi: Likewise.
42215         * manual/string.texi: Likewise.
42216         * manual/sysinfo.texi: Likewise.
42217         * manual/time.texi: Likewise.
42219 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42221         * po/sl.po: New file.
42223 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42225         * .gitignore: Add core/.gdbinit/.gdb_history.
42227 2013-12-27  Allan McRae  <allan@archlinux.org>
42229         [BZ #16369]
42230         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42231         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42233 2013-12-24  Brooks Moses  <bmoses@google.com>
42235         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42236         all compilers that claim C++98 compliance, not just GCC.
42237         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42238         Likewise.
42240 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42242         * NEWS: Restore accidentally deleted bug-fix entries.
42244 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42245             Ondřej Bílka  <neleai@seznam.cz>
42247         [BZ #15073]
42248         * malloc/malloc.c (_int_free): Perform sanity check only if we
42249         have_lock.
42251 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42253         [BZ #12986]
42254         * manual/stdio.texi (String Input Conversions): Clarify that character
42255         classes are not supported.
42257 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42261 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42263         [BZ #16337]
42264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42265         Calculate results for small negative arguments directly rather
42266         than using reflection formula with special underflow handling.
42268         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42269         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42270         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42271         (fchflags): Likewise.
42272         (revoke): Likewise.
42273         (setlogin): Likewise.
42274         (sigaltstack): Likewise.
42275         (wait4): Likewise.
42276         (sigblock): Remove.
42277         (sigsetmask): Likewise.
42278         (wait3): Likewise.
42279         (waitpid): Likewise.
42280         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42281         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42282         file.
42283         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42284         * sysdeps/unix/bsd/Makefile: ... here.
42285         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42286         * sysdeps/unix/bsd/Versions: ... here.
42287         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42288         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42289         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42290         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42291         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42292         * sysdeps/unix/bsd/sigblock.c: ... here.
42293         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42294         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42295         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42296         * sysdeps/unix/bsd/sigvec.c: ... here.
42297         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42298         * sysdeps/unix/bsd/tcdrain.c: ... here.
42299         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42300         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42301         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42302         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42303         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42304         * sysdeps/unix/bsd/wait.c: ... here.
42305         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42306         * sysdeps/unix/bsd/wait3.c: ... here.
42307         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42308         * sysdeps/unix/bsd/waitpid.c: ... here.
42310 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42312         [BZ #16356]
42313         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42314         round-to-nearest for [!USE_AS_EXPM1L].
42315         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42316         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42317         more tests of exp and exp10.  Expect some exp10 tests to miss
42318         exceptions or fail in directed rounding modes.
42319         * math/auto-libm-test-out: Regenerated.
42320         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42321         (exp10_test_tonearest): New function.
42322         (exp10_towardzero_test_data): New array.
42323         (exp10_test_towardzero): New function.
42324         (exp10_downward_test_data): New array.
42325         (exp10_test_downward): New function.
42326         (exp10_upward_test_data): New array.
42327         (exp10_test_upward): New function.
42328         (main): Call the new functions.
42329         * sysdeps/i386/fpu/libm-test-ulps: Update.
42330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42332 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42334         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42335         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42336         * math/auto-libm-test-out: Regenerated.
42337         * math/libm-test.inc (acosh_test_data): Add more tests.
42338         (atanh_test_data): Likewise.
42339         (ceil_test_data): Likewise.
42340         (copysign_test_data): Likewise.
42341         * sysdeps/i386/fpu/libm-test-ulps: Update.
42342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42344         * timezone/checktab.awk: Update from tzcode 2013i.
42345         * timezone/private.h: Likewise.
42346         * timezone/scheck.c: Likewise.
42347         * timezone/tzfile.h: Likewise.
42348         * timezone/tzselect.ksh: Likewise.
42349         * timezone/zdump.c: Likewise.
42350         * timezone/zic.c: Likewise.
42352         * math/auto-libm-test-in: Add tests of cpow.
42353         * math/auto-libm-test-out: Regenerated.
42354         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42356         mpc_cc_c.
42357         (func_calc_desc): Add mpc_cc_c union field.
42358         (test_functions): Add cpow.
42359         (special_fill_2pi): New function.
42360         (special_real_inputs): Add 2pi.
42361         (calc_generic_results): Handle mpc_cc_c.
42362         * sysdeps/i386/fpu/libm-test-ulps: Update.
42363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42365         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42366         csqrt, ctan and ctanh.
42367         * math/auto-libm-test-out: Regenerated.
42368         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42369         (TEST_COND_x86): Likewise.
42370         (ccos_test_data): Use AUTO_TESTS_c_c.
42371         (ccosh_test_data): Likewise.
42372         (cexp_test_data): Likewise.
42373         (clog_test_data): Likewise.
42374         (csqrt_test_data): Likewise.
42375         (ctan_test_data): Likewise.
42376         (ctan_tonearest_test_data): Likewise.
42377         (ctan_towardzero_test_data): Likewise.
42378         (ctan_downward_test_data): Likewise.
42379         (ctan_upward_test_data): Likewise.
42380         (ctanh_test_data): Likewise.
42381         (ctanh_tonearest_test_data): Likewise.
42382         (ctanh_towardzero_test_data): Likewise.
42383         (ctanh_downward_test_data): Likewise.
42384         (ctanh_upward_test_data): Likewise.
42385         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42386         mpc_c_c.
42387         (func_calc_desc): Add mpc_c_c union field.
42388         (FUNC_mpc_c_c): New macro.
42389         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42390         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42391         ctanh.
42392         (special_fill_min_subnorm_p120): New function.
42393         (special_real_inputs): Add min_subnorm_p120.
42394         (calc_generic_results): Handle mpc_c_c.
42395         * sysdeps/i386/fpu/libm-test-ulps: Update.
42396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42398 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42400         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42401         (do_sin_slow): New functions.
42402         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42403         (cslow2, csloww1, csloww2): Use the new functions.
42405         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42406         Use M to change sign of result instead of X.  Assume X is
42407         positive.
42408         (csloww1): Likewise.
42409         (__sin): Adjust.
42410         (__cos): Adjust.
42412         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42413         arguments A and DA.
42414         (__sin): Adjust.
42415         (__cos): Likewise.
42417         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42418         (__cos): Likewise.
42419         (sloww1): Don't adjust sign of DX.
42420         (csloww1): Likewise.
42421         (sloww2): Use X directly and don't adjust sign of DX.
42422         (csloww2): Likewise.
42424 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42426         * math/auto-libm-test-in: Add tests of cabs and carg.
42427         * math/auto-libm-test-out: Regenerated.
42428         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42429         (carg_test_data): Likewise.
42430         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42431         mpc_c_f.
42432         (func_calc_desc): Add mpc_c_f union field.
42433         (test_functions): Add cabs and carg.
42434         (calc_generic_results): Handle mpc_c_f.
42436         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42437         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42438         as a macro and a compat symbol.
42439         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42440         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42441         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42442         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42443         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42444         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42445         not use .hidden.
42446         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42447         Likewise.
42448         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42449         Likewise.
42450         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42451         Likewise.
42452         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42453         Likewise.
42454         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42455         Likewise.
42456         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42457         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42458         from GLIBC_2.3.2.
42460 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42464 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42466         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42467         trailing whitespace removed.
42468         * scripts/config.guess: Update to version 2013-11-29.
42469         * scripts/config.sub: Update to version 2013-10-01.
42471         * math/auto-libm-test-in: Add tests of sincos.
42472         * math/auto-libm-test-out: Regenerated.
42473         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42474         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42475         mpfr_f_11.
42476         (func_calc_desc): Add mpfr_f_11 union field.
42477         (test_functions): Add sincos.
42478         (calc_generic_results): Handle mpfr_f_11.
42479         * sysdeps/i386/fpu/libm-test-ulps: Update.
42480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42482 2013-12-19  Andreas Schwab  <schwab@suse.de>
42484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42485         CALL_MCOUNT.
42486         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42487         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42488         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42490 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42492         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42493         * sysdeps/i386/fpu/libm-test-ulps: Update.
42494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42496         [BZ #16293]
42497         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42498         round-to-nearest mode when using frndint.
42499         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42500         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42501         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42502         Likewise.
42503         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42504         sinh test to fail.
42505         * math/auto-libm-test-out: Regenerated.
42506         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42507         (TEST_COND_x86): Likewise.
42508         (expm1_tonearest_test_data): New array.
42509         (expm1_test_tonearest): New function.
42510         (expm1_towardzero_test_data): New array.
42511         (expm1_test_towardzero): New function.
42512         (expm1_downward_test_data): New array.
42513         (expm1_test_downward): New function.
42514         (expm1_upward_test_data): New array.
42515         (expm1_test_upward): New function.
42516         (main): Run the new test functions.
42517         * sysdeps/i386/fpu/libm-test-ulps: Update.
42518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42520         * include/features.h: Update comment documenting feature test
42521         macros.  Mention _DEFAULT_SOURCE in comment.
42522         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42523         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42524         _BSD_SOURCE and _SVID_SOURCE.
42525         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42526         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42527         !_SVID_SOURCE]: Likewise.
42528         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42529         (__USE_POSIX_IMPLICITLY): Define.
42530         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42531         (_POSIX_SOURCE): Undefine and redefine.
42532         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42533         (_POSIX_C_SOURCE): Likewise.
42534         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42535         (Feature Test Macros): Update documentation of default features.
42537 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42539         * benchtests/Makefile: Add bench-strtok.
42540         * benchtests/bench-strtok.c: New file: strtok benchtest.
42542 2013-12-19  Allan McRae  <allan@archlinux.org>
42544         * manual/install.texi: Suppress menu for plain text output.
42545         * INSTALL: Regenerated.
42547 2013-12-18  Brooks Moses  <bmoses@google.com>
42549         [BZ #15846]
42550         * misc/getauxval.c: Include errno.h.
42551         (__getauxval): Set errno to ENOENT if the requested type is not
42552         found.
42553         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42554         don't declare with __attribute_const__.
42555         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42556         * manual/startup.texi: Document that getauxval sets errno.
42558 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42560         * math/auto-libm-test-in: Add tests of jn and yn.
42561         * math/auto-libm-test-out: Regenerated.
42562         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42563         (yn_test_data): Likewise.
42564         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42565         mpfr_if_f.
42566         (func_calc_desc): Add mpfr_if_f union field.
42567         (FUNC_mpfr_if_f): New macro.
42568         (test_functions): Add jn and yn.
42569         (calc_generic_results): Assert type of second input for
42570         mpfr_ff_f.  Handle mpfr_if_f.
42571         (output_for_one_input_case): Disable all checking for arguments
42572         fitting floating-point types in case of an integer argument.
42573         * sysdeps/i386/fpu/libm-test-ulps: Update.
42574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42577         Don't expect fegetround reference in libm.so.
42579 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42581         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42582         $(config-cflags-nofma).
42584 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42586         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42587         * math/auto-libm-test-out: Regenerated.
42589         [BZ #16338]
42590         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42591         to determine exponent and adjust argument to have exponent of -1.
42592         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42593         log2.
42594         * math/auto-libm-test-out: Regenerated.
42595         * sysdeps/i386/fpu/libm-test-ulps: Update.
42596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42598 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42600         * manual/probes.texi: Remove cases when per-thread arenas are
42601         disabled.
42603 2013-12-18  Andreas Schwab  <schwab@suse.de>
42605         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42606         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42607         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42608         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42609         * sysdeps/i386/i686/multiarch/Makefile: Update.
42610         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42612 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42614         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42615         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42617 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42619         [BZ #15968]
42620         Support TZ transition times < 00:00:00.
42621         This is needed for version-3 tz-format files; it supports time
42622         stamps past 2037 for America/Godthab (the only entry in the tz
42623         database for which this change is relevant).
42624         * manual/time.texi (TZ Variable): Document transition times
42625         from -167:59:59 through -00:00:01.
42626         * time/tzset.c (tz_rule): Time of day is now signed.
42627         (__tzset_parse_tz): Parse negative time of day.
42629         Document TZ transition times >= 25:00:00.
42630         * manual/time.texi (TZ Variable): Document transition times from
42631         25:00:00 through 167:59:59.  These are already supported, and this
42632         support will help with version-3 tz-format files.
42634         * manual/time.texi (TZ Variable): Modernize North America example
42635         to reflect current (i.e., 2007-and-later) daylight saving rules.
42637         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42639 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42641         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42642         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42645         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42646         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42647         * sysdeps/unix/bsd/clock.c: Likewise.
42648         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42649         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42650         * sysdeps/unix/bsd/init-posix.c: Likewise.
42651         * sysdeps/unix/bsd/poll.c: Likewise.
42652         * sysdeps/unix/bsd/ptsname.c: Likewise.
42653         * sysdeps/unix/bsd/seekdir.c: Likewise.
42654         * sysdeps/unix/bsd/setegid.c: Likewise.
42655         * sysdeps/unix/bsd/seteuid.c: Likewise.
42656         * sysdeps/unix/bsd/setgid.c: Likewise.
42657         * sysdeps/unix/bsd/setrgid.c: Likewise.
42658         * sysdeps/unix/bsd/setruid.c: Likewise.
42659         * sysdeps/unix/bsd/setsid.c: Likewise.
42660         * sysdeps/unix/bsd/setuid.c: Likewise.
42661         * sysdeps/unix/bsd/sigaction.c: Likewise.
42662         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42663         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42664         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42665         * sysdeps/unix/bsd/telldir.c: Likewise.
42666         * sysdeps/unix/bsd/times.c: Likewise.
42667         * sysdeps/unix/bsd/usleep.c: Likewise.
42669         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42670         ($(objpfx)libbsd-compat.a): Remove rule.
42672         * include/features.h (__FAVOR_BSD): Do not define.
42673         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42674         features conflicting with POSIX.
42675         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42676         (_BSD_SOURCE): Remove description of not being a subset of other
42677         feature test macros.
42678         * manual/job.texi (getpgrp): Do not document BSD version.
42679         (getpgid): Do not document by reference to BSD getpgrp.
42680         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42681         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42682         * signal/signal.h [__FAVOR_BSD]: Likewise.
42683         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42684         instead of making contents conditional on [__FAVOR_BSD].
42685         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42687 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42691 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42693         [BZ #16314]
42694         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42695         values below 2**-450, not 2**-500.
42696         * math/auto-libm-test-in: Don't allow spurious underflow from
42697         hypot.
42698         * math/auto-libm-test-out: Regenerated.
42700         [BZ #16316]
42701         [BZ #16330]
42702         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42703         values of ha and hb and sort them after adjusting subnormal
42704         arguments.
42705         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42706         Likewise.
42707         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42708         values of ea and eb and sort them after adjusting subnormal
42709         arguments.
42710         * math/auto-libm-test-in: Do not expect some hypot tests of
42711         subnormals to fail.  Add more hypot tests.
42712         * math/auto-libm-test-out: Regenerated.
42714 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42716         [BZ #13304]
42717         * sysdeps/sh/s_fma.c: New file.
42718         * sysdeps/sh/s_fmaf.c: New file.
42719         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42720         version.
42721         * sysdeps/sh/Implies: Add sh/soft-fp.
42723 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42725         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42726         level of indirection to members `objname', `errstring', `malloced'.
42727         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42728         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42729         it as the __longjmp argument (just pass 1 instead).
42730         (_dl_catch_error): Initialize C with argument pointers and address of
42731         volatile local ERRCODE rather than copying values out of C at return.
42733 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42735         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42736         * math/auto-libm-test-out: Regenerated.
42737         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42738         (hypot_test_data): Likewise.
42739         (pow_test_data): Likewise.
42740         (pow_tonearest_test_data): Likewise.
42741         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42742         mpfr_ff_f.
42743         (func_calc_desc): Add mpfr_ff_f union field.
42744         (FUNC_mpfr_ff_f): New macro.
42745         (test_functions): Add atan2, hypot and pow.
42746         (special_fill_min): New function.
42747         (special_fill_minus_min): Likewise.
42748         (special_fill_min_subnorm): Likewise.
42749         (special_fill_minus_min_subnorm): Likewise.
42750         (special_real_inputs): Add min, -min, min_subnorm and
42751         -min_subnorm.
42752         (calc_generic_results): Handle mpfr_ff_f.
42753         * sysdeps/i386/fpu/libm-test-ulps: Update.
42754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42756 2013-12-16  Will Newton  <will.newton@linaro.org>
42758         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42759         (Aligned Memory Blocks): Add documentation for aligned_alloc
42760         and suggest it as an alternative to posix_memalign.
42761         (Hooks for Malloc): Document __memalign_hook is also called
42762         for aligned_alloc.  (Summary of Malloc): Add summary for
42763         aligned alloc.  Document __memalign_hook is also called
42764         for aligned_alloc.
42766 2013-12-16  Will Newton  <will.newton@linaro.org>
42768         * manual/memory.texi (Malloc Examples): Clarify default
42769         alignment documentation.  Suggest posix_memalign rather
42770         than memalign or valloc.
42771         (Aligned Memory Blocks): Remove suggestion to use memalign
42772         or valloc.  Remove obsolete comment about BSD.
42773         Document memalign errno values and mark the function obsolete.
42774         Document posix_memalign returned error codes.  Mark valloc
42775         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42776         called for posix_memalign and valloc.
42777         (Summary of Malloc): Add posix_memalign to function summary.
42778         __memalign_hook is also called for posix_memalign and valloc.
42780 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42782         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42783         TAYLOR_SIN.
42784         (__sin): Adjust.
42785         (__cos): Likewise.
42786         (sloww): Use mynumber union.  Expand ternary operator into
42787         if-else statements.
42788         (cslow): use mynumber union.
42790 2013-12-16  Allan McRae  <allan@archlinux.org>
42792         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42793         * configure: Regenerated.
42795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42797         [BZ #14120]
42798         * configure.ac: Added --enable-maintainer-mode. Check for
42799         autoconf when enabled.
42800         * configure: Regenerated.
42802         * nscd/nscd.service: New file.
42803         * nscd/nscd.tmpfiles: New file.
42805 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42807         [BZ #12100]
42808         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42809         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42810         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42811         (strstr): Add __strstr_sse2_unaligned ifunc.
42812         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42813         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42814         (strcasestr): Remove __strcasestr_sse42 ifunc.
42815         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42819 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42821         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42822         * sysdeps/sh/bits/fenv.h: ... here.
42823         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42825 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42827         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42830         hypotf multiarch implementations.
42831         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42832         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42833         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42834         multiarch hypot for PPC64.
42835         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42837         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42838         multiarch hypotf for PPC64.
42840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42841         modff multiarch implementations.
42842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42845         multiarch modf for PPC64.
42846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42849         multiarch modff for PPC64.
42851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42852         and logl multiarch implementations.
42853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42856         multiarch logb for PPC64.
42857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42860         multiarch logb for PPC64.
42861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42864         multiarch logb for PPC64.
42866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42867         isinff multiarch implementation.
42868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42869         file.
42870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42872         multiarch isinf for PPC64.
42873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42874         file.
42875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42876         multiarch isinff for PPC64.
42878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42879         finitef multiarch implementation.
42880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42881         file.
42882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42884         multiarch finite for PPC64.
42885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42886         file.
42887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42888         multiarch finitef for PPC64.
42890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42891         lrint multiarch implementation.
42892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42893         file.
42894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42896         multiarch llrint for PPC64.
42897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42898         multiarch lrint for PPC64.
42900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42901         copysignf multiarch implementation.
42902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42903         file.
42904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42905         file.
42906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42907         multiarch copysign for PPC64.
42908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42909         multiarch copysignf for PPC64.
42911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42912         multiarch implementation.
42913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42914         file.
42915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42916         file.
42917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42918         file.
42919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42920         file.
42921         multiarch llround for PPC64.
42922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42923         multiarch trunc for PPC64.
42924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42925         multiarch truncf for PPC64.
42927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42928         multiarch implementation.
42929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42930         file.
42931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42932         file.
42933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42934         file.
42935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42936         file.
42937         multiarch llround for PPC64.
42938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42939         multiarch round for PPC64.
42940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42941         multiarch roundf for PPC64.
42943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42944         multiarch implementation.
42945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42946         file.
42947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42948         file.
42949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42950         file.
42951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42952         file.
42953         multiarch llround for PPC64.
42954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42955         multiarch floor for PPC64.
42956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42957         multiarch floorf for PPC64.
42959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42960         multiarch implementation.
42961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42962         file.
42963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42964         file.
42965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42966         file.
42967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42968         file.
42969         multiarch llround for PPC64.
42970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42971         multiarch ceil for PPC64.
42972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42973         multiarch ceilf for PPC64.
42975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42976         multiarch implementation.
42977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42978         file.
42979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42980         file.
42981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42982         file.
42983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42984         multiarch llround for PPC64.
42985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42986         multiarch lround for PPC64.
42988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42989         multiarch implementation.
42990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42993         file.
42994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42997         multiarch isnan for PPC64.
42998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42999         multiarch isnanf for PPC64.
43001         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43002         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43003         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43004         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43005         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43008         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43009         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43014         multiarch implementations.
43015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43016         (__libc_ifunc_impl_list): Likewise.
43017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43018         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43019         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43020         multiarch stpcpy for PPC64.
43022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43023         multiarch implementations.
43024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43025         (__libc_ifunc_impl_list): Likewise.
43026         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43027         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43028         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43029         multiarch strcpy for PPC64.
43031         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43032         redefine function name.
43033         (_wordcopy_fwd_dest_aligned): Likewise.
43034         (_wordcopy_bwd_aligned): Likewise.
43035         (_wordcopy_bwd_dest_aligned): Likewise.
43036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43037         multiarch implementations.
43038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43039         (__libc_ifunc_impl_list): Likewise.
43040         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43042         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43043         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43044         multiarch wcscpy for PPC64.
43046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43047         multiarch implementations.
43048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43049         (__libc_ifunc_impl_list): Likewise.
43050         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43051         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43052         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43053         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43054         multiarch wcscpy for PPC64.
43056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43057         multiarch implementations.
43058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43059         (__libc_ifunc_impl_list): Likewise.
43060         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43061         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43062         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43063         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43064         multiarch wcsrchr for PPC64.
43066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43067         multiarch implementations.
43068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43069         (__libc_ifunc_impl_list): Likewise.
43070         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43071         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43072         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43073         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43074         multiarch wcschr for PPC64.
43076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43077         multiarch implementations.
43078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43079         (__libc_ifunc_impl_list): Likewise.
43080         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43081         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43082         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43083         multiarch strchrnul for PPC64.
43085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43086         implementations.
43087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43088         (__libc_ifunc_impl_list): Likewise.
43089         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43090         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43091         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43092         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43093         strchr for PPC64.
43095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43096         implementations.
43097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43098         (__libc_ifunc_impl_list): Likewise.
43099         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43100         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43101         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43102         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43103         strncmp for PPC64.
43105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43106         multiarch implementations.
43107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43108         (__libc_ifunc_impl_list): Likewise.
43109         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43110         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43111         strncasecmp for PPC64.
43112         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43113         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43114         multiarch strncasecmp_l for PPC64.
43116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43117         multiarch implementations.
43118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43119         (__libc_ifunc_impl_list): Likewise.
43120         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43121         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43122         multiarch strcasecmp for PPC64.
43123         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43124         file.
43125         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43126         multiarch strcasecmp_l for PPC64.
43128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43129         implementations.
43130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43131         (__libc_ifunc_impl_list): Likewise.
43132         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43133         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43134         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43135         strnlen for PPC64.
43137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43138         implementations.
43139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43140         (__libc_ifunc_impl_list): Likewise.
43141         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43142         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43143         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43144         strlen for PPC64.
43146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43147         implementations.
43148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43149         (__libc_ifunc_impl_list): Likewise.
43150         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43151         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43152         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43153         rawmemrchr for PPC64.
43155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43156         implementation.
43157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43158         (__libc_ifunc_impl_list): Likewise.
43159         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43160         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43161         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43162         memrchr for PPC64.
43164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43165         implementation.
43166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43167         (__libc_ifunc_impl_list): Likewise.
43168         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43169         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43170         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43171         memchr for PPC64.
43173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43174         implementation.
43175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43176         (__libc_ifunc_impl_list): Likewise.
43177         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43178         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43179         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43180         mempcpy for PPC64.
43182         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43183         avoid cretion of __bzero symbol.
43184         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43185         Likewise.
43186         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43187         Likewise.
43188         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43189         Likewise.
43190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43191         multiarch implementations.
43192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43193         (__libc_ifunc_impl_list): Likewise.
43194         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43195         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43196         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43197         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43198         bzero for PPC32.
43199         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43200         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43201         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43202         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43203         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43204         memset for PPC64.
43205         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43207         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43209         implementations.
43210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43211         (__libc_ifunc_impl_list): Likewise.
43212         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43213         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43214         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43215         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43216         memcmp for PPC64.
43218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43219         multiarch for POWER/PPC64.
43220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43221         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43222         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43223         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43224         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43225         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43226         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43227         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43228         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43229         memcpy for PPC64.
43231         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43232         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43233         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43234         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43235         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43236         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43237         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43238         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43239         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43240         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43241         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43242         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43243         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43244         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43245         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43254 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43256         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43258 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43260         * benchtests/Makefile (bench): Add exp2 and log2.
43261         (LDLIBS-bench-exp2): Add -lm.
43262         (LDLIBS-bench-log2): Likewise.
43263         * benchtests/exp2-inputs: New inputs file.
43264         * benchtests/log2-inputs: New inputs file.
43265         * benchtests/log-inputs: Add new inputs.
43266         * benchtests/tan-inputs: Likewise.
43268 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43270         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43271         definition...
43272         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43273         (csloww2): ... from here.
43275         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43276         instead of structures.
43277         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43278         (POLYNOMIAL): Likewise.
43279         (TAYLOR_SLOW): Likewise.
43280         (__sin): Likewise.
43281         (__cos): Likewise.
43282         (slow1): Likewise.
43283         (slow2): Likewise.
43284         (sloww): Likewise.
43285         (sloww1); Likewise.
43286         (sloww2): Likewise.
43287         (bsloww1): Likewise.
43288         (bsloww2): Likewise.
43289         (cslow2): Likewise.
43290         (csloww): Likewise.
43291         (csloww1): Likewise.
43292         (csloww2): Likewise.
43294 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43296         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43297         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43298         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43299         * malloc/hooks.c (realloc_check): Likewise.
43301         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43302         * malloc/arena.c: Remove PER_THREAD conditional.
43303         [!PER_THREAD]: Remove code.
43304         (ptmalloc_unlock_all2): Likewise.
43305         (ptmalloc_init): Likewise.
43306         (_int_new_arena): Likewise.
43307         (arena_get2): Likewise.
43308         * malloc/hooks.c (__malloc_get_state): Likewise.
43309         (__malloc_set_state): Likewise.
43310         * malloc/malloc.c: Likewise.
43311         (struct malloc_state): Likewise.
43312         (struct malloc_par): Likewise.
43313         (__libc_realloc): Likewise.
43314         (__libc_mallopt): Likewise.
43316 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43318         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43320 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43322         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43323         macro to a function.  Check for zero perturb_byte.
43324         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43326         * malloc/malloc.c: (force_reg): Remove.
43327         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43328         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43329         force_reg by atomic_forced_read.
43330         * malloc/arena.c (ptmalloc_init): Likewise.
43331         * malloc/hooks.c (top_check): Likewise.
43333 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43337 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43341 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43343         * math/auto-libm-test-in: Add tests of lgamma.
43344         * math/auto-libm-test-out: Regenerated.
43345         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43346         (M_LOG_2_SQRT_PIl): Likewise.
43347         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43348         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43349         mpfr_f_f1.
43350         (func_calc_desc): Add mpfr_f_f1 union field.
43351         (ARGS1): New macro.
43352         (ARGS2): Likewise.
43353         (ARGS3): Likewise.
43354         (ARGS4): Likewise.
43355         (RET1): Likewise.
43356         (RET2): Likewise.
43357         (CALC): Likewise.
43358         (FUNC): Likewise.
43359         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43360         (test_functions): Add lgamma.
43361         (calc_generic_results): Handle mpfr_f_f1.
43362         * sysdeps/i386/fpu/libm-test-ulps: Update.
43363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43365 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43367         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43368         __mpn_add_n for PowerPC64/POWER7.
43369         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43370         __mpn_sub_n for PowerPC64/POWER7.
43372         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43373         __mpn_addmul_1 for PowerPC64.
43374         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43375         __mpn_submul_1 for PowerPC64.
43376         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43377         for PowerPC64.
43378         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43379         for PowerPC64.
43381 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43383         [BZ #15089]
43384         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43386 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43388         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43390         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43391         add multiarch folders.
43392         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43393         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43394         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43395         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43396         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43397         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43398         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43399         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43400         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43401         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43402         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43411         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43413         New file.
43414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43415         New file.
43416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43417         multiarch __ieee754_hypot for PowerPC32.
43418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43419         New file.
43420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43421         New file.
43422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43423         multiarch __ieee754_hypotf for PowerPC32.
43425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43426         long_double_symbol only if __logbl is defined.
43427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43428         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43430         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43432         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43433         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43434         path for implementation.
43435         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43436         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43438         logb, and logbl multiarch implementations for PowerPC32.
43439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43440         file.
43441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43442         file.
43443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43444         multiarch logb for PowerPC32.
43445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43446         file.
43447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43448         file.
43449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43450         multiarch logbf for PowerPC32.
43451         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43453         file.
43454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43455         multiarch logbl implementation for PowerPC32.
43457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43458         and modff multiarch implementations.
43459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43460         New file.
43461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43462         New file.
43463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43464         multiarch modf for PowerPC32.
43465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43466         New file.
43467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43468         New file.
43469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43470         multiarch modff for PowerPC32.
43472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43473         and lrintf multiarch implementations.
43474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43475         New file.
43476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43477         New file.
43478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43479         multiarch lrint for PowerPC32.
43480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43481         file: multiarch lrintf for PowerPC32.
43483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43484         and lroundf multiarch implementations.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43486         New file.
43487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43488         New file.
43489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43490         New file.
43491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43492         multiarch lround for PowerPC32.
43493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43494         file: multiarch lroundf for PowerPC32.
43496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43497         copysign and copysignf multiarch implementations.
43498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43499         New file.
43500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43501         New file.
43502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43503         file: multiarch copysign for PowerPC32.
43504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43505         file: multiarch copysignf for PowerPC32.
43507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43508         and truncf multiarch implementations.
43509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43510         New file.
43511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43512         file.
43513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43514         multiarch trunc for PowerPC32.
43515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43516         New file.
43517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43518         New file.
43519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43520         multiarch truncf for PowerPC32.
43522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43523         and roundf multiarch implementations.
43524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43525         New file.
43526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43527         file.
43528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43529         multiarch round for PowerPC32.
43530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43531         New file.
43532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43533         New file.
43534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43535         multiarch roundf for PowerPC32.
43537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43538         and floorf multiarch implementations.
43539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43540         New file.
43541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43542         file.
43543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43544         multiarch floor for PowerPC32.
43545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43546         New file.
43547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43548         New file.
43549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43550         multiarch floorf for PowerPC32.
43552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43553         and ceilf multiarch implementations.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43555         New file.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43557         file.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43559         multiarch ceil for PowerPC32.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43561         New file.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43563         file.
43564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43565         multiarch ceilf for PowerPC32.
43567         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43568         is defined.
43569         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43570         FINITEF is defined.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43572         and finitef multiarch implementations.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43574         New file.
43575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43576         file.
43577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43578         multiarch finite for PowerPC32.
43579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43580         New file.
43581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43582         file: multiarch finitef for PowerPC32.
43584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43585         and isinff multiarch implementations.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43587         file.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43589         file.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43591         multiarch isinf for PowerPC32.
43592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43593         New file.
43594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43595         multiarch isinff for PowerPC32.
43597         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43598         alias when __isnan is defined.
43599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43600         and isnanf multiarch implementations.
43601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43602         file.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43604         file.
43605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43606         file.
43607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43608         file.
43609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43610         multiarch isnan for PowerPC32.
43611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43612         New file.
43613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43614         New file.
43615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43616         multiarch isnanf for PowerPC32.
43618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43619         and sqrtf multiarch implementations.
43620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43621         file.
43622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43623         file.
43624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43625         multiarch sqrt for PowerPC32.
43626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43627         file.
43628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43629         file.
43630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43631         multiarch sqrtf for PowerPC32.
43633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43634         and llroundf multiarch implementations.
43635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43636         New file.
43637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43638         New file.
43639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43640         New file.
43641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43642         file: multiarch llround for PowerPC32.
43643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43644         file: multiarch llroundf for PowerPC32.
43646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43647         multiarch PowerPC32 fpu implementations.
43648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43649         New file.
43650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43651         New file.
43652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43653         multiarch llrint for PowerPC32.
43654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43655         New file.
43656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43657         New file.
43658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43659         file.
43661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43663         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43664         file.
43665         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43666         file.
43667         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43668         file.
43669         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43670         multiarch wordcopy for PPC32.
43671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43672         wordcopy objects.
43673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43674         (__libc_ifunc_impl_list): Likewise.
43675         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43676         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43677         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43678         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43679         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43680         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43682         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43684         file.
43685         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43686         file.
43687         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43688         file.
43689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43690         multiarch wcscpy for PPC32.
43691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43692         multiarch objects.
43693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43694         (__libc_ifunc_impl_list): Likewise.
43695         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43696         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43697         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43698         sysdeps/powerpc/power6/wcscpy.c.
43700         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43702         file.
43703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43704         file.
43705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43706         file.
43707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43708         multiarch wcsrchr for PPC32.
43709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43710         multiarch objects.
43711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43712         (__libc_ifunc_impl_list): Likewise.
43713         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43714         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43715         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43716         sysdeps/powerpc/power6/wcsrchr.c.
43718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43719         file.
43720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43721         file.
43722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43724         multiarch wcschr for PPc32.
43725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43726         multiarch objects.
43727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43728         (__libc_ifunc_impl_list): Likewise.
43729         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43730         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43731         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43732         sysdeps/powerpc/power6/wcschr.c.
43734         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43735         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43736         file.
43737         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43738         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43739         file: multiarch strchr for PPC32.
43740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43741         multiarch objects.
43742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43743         (__libc_ifunc_impl_list): Likewise.
43745         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43746         name.
43747         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43748         file.
43749         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43750         file.
43751         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43752         multiarch strchrnul for PPC32.
43753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43754         multiarch objects.
43755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43756         (__libc_ifunc_impl_list): Likewise.
43758         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43759         file.
43760         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43761         multiarch strncasecmp for PPC32.
43762         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43763         file.
43764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43765         multiarch strncasecmp_l for PPC32.
43766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43767         strncasecmp multiarch objects.
43768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43769         (__libc_ifunc_impl_list): Likewise.
43771         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43772         file.
43773         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43774         multiarch strncasecmp for PPC32.
43775         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43776         New file.
43777         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43778         multiarch strcasecmp_l for PPC32.
43779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43780         multiarch objects.
43781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43782         (__libc_ifunc_impl_list): Likewise.
43784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43785         file.
43786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43787         file.
43788         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43789         multiarch strncmp for PPC32.
43790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43791         multiarch objects.
43792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43793         (__libc_ifunc_impl_list): Likewise.
43795         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43796         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43797         file.
43798         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43799         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43801         multiarch objects.
43802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43803         (__libc_ifunc_impl_list): Likewise.
43805         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43806         file.
43807         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43808         file.
43809         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43811         multiarch objects.
43812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43813         (__libc_ifunc_impl_list): Likewise.
43815         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43816         file.
43817         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43818         file.
43819         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43820         multiarch rawmemchr for PPC32.
43821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43822         multiarch objects.
43823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43824         (__libc_ifunc_impl_list): Likewise.
43826         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43827         file.
43828         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43829         file.
43830         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43831         file: memrchr multiarch for PPC32.
43832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43833         multiarch objects.
43834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43835         (__libc_ifunc_impl_list): Likewise.
43837         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43838         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43839         file.
43840         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43841         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43842         multiarch memchr for PPC32.
43843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43844         multiarch objects.
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43846         (__libc_ifunc_impl_list): Likewise.
43848         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43849         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43850         file.
43851         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43852         file.
43853         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43854         file: multiarch mempcpy for PPC32.
43855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43856         multiarch objects.
43857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43858         (__libc_ifunc_impl_list): Likewise.
43860         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43861         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43862         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43863         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43864         multiarch bzero for PPC32.
43865         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43866         file.
43867         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43868         file.
43869         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43870         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43871         file: multiarch memset for PPC32.
43872         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43874         memset multiarch objects.
43875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43876         (__libc_ifunc_impl_list): Likewise.
43878         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43879         file.
43880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43882         memcmp for PPC32.
43883         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43885         multiarch objects.
43886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43887         (__libc_ifunc_impl_list): Likewise.
43889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43891         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43892         file.
43893         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43894         file.
43895         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43896         file.
43897         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43898         multiarch memcpy for PPC32.
43899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43900         multiarch objects.
43901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43902         (__libc_ifunc_impl_list): Likewise.
43904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43905         support multiarch for POWER/PPC32.
43906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43907         Likewise.
43908         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43910         Implies file to make multiarch folder appers before the fpu and
43911         default folder for power4 configuration.
43913 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43915         * scripts/bench.pl: Append volatile keyword to type.
43917 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43919         * sysdeps/sh/sotruss-lib.c: New file.
43920         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43922 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43926 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43928         [BZ #6810]
43929         * math/w_tgamma.c: Include <errno.h>.
43930         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43931         * math/w_tgammaf.c: Include <errno.h>.
43932         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43933         * math/w_tgammal.c: Include <errno.h>.
43934         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43935         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43936         underflow.  Add more tgamma tests.
43937         * math/auto-libm-test-out: Regenerated.
43938         * sysdeps/i386/fpu/libm-test-ulps: Update.
43939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43941         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43942         sin, sinh, tan, tanh, tgamma, y0 and y1.
43943         * math/auto-libm-test-out: Regenerated.
43944         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43945         (TEST_COND_x86): Likewise.
43946         (M_E2l): Remove macro.
43947         (M_E3l): Likewise.
43948         (M_2_SQRT_PIl): Likewise.
43949         (M_SQRT_PIl): Likewise.
43950         (M_1_DIV_El): Likewise.
43951         (log_test_data): Use AUTO_TESTS_f_f.
43952         (log10_test_data): Likewise.
43953         (log1p_test_data): Likewise.
43954         (log2_test_data): Likewise.
43955         (sin_test_data): Likewise.
43956         (sin_tonearest_test_data): Likewise.
43957         (sin_towardzero_test_data): Likewise.
43958         (sin_downward_test_data): Likewise.
43959         (sin_upward_test_data): Likewise.
43960         (sinh_test_data): Likewise.
43961         (sinh_tonearest_test_data): Likewise.
43962         (sinh_towardzero_test_data): Likewise.
43963         (sinh_downward_test_data): Likewise.
43964         (sinh_upward_test_data): Likewise.
43965         (tan_test_data): Likewise.
43966         (tan_tonearest_test_data): Likewise.
43967         (tan_towardzero_test_data): Likewise.
43968         (tan_downward_test_data): Likewise.
43969         (tan_upward_test_data): Likewise.
43970         (tanh_test_data): Likewise.
43971         (tgamma_test_data): Likewise.
43972         (y0_test_data): Likewise.
43973         (y1_test_data): Likewise.
43974         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43975         (special_real_inputs): Add pi/4.
43976         * sysdeps/i386/fpu/libm-test-ulps: Update.
43977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43979 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43981         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43982         "longjmp_target" static probes.
43983         (__longjmp): Rename to __longjmp_symbol.
43984         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43985         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43986         on which longjmp to generate.
43987         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43988         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43989         probe.
43990         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43991         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43992         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43993         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43994         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43995         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43997         __longjmp_symbol based on which __longjmp to generate.
43998         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43999         probe.
44000         (setjmp): Rename to setjmp_symbol.
44001         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44002         (_setjmp): Rename to _setjmp_symbol.
44003         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44004         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44005         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44006         which setjmp to generate.
44007         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44008         "longjmp_target" static probes.
44010 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44012         * benchtests/README: Add note about output arguments.
44013         * benchtests/bench-sincos.c: Remove file.
44014         * benchtests/sincos-inputs: New file.
44015         * scripts/bench.pl: Identify output arguments and define
44016         static variables for them.
44018         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44020         [BZ #15941]
44021         * Makefile (INSTALL): Add install-plain.texi as the primary
44022         dependency.
44023         * manual/install-plain.texi: New file.
44024         * manual/install.texi: Include node directive only for
44025         non-plaintext output.
44027 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44029         * stdlib/longlong.h: Update from GCC.
44031         [BZ #6807]
44032         [BZ #15901]
44033         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44034         * math/w_j0f.c (y0f): Likewise.
44035         * math/w_j0l.c (__y0l): Likewise.
44036         * math/w_j1.c (y1): Likewise.
44037         * math/w_j1f.c (y1f): Likewise.
44038         * math/w_j1l.c (__y1l): Likewise.
44039         * math/w_jn.c (yn): Likewise.
44040         * math/w_jnf.c (ynf): Likewise.
44041         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44042         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44043         value for Bessel function domain errors outside _SVID_ mode.
44044         Adjust sign of return value for yn (negative integer, 0).
44045         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44046         by zero in return for negative x and set sign appropriately for
44047         negative n.
44048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44049         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44050         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44051         expectations in error cases.
44052         (y1_test_data): Likewise.
44053         (yn_test_data): Likewise.
44054         * sysdeps/i386/fpu/libm-test-ulps: Update.
44055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44057 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44059         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44060         "64" to "64-v1".  Add "64-v2".
44061         (abi-64-options): Rename to ...
44062         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44063         (abi-64-condition): Rename to ...
44064         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44065         (abi-64-ld-soname): Rename to ...
44066         (abi-64-v1-ld-soname): ... this.
44067         (abi-64-v2-options): Define.
44068         (abi-64-v2-condition): Likewise.
44069         (abi-64-v2-ld-soname): Likewise.
44070         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44071         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44076 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44077             Alan Modra  <amodra@gmail.com>
44079         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44080         New versions for use with the ELFv2 ABI.
44081         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44082         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44083         declaration.
44084         (struct La_ppc64v2_retval): Likewise.
44085         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44086         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44087         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44088         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44089         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44090         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44091         Do not save or restore CR.
44092         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44093         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44094         return values for ELFv2 ABI.  Fix location of FPR return registers.
44095         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44096         updated values for _CALL_ELF == 2.
44097         (La_regs, La_retval, int_retval): Likewise.
44099 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44101         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44102         (FRAME_MIN_SIZE_PARM): Likewise.
44103         (FRAME_BACKCHAIN): Likewise.
44104         (FRAME_CR_SAVE): Likewise.
44105         (FRAME_LR_SAVE): Likewise.
44106         (FRAME_TOC_SAVE): Likewise.
44107         (FRAME_PARM_SAVE): Likewise.
44108         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44109         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44110         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44111         (call_mcount_parm_offset): New macro.
44112         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44113         (PROF): Use symbolic stack frame offsets.
44114         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44115         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44116         Redefine in terms of FRAME_MIN_SIZE.
44117         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44118         (_dl_profile_resolve): Likewise.  Update comment.
44119         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44120         symbols stack frame offsets.
44121         (__sigsetjmp): Likewise.
44122         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44123         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44124         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44125         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44128         (FRAME_BACKCHAIN): Remove.
44129         (FRAME_CR_SAVE): Likewise.
44130         (FRAME_LR_SAVE): Likewise.
44131         (FRAME_COMPILER_DW): Likewise.
44132         (FRAME_LINKER_DW): Likewise.
44133         (FRAME_TOC_SAVE): Likewise.
44134         (FRAME_PARM_SAVE): Likewise.
44135         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44136         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44137         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44139         (CHECK_SP): Use symbolic stack frame offsets.
44140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44141         zone" instead of caller's parameter save area for temp storage.
44142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44143         Likewise.  Also, use symbolic stack frame offsets.
44144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44145         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44146         our own stack frame instead of the caller's.
44147         (__socket): Use symbolic stack frame offsets.
44149 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44150             Alan Modra  <amodra@gmail.com>
44152         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44153         Define.
44154         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44155         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44156         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44157         New function.
44158         (elf_machine_fixup_plt): Call it.
44159         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44160         reloc arguments.
44161         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44162         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44163         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44164         r2 before calling target.
44166 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44167             Alan Modra  <amodra@gmail.com>
44169         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44170         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44171         versions of macros to support ELFv2 ABI.
44172         (LOCALENTRY): New macro.
44173         (ENTRY, EALIGN): Use it.
44174         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44175         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44176         fall through into ENTRY entry point.
44177         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44178         Only define if _CALL_ELF != 2.
44180         (elf_machine_matches_host): Verify ABI version matches.
44181         (RTLD_START): Use LOCALENTRY.
44182         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44183         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44184         (PLT_ENTRY_WORDS): New macro.
44185         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44186         (elf_machine_runtime_setup): Support ELFv2 ABI.
44187         (elf_machine_fixup_plt): Likewise.
44188         (elf_machine_plt_conflict): Likewise.
44189         (resolve_ifunc): Likewise.
44190         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44191         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44192         Likewise.
44193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44194         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44196         (makecontext): Support ELFv2 ABI.
44197         * elf/elf.h (EF_PPC64_ABI): Define.
44199 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44201         * sysdeps/powerpc/powerpc64/sysdep.h
44202         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44203         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44204         (ENTRY) [ASSEMBLER]: ... but instead here ...
44205         (EALIGN) [ASSEMBLER]: ... and here.
44206         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44207         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44208         (ENTRY_2) [!ASSEMBLER]: Use it.
44209         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44210         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44211         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44212         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44213         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44215         Use PPC64_LOAD_FUNCPTR.
44217         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44219 2013-12-04  Alan Modra  <amodra@gmail.com>
44221         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44222         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44223         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44224         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44226         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44227         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44228         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44229         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44230         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44231         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44233 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44236         (__makecontext): Fix incorrect CFI when backtracing out of
44237         context created via makecontext.
44238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44239         (__setcontext): Fix incorrect CFI during switch to new context.
44240         (__novec_setcontext): Likewise.
44242 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44244         [BZ #4772]
44245         * time/strptime_l.c (__strptime_internal): Allow modifiers
44246         in strptime.
44247         * time/tst-strptime.c (day_tests): Add testcase.
44249 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44251         * scripts/bench.pl: Skip over blank lines.
44253 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44255         [BZ #926]
44256         * manual/time.texi (Calendar Time): Clarify what timezone functions
44257         use.
44259 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44263 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44265         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44266         implementation.
44267         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44268         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44269         * debug/memset_chk.c (__memset_chk): Likewise.
44270         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44271         * debug/strncpy_chk.c: Likewise.
44273 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44275         [BZ #15268]
44276         [BZ #15425]
44277         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44278         (__ieee754_exp): For possibly underflowing results, check size of
44279         result and force underflow exception if required.
44280         * math/auto-libm-test-in: Add more tests of exp.
44281         * math/auto-libm-test-out: Regenerated.
44282         * sysdeps/i386/fpu/libm-test-ulps: Update.
44283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44285         [BZ #16283]
44286         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44287         * math/w_exp2f.c (__exp2f): Likewise.
44288         * math/w_exp2l.c (__exp2l): Likewise.
44289         * math/auto-libm-test-in: Do not allow missing errno on exp2
44290         underflow.
44291         * math/auto-libm-test-out: Regenerated.
44293 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44295         [BZ #16274]
44296         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44297         handle filename validation.
44298         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44299         (do_open): Delete.
44301 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44303         [BZ #6786]
44304         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44305         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44306         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44307         <float.h>.
44308         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44309         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44310         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44311         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44312         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44313         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44314         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44315         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44316         Add more erfc tests.
44317         * math/auto-libm-test-out: Regenerated.
44318         * sysdeps/i386/fpu/libm-test-ulps: Update.
44319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44321         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44322         exp2, expm1, j0 and j1.
44323         * math/auto-libm-test-out: Regenerated.
44324         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44325         (erfc_test_data): Likewise.
44326         (exp_test_data): Likewise.
44327         (exp_tonearest_test_data): Likewise.
44328         (exp_towardzero_test_data): Likewise.
44329         (exp_downward_test_data): Likewise.
44330         (exp_upward_test_data): Likewise.
44331         (exp10_test_data): Likewise.
44332         (exp2_test_data): Likewise.
44333         (expm1_test_data): Likewise.
44334         (j0_test_data): Likewise.
44335         (j1_test_data): Likewise.
44336         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44337         (input_flag_type): Add flag_xfail_rounding.
44338         (input_flags): Add xfail-rounding.
44339         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44340         (output_for_one_input_case): Handle flag_xfail_rounding.
44341         * sysdeps/i386/fpu/libm-test-ulps: Update.
44342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44344 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44346         [BZ #16289]
44347         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44348         division by 0.
44350 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44352         [BZ #16195]
44353         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44354         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44355         (STAP_PROBE0): New macro.
44356         (STAP_PROBE1): Likewise.
44357         (STAP_PROBE2): Likewise.
44358         (STAP_PROBE3): Likewise.
44359         (STAP_PROBE4): Likewise.
44361 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44363         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44365 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44367         * benchtests/Makefile (bench): Add sqrt.
44368         (LDLIBS-bench-sqrt): New.
44369         * benchtests/sqrt-input: New.
44371 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44373         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44374         (GAIH_EAI): Likewise.
44375         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44376         (gaih_inet): Likewise.
44377         (getaddrinfo): Don't use GAIH_EAI.
44379         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44380         (struct gaih): Remove definition.
44382 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44384         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44385         Use HERRNOP directly.
44387 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44391 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44393         * math/gen-auto-libm-tests.c (test_functions): Add more
44394         single-argument functions.
44395         (special_fill_pi_2): New function.
44396         (special_fill_minus_pi_2): Likewise.
44397         (special_fill_pi_6): Likewise.
44398         (special_fill_minus_pi_6): Likewise.
44399         (special_fill_pi_3): Likewise.
44400         (special_fill_2pi_3): Likewise.
44401         (special_fill_e): Likewise.
44402         (special_fill_1_e): Likewise.
44403         (special_fill_e_minus_1): Likewise.
44404         (special_real_inputs): Add more special inputs.
44405         (output_for_one_input_case): Do not require ERANGE on underflow to
44406         zero if round-to-nearest result does not underflow to zero, unless
44407         exact results required.
44408         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44409         atan, atanh, cbrt, cos and cosh.
44410         * math/auto-libm-test-out: Regenerated.
44411         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44412         (acos_tonearest_test_data): Likewise.
44413         (acos_towardzero_test_data): Likewise.
44414         (acos_downward_test_data): Likewise.
44415         (acos_upward_test_data): Likewise.
44416         (acosh_test_data): Likewise.
44417         (asin_test_data): Likewise.
44418         (asin_tonearest_test_data): Likewise.
44419         (asin_towardzero_test_data): Likewise.
44420         (asin_upward_test_data): Likewise.
44421         (asinh_test_data): Likewise.
44422         (atan_test_data): Likewise.
44423         (atanh_test_data): Likewise.
44424         (cbrt_test_data): Likewise.
44425         (cos_test_data): Likewise.
44426         (cos_tonearest_test_data): Likewise.
44427         (cos_towardzero_test_data): Likewise.
44428         (cos_downward_test_data): Likewise.
44429         (cos_upward_test_data): Likewise.
44430         (cosh_test_data): Likewise.
44431         (cosh_tonearest_test_data): Likewise.
44432         (cosh_towardzero_test_data): Likewise.
44433         (cosh_downward_test_data): Likewise.
44434         (cosh_upward_test_data): Likewise.
44435         * sysdeps/i386/fpu/libm-test-ulps: Update.
44436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44438 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44440         [BZ #6787]
44441         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44442         * math/w_exp10f.c (__exp10f): Likewise.
44443         * math/w_exp10l.c (__exp10l): Likewise.
44444         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44445         errno settings in existing tests.
44447         [BZ #14032]
44448         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44449         precision control set to double precision.
44450         * sysdeps/i386/fpu/w_sqrt.c: New file.
44451         * math/auto-libm-test-in: Add more tests.
44452         * math/auto-libm-test-out: Update.
44454         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44455         (sqrt_test_tonearest): New function.
44456         (sqrt_towardzero_test_data): New variable.
44457         (sqrt_test_towardzero): New function.
44458         (sqrt_downward_test_data): New variable.
44459         (sqrt_test_downward): New function.
44460         (sqrt_upward_test_data): New variable.
44461         (sqrt_test_upward): New function.
44462         (main): Call the new functions.
44464         * math/gen-auto-libm-tests.c: New file.
44465         * math/auto-libm-test-in: Likewise.
44466         * math/auto-libm-test-out: New generated file.
44467         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44468         variables.
44469         (%beautify): Add generated representations of zero.
44470         (top level): Set $auto_input and call parse_auto_input.
44471         (beautify): Remove trailing "f" from hex float constants.
44472         (parse_args): Handle XFAIL_TEST.
44473         (convert_condition): New function.
44474         (or_value): Likewise.
44475         (or_cond_value): Likewise.
44476         (generate_testfile): Handle AUTO_TESTS_* lines.
44477         (parse_auto_input): New function.
44478         * math/libm-test.inc (XFAIL_TEST): New macro.
44479         (ERRNO_UNCHANGED): Update value.
44480         (ERRNO_EDOM): Likewise.
44481         (ERRNO_ERANGE): Likewise.
44482         (IGNORE_RESULT): Likewise.
44483         (TEST_COND_flt_32): New macro.
44484         (TEST_COND_dbl_64): Likewise.
44485         (TEST_COND_ldbl_96_intel): Likewise.
44486         (TEST_COND_ldbl_96_m68k): Likewise.
44487         (TEST_COND_ldbl_128): Likewise.
44488         (TEST_COND_ldbl_128ibm): Likewise.
44489         (TEST_COND_long32): Likewise.
44490         (TEST_COND_long64): Likewise.
44491         (TEST_COND_before_rounding): Likewise.
44492         (TEST_COND_after_rounding): Likewise.
44493         (enable_test): Handle XFAIL_TEST flag.
44494         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44495         with finite results.
44496         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44497         auto-libm-test-out.
44499 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44500             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44502         [BZ #16214]
44503         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44504         __tls_get_addr_internal instead of __tls_get_offset in order to
44505         avoid GOT pointer dependency.  Make rtld export
44506         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44507         __tls_get_addr since we are a __tls_get_offset platform.
44508         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44509         GOT pointer being set up before.
44510         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44512 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44514         * manual/math.texi (Errors in Math Functions): Document accuracy
44515         goals.
44517         [BZ #15004]
44518         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44519         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44520         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44521         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44522         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44523         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44524         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44525         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44526         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44527         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44528         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44529         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44530         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44531         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44532         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44533         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44535         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44536         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44537         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44538         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44539         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44540         Likewise.
44541         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44542         Likewise.
44543         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44544         Likewise.
44545         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44546         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44547         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44548         atomic-feupdateenv and flt-rounds.
44549         * sysdeps/powerpc/nofpu/Versions (libc): Add
44550         __atomic_feholdexcept, __atomic_feclearexcept,
44551         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44552         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44553         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44554         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44555         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44556         here.
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44558         Update.
44560         * manual/arith.texi (FP Exceptions): Document that exceptions may
44561         not be raised when matherr is used.
44562         (Math Error Reporting): Document overflow in directed rounding
44563         modes.  Document that errno may not be set when finite values are
44564         returned on overflow.  Document intent to set errno on underflow
44565         only for underflow to zero.
44567         [BZ #16271]
44568         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44569         round-to-nearest then adjust result for other rounding modes.
44570         * include/fenv.h (fegetround): Use libm_hidden_proto.
44571         * math/fegetround.c (fegetround): Use libm_hidden_def.
44572         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44573         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44574         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44575         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44576         Likewise.
44577         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44578         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44579         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44580         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44582 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44584         [BZ #16077]
44585         * nss/Versions (libnss_files): Add
44586         _nss_files_gethostbyname3_r.
44587         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44588         New function.
44589         (HOST_DB_LOOKUP): Remove macro.
44590         (_nss_files_gethostbyname_r): Implement function without the
44591         HOST_DB_LOOKUP macro.
44592         (_nss_files_gethostbyname2_r): Likewise.
44594 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44596         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44598 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44600         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44601         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44602         warning.
44604 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44606         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44607         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44608         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44609         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44610         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44611         __fe_nomask_env_priv and attribute_hidden.
44612         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44613         (libc_feupdateenv_test_ppc): Likewise.
44614         (libc_feresetround_ppc): Likewise.
44615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44616         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44617         compat_symbol macro.
44618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44619         (__fe_nomask_env): Likewise.
44620         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44622 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44624         * string/Makefile: Remove ifunc tests.
44625         * string/test-string.h: Define TEST_IFUNC.
44626         * string/test-bcopy-ifunc.c: Remove.
44627         * string/test-bzero-ifunc.c: Likewise.
44628         * string/test-memccpy-ifunc.c: Likewise.
44629         * string/test-memchr-ifunc.c: Likewise.
44630         * string/test-memcmp-ifunc.c: Likewise.
44631         * string/test-memcpy-ifunc.c: Likewise.
44632         * string/test-memmem-ifunc.c: Likewise.
44633         * string/test-memmove-ifunc.c: Likewise.
44634         * string/test-mempcpy-ifunc.c: Likewise.
44635         * string/test-memrchr-ifunc.c: Likewise.
44636         * string/test-memset-ifunc.c: Likewise.
44637         * string/test-rawmemchr-ifunc.c: Likewise.
44638         * string/test-stpcpy-ifunc.c: Likewise.
44639         * string/test-stpncpy-ifunc.c: Likewise.
44640         * string/test-strcasecmp-ifunc.c: Likewise.
44641         * string/test-strcasestr-ifunc.c: Likewise.
44642         * string/test-strcat-ifunc.c: Likewise.
44643         * string/test-strchr-ifunc.c: Likewise.
44644         * string/test-strchrnul-ifunc.c: Likewise.
44645         * string/test-strcmp-ifunc.c: Likewise.
44646         * string/test-strcpy-ifunc.c: Likewise.
44647         * string/test-strcspn-ifunc.c: Likewise.
44648         * string/test-strlen-ifunc.c: Likewise.
44649         * string/test-strncasecmp-ifunc.c: Likewise.
44650         * string/test-strncat-ifunc.c: Likewise.
44651         * string/test-strncmp-ifunc.c: Likewise.
44652         * string/test-strncpy-ifunc.c: Likewise.
44653         * string/test-strnlen-ifunc.c: Likewise.
44654         * string/test-strpbrk-ifunc.c: Likewise.
44655         * string/test-strrchr-ifunc.c: Likewise.
44656         * string/test-strspn-ifunc.c: Likewise.
44657         * string/test-strstr-ifunc.c: Likewise.
44659 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44661         * benchtests/Makefile: Remove ifunc tests.
44662         * benchtests/bench-string.h: Define TEST_IFUNC.
44663         * benchtests/bench-bcopy-ifunc.c: Remove.
44664         * benchtests/bench-bzero-ifunc.c: Likewise.
44665         * benchtests/bench-memccpy-ifunc.c: Likewise.
44666         * benchtests/bench-memchr-ifunc.c: Likewise.
44667         * benchtests/bench-memcmp-ifunc.c: Likewise.
44668         * benchtests/bench-memcpy-ifunc.c: Likewise.
44669         * benchtests/bench-memmem-ifunc.c: Likewise.
44670         * benchtests/bench-memmove-ifunc.c: Likewise.
44671         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44672         * benchtests/bench-memrchr-ifunc.c: Likewise.
44673         * benchtests/bench-memset-ifunc.c: Likewise.
44674         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44675         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44676         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44677         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44678         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44679         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44680         * benchtests/bench-strcat-ifunc.c: Likewise.
44681         * benchtests/bench-strchr-ifunc.c: Likewise.
44682         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44683         * benchtests/bench-strcmp-ifunc.c: Likewise.
44684         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44685         * benchtests/bench-strcpy-ifunc.c: Likewise.
44686         * benchtests/bench-strcspn-ifunc.c: Likewise.
44687         * benchtests/bench-strlen-ifunc.c: Likewise.
44688         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44689         * benchtests/bench-strncat-ifunc.c: Likewise.
44690         * benchtests/bench-strncmp-ifunc.c: Likewise.
44691         * benchtests/bench-strncpy-ifunc.c: Likewise.
44692         * benchtests/bench-strnlen-ifunc.c: Likewise.
44693         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44694         * benchtests/bench-strrchr-ifunc.c: Likewise.
44695         * benchtests/bench-strsep-ifunc.c: Likewise.
44696         * benchtests/bench-strspn-ifunc.c: Likewise.
44697         * benchtests/bench-strstr-ifunc.c: Likewise.
44699 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44701         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44703 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44705         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44706         * rt/aio.h: Likewise.
44707         * sysdeps/gnu/bits/utmp.h: Likewise.
44708         * sysdeps/gnu/bits/utmpx.h: Likewise.
44709         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44710         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44711         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44712         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44713         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44714         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44715         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44716         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44717         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44718         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44719         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44720         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44721         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44723         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44724         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44725         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44726         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44727         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44728         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44729         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44730         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44731         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44732         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44733         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44734         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44735         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44736         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44737         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44738         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44739         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44740         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44741         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44742         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44743         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44744         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44745         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44746         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44747         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44748         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44749         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44750         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44752 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44754         [BZ #16245]
44755         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44756         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44758 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44760         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44761         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44762         Likewise.
44764 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44767         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44768         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44769         (__fesetround): Remove define.
44770         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44771         rounding and exceptions handling.
44772         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44773         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44774         (__fe_nomask_env): Likewise.
44775         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44776         __fegetround instead of fegetround.
44777         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44778         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44780 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44782         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44783         it's there.
44785         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44787 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44789         [BZ #11157]
44790         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44791         (encrypt_r): Likewise.
44792         * malloc/obstack.h (obstack_free): Likewise.
44793         * posix/unistd.h (encrypt): Likewise.
44795 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44797         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44798         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44799         DL_CALL_DT_FINI() that call the functions directly.
44800         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44801         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44802         * elf/dl-fini.c: Likewise.
44804 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44806         * malloc/hooks.c (memalign_check): Add alignment rounding.
44807         * malloc/malloc.c (_mid_memalign): New function.
44808         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44809         Implement by calling _mid_memalign.
44810         * manual/probes.texi (Memory Allocation Probes): Remove
44811         memory_valloc_retry and memory_pvalloc_retry.
44813 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44815         * locale/programs/locarchive.c (open_archive): Add const
44816         qualifier to ARCHIVEFNAME and copy default fname to
44817         DEFAULT_FNAME.
44819         [BZ #15601]
44820         * libio/tst-widetext.input: Rename Oriya to Odia.
44821         * locale/iso-639.def: Likewise.
44823         * manual/probes.texi (Mathematical Function Probes): Add
44824         documentation for sin, cos, asin and acos probes.
44825         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44826         (__sin32): Add slowasin probe.
44827         (__cos32): Add slowacos probe.
44828         (__mpsin): Add slowsin probe.
44829         (__mpcos): Add slowcos probe.
44831 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44833         [BZ #15483]
44834         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44835         thread-local __sim_exceptions_thread and global
44836         __sim_exceptions_global.
44837         (__sim_disabled_exceptions): Change to thread-local
44838         __sim_disabled_exceptions_thread and global
44839         __sim_disabled_exceptions_global.
44840         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44841         and global __sim_round_mode_global.
44842         (__simulate_exceptions): Use thread-local floating-point state and
44843         set global state from it as needed.
44844         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44845         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44846         __sim_round_mode_thread.
44847         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44848         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44849         and global __sim_exceptions_global.
44850         (__sim_disabled_exceptions): Change to thread-local
44851         __sim_disabled_exceptions_thread and global
44852         __sim_disabled_exceptions_global.
44853         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44854         and global __sim_round_mode_global.
44855         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44856         (SIM_SET_GLOBAL): Likewise.
44857         * sysdeps/powerpc/soft-fp/sfp-machine.h
44858         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44859         __sim_round_mode_thread.
44860         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44861         __sim_disabled_exceptions_thread.
44862         (__sim_exceptions): Change to __sim_exceptions_thread.
44863         (__sim_disabled_exceptions): Change to
44864         __sim_disabled_exceptions_thread.
44865         (__sim_round_mode): Change to __sim_round_mode_thread.
44866         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44867         thread-local floating-point state and set global state from it as
44868         needed.
44869         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44870         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44871         (__sim_disabled_exceptions): Remove extern declaration.
44872         (feenableexcept): Use thread-local floating-point state and set
44873         global state from it as needed.
44874         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44875         extern declaration.
44876         (__sim_disabled_exceptions): Likewise.
44877         (__sim_round_mode): Likewise.
44878         (__fegetenv): Use thread-local floating-point state.
44879         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44880         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44881         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44882         floating-point state and set global state from it as needed.
44883         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44884         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44885         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44886         Likewise.
44887         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44888         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44889         Likewise.
44890         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44891         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44892         Use __sim_round_mode_thread.
44893         * math/test-fenv-tls.c: New file.
44894         * math/Makefile (tests): Add test-fenv-tls.
44895         ($(objpfx)test-fenv-tls): Depend on
44896         $(common-objpfx)nptl/libpthread.so.
44898 2013-11-19  Andreas Schwab  <schwab@suse.de>
44900         * locale/programs/locale.c (show_info): Decode wordarray elements.
44901         * locale/categories.def (LC_MONETARY): Add element for
44902         _NL_MONETARY_CRNCYSTR.
44903         * locale/C-monetary.c (conversion_rate): New variable.
44904         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44905         element.
44907 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44909         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44910         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44912 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44914         * elf/Makefile (tst-auxv): New test.
44915         * elf/tst-auxv.c: New
44916         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44918 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44920         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44921         (hidden_proto): Caller changed.
44922         (hidden_tls_proto): New macro.
44923         (libc_hidden_tls_proto): Likewise.
44924         (rtld_hidden_tls_proto): Likewise.
44925         (libm_hidden_tls_proto): Likewise.
44926         (libresolv_hidden_tls_proto): Likewise.
44927         (librt_hidden_tls_proto): Likewise.
44928         (libdl_hidden_tls_proto): Likewise.
44929         (libnss_files_hidden_tls_proto): Likewise.
44930         (libnsl_hidden_tls_proto): Likewise.
44931         (libnss_nisplus_hidden_tls_proto): Likewise.
44932         (libutil_hidden_tls_proto): Likewise.
44934 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44936         [BZ #10253]
44937         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44938         (decompose_rpath): Defer expansion to fillin_rpath.
44939         (_dl_init_paths): Pass linkmap to fillin_rpath.
44941 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44943         * benchtests/Makefile: Add strsep.
44944         * benchtests/bench-strsep.c: New file: strsep benchtest.
44945         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44947 2013-11-18  Andreas Schwab  <schwab@suse.de>
44949         * locale/programs/locale.c (show_info) [case byte]: Check for
44950         '\377' instead of '\177'.
44951         * locale/C-monetary.c (not_available): Always use "\377".
44952         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44953         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44954         detect unavailable sign_posn locale elements.
44955         * locale/localeconv.c (__localeconv): For grouping and
44956         mon_grouping handle "\177" and "\377" like no grouping.
44957         (INT_ELEM): New macro.  Use it to set all numeric members.
44958         * locale/programs/ld-monetary.c (monetary_read)
44959         <tok_mon_grouping>: Normalize single -1 to the empty string.
44960         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44961         Likewise.
44963 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44965         [BZ #16055]
44966         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44967         when we match (nil).
44968         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44970 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44972         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44973         (NO_TEST_INLINE): Update value.
44974         (ERRNO_UNCHANGED): Likewise.
44975         (ERRNO_EDOM): Likewise.
44976         (ERRNO_ERANGE): Likewise.
44977         (IGNORE_RESULT): Likewise.
44978         (check_float_internal): Check signs of NaN results if
44979         TEST_NAN_SIGN used.
44980         (check_complex): Pass TEST_NAN_SIGN flag through to second
44981         check_float_internal call.
44982         (copysign_test_data): Add tests with quiet NaNs as second
44983         argument.  Use TEST_NAN_SIGN.
44984         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44985         TEST_NAN_SIGN.
44986         (signbit_test_data): Add tests of quiet NaN argument.
44987         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44989         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44990         $ignore_result.
44991         (parse_args): Handle function results specified as IGNORE.
44992         * math/libm-test.inc (IGNORE_RESULT): New macro.
44993         (check_float_internal): Do not check numerical result if flag
44994         IGNORE_RESULT set.
44995         (check_complex): Pass through IGNORE_RESULT to second
44996         check_float_internal call.
44997         (check_int): Do not check numerical result if flag IGNORE_RESULT
44998         set.
44999         (check_long): Likewise.
45000         (check_bool): Likewise.
45001         (check_longlong): Likewise.
45002         (lrint_test_data): Add tests of infinite and NaN arguments.
45003         (lrint_tonearest_test_data): Likewise.
45004         (lrint_towardzero_test_data): Likewise.
45005         (lrint_downward_test_data): Likewise.
45006         (lrint_upward_test_data): Likewise.
45007         (llrint_test_data): Likewise.
45008         (llrint_tonearest_test_data): Likewise.
45009         (llrint_towardzero_test_data): Likewise.
45010         (llrint_downward_test_data): Likewise.
45011         (llrint_upward_test_data): Likewise.
45012         (lround_test_data): Likewise.
45013         (llround_test_data): Likewise.
45015         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45016         (ERRNO_UNCHANGED): Update value.
45017         (ERRNO_EDOM): Likewise.
45018         (ERRNO_ERANGE): Likewise.
45019         (NO_TEST_INLINE_FLOAT): New macro.
45020         (NO_TEST_INLINE_DOUBLE): Likewise.
45021         (enable_test): New function.
45022         (RUN_TEST_f_f): Check enable_test before running test.
45023         (RUN_TEST_2_f): Likewise.
45024         (RUN_TEST_fff_f): Likewise.
45025         (RUN_TEST_c_f): Likewise.
45026         (RUN_TEST_f_f1): Likewise.
45027         (RUN_TEST_fF_f1): Likewise.
45028         (RUN_TEST_fI_f1): Likewise.
45029         (RUN_TEST_ffI_f1): Likewise.
45030         (RUN_TEST_c_c): Likewise.
45031         (RUN_TEST_cc_c): Likewise.
45032         (RUN_TEST_f_i): Likewise.
45033         (RUN_TEST_f_i_tg): Likewise.
45034         (RUN_TEST_ff_i_tg): Likewise.
45035         (RUN_TEST_f_b): Likewise.
45036         (RUN_TEST_f_b_tg): Likewise.
45037         (RUN_TEST_f_l): Likewise.
45038         (RUN_TEST_f_L): Likewise.
45039         (RUN_TEST_fFF_11): Likewise.
45040         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45041         conditionals.
45042         (cosh_test_data): Likewise.
45043         (exp_test_data): Likewise.
45044         (expm1_test_data): Likewise.
45045         (hypot_test_data): Likewise.
45046         (pow_test_data): Likewise.
45047         (sinh_test_data): Likewise.
45048         (tanh_test_data): Likewise.
45049         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45050         flags argument.
45052         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45053         tests with quiet NaN input and output.
45054         (acosh_test_data): Likewise.
45055         (asin_test_data): Likewise.
45056         (asinh_test_data): Likewise.
45057         (atan_test_data): Likewise.
45058         (atanh_test_data): Likewise.
45059         (atan2_test_data): Likewise.
45060         (cbrt_test_data): Likewise.
45061         (cos_test_data): Likewise.
45062         (cosh_test_data): Likewise.
45063         (erf_test_data): Likewise.
45064         (erfc_test_data): Likewise.
45065         (exp_test_data): Likewise.
45066         (exp10_test_data): Likewise.
45067         (exp2_test_data): Likewise.
45068         (expm1_test_data): Likewise.
45069         (hypot_test_data): Likewise.
45070         (j0_test_data): Likewise.
45071         (j1_test_data): Likewise.
45072         (jn_test_data): Likewise.
45073         (lgamma_test_data): Likewise.
45074         (log_test_data): Likewise.
45075         (log10_test_data): Likewise.
45076         (log1p_test_data): Likewise.
45077         (log2_test_data): Likewise.
45078         (pow_test_data): Likewise.
45079         (scalb_test_data): Likewise.
45080         (sin_test_data): Likewise.
45081         (sincos_test_data): Likewise.
45082         (sinh_test_data): Likewise.
45083         (tan_test_data): Likewise.
45084         (tanh_test_data): Likewise.
45085         (tgamma_test_data): Likewise.
45086         (y0_test_data): Likewise.
45087         (y1_test_data): Likewise.
45088         (yn_test_data): Likewise.
45090         [BZ #16167]
45091         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45092         argument being NaN and avoid computations with second argument in
45093         that case.
45094         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45095         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45096         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45098 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45100         * locale/iso-639.def: Add Chitwani Tharu (the).
45102 2013-11-14  Andreas Schwab  <schwab@suse.de>
45104         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45105         word instead of empty string.
45107 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45110         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45112         (__fe_nomask_env): Likewise.
45114 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45116         * benchtests/bench-timing.h: Include time.h.
45118 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45120         [BZ #15997]
45121         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45122         to 3.4.0 for x32.
45123         * sysdeps/unix/sysv/linux/configure: Regenerated.
45125 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45127         [BZ #16151]
45128         * stdlib/strtod_l.c (round_and_return): Do not consider
45129         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45130         exponent one less than half the least subnormal exponent.
45131         * stdlib/test-strtod-round-data: Add more tests.
45132         * stdlib/tst-strtod-round.c (tests): Regenerated.
45134 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45136         [BZ #14143]
45137         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45138         (__fe_mask_env): Likewise.
45139         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45140         libm_hidden_proto and add function prototype.
45141         (__fe_mask_env): Add function prototype.
45142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45143         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45145         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45147         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45149 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45151         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45152         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45154 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45156         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45157         of htab_find_slot().
45159 2013-11-11  David S. Miller  <davem@davemloft.net>
45161         [BZ #16150]
45162         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45163         symbol in the non-vis3 case in static builds.
45164         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45165         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45166         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45167         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45169 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45171         [BZ #387]
45172         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45173         it is empty.
45175 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45177         * benchtests/Makefile: Add bench-strtod.
45178         * benchtests/bench-strtod.c: New file: strtod benchtest
45180 2013-11-11  Andreas Schwab  <schwab@suse.de>
45182         [BZ #16153]
45183         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45184         terminating NUL in key length.
45186 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45188         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45189         Add artificial ODP entry for vDSO symbol for PPC64.
45190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45191         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45193 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45195         [BZ #15374]
45196         * nss/getent.c (services_keys): Recognize services starting with digit.
45198 2013-11-06  David S. Miller  <davem@davemloft.net>
45200         [BZ #15985]
45201         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45202         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45204 2013-11-06  Will Newton  <will.newton@linaro.org>
45206         * manual/memory.texi (Malloc Examples): Remove register
45207         keyword from examples.
45209 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45211         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45213 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45215         [BZ #6981]
45216         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45217         depending on [__GCC_IEC_559 > 0].
45218         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45219         depending on [__GCC_IEC_559_COMPLEX > 0].
45221 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45223         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45224         to iso-639.def.
45226 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45228         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45230 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45232         [BZ #16112]
45233         * malloc/malloc (malloc_info): Do not handle first bin as
45234         special case.
45236 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45238         * locale/iso-639.def: Add Central Nahuatl (nhn).
45240 2013-11-01  Bruno Haible  <bruno@clisp.org>
45242         [BZ #7003]
45243         * manual/math.texi (BSD Random): Specify range upper bound as
45244         in POSIX.
45246 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45248         * locale/iso-639.def: Add Meadow Mari (mhr).
45250 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45252         [BZ #14752], [BZ #15763]
45253         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45254         Validate name.
45255         * rt/tst_shm.c: Add test for escaping directory.
45257 2013-10-31  Andreas Schwab  <schwab@suse.de>
45259         [BZ #15917]
45260         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45261         followed by 'x' as part of digit sequence.
45262         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45264 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45266         [BZ #16037]
45267         * configure.ac: allow GNU Make 4.0 and greater.
45268         * configure: Regenerated.
45270 2013-10-30  Will Newton  <will.newton@linaro.org>
45272         [BZ #16038]
45273         * malloc/hooks.c (memalign_check): Limit alignment to the
45274         maximum representable power of two.
45275         * malloc/malloc.c (__libc_memalign): Likewise.
45276         * malloc/tst-memalign.c (do_test): Add test for very
45277         large alignment values.
45278         * malloc/tst-posix_memalign.c (do_test): Likewise.
45280 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45282         [BZ #11087]
45283         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45284         (munmap_chunk): Likewise.
45285         (mremap_chunk): Likewise.
45287 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45289         [BZ #15799]
45290         * stdlib/div.c (div): Remove obsolete code.
45291         * stdlib/ldiv.c (ldiv): Likewise.
45292         * stdlib/lldiv.c (lldiv): Likewise.
45294 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45296         [BZ #16071]
45297         * nss/nss_files/files-XXX.c (get_contents_ret): New
45298         enumerator.
45299         (get_contents): New function.
45300         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45302 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45304         * configure.in: Moved to ...
45305         * configure.ac: ... here. Change reference to configure.in
45306         to configure.ac.
45307         * sysdeps/arm/preconfigure.ac: ... here.
45308         configure.in to configure.ac.
45309         * sysdeps/gnu/configure.in: Moved to ...
45310         * sysdeps/gnu/configure.ac: ... here.
45311         * sysdeps/i386/configure.in: Moved to ...
45312         * sysdeps/i386/configure.ac: ... here.
45313         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45314         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45315         * sysdeps/mach/configure.in: Moved to ...
45316         * sysdeps/mach/configure.ac: ... here.
45317         * sysdeps/mach/hurd/configure.in: Moved to ...
45318         * sysdeps/mach/hurd/configure.ac: ... here.
45319         * sysdeps/powerpc/configure.in: Moved to ...
45320         * sysdeps/powerpc/configure.ac: ... here.
45321         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45322         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45323         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45324         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45325         * sysdeps/s390/s390-32/configure.in: Moved to ...
45326         * sysdeps/s390/s390-32/configure.ac: ... here.
45327         * sysdeps/s390/s390-64/configure.in: Moved to ...
45328         * sysdeps/s390/s390-64/configure.ac: ... here.
45329         * sysdeps/sh/configure.in: Moved to ...
45330         * sysdeps/sh/configure.ac: ... here.
45331         * sysdeps/sparc/configure.in: Moved to ...
45332         * sysdeps/sparc/configure.ac: ... here.
45333         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45334         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45335         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45336         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45337         * sysdeps/x86_64/configure.in: Moved to ...
45338         * sysdeps/x86_64/configure.ac: ... here.
45339         * sysdeps/x86_64/preconfigure.in: Moved to ...
45340         * sysdeps/x86_64/preconfigure.ac: ... here.
45341         * aclocal.m4: Change reference to configure.in to configure.ac.
45342         * config.h.in: Likewise.
45343         * manual/install.texi: Likewise.
45344         * manual/maint.texi: Likewise.
45345         * Makefile: Likewise.
45346         * malloc/Makefile: Likewise.
45347         * nscd/Makefile: Likewise.
45348         * Makeconfig: Change reference to configure.in and
45349         preconfigure.in to configure.ac and preconfigure.ac
45350         respectively.
45351         * INSTALL: Regenerated.
45352         * configure: Likewise.
45353         * sysdeps/gnu/configure: Likewise.
45354         * sysdeps/i386/configure: Likewise.
45355         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45356         * sysdeps/mach/configure: Likewise.
45357         * sysdeps/mach/hurd/configure: Likewise.
45358         * sysdeps/powerpc/configure: Likewise.
45359         * sysdeps/powerpc/powerpc32/configure: Likewise.
45360         * sysdeps/powerpc/powerpc64/configure: Likewise.
45361         * sysdeps/s390/s390-32/configure: Likewise.
45362         * sysdeps/s390/s390-64/configure: Likewise.
45363         * sysdeps/sh/configure: Likewise.
45364         * sysdeps/sparc/configure: Likewise.
45365         * sysdeps/unix/sysv/linux/configure: Likewise.
45366         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45367         * sysdeps/x86_64/configure: Likewise.
45368         * sysdeps/x86_64/preconfigure: Likewise.
45370 2013-10-29  Andreas Schwab  <schwab@suse.de>
45372         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45374 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45376         * benchtests/pow-inputs: Add new inputs.
45378         * benchtests/exp-inputs: Add new inputs.
45380         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45381         conditional check for return value.
45382         (__cos32): Likewise.
45384 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45386         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45387         to provide a boost for large inputs with word alignment.
45388         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45389         implementation based on optimized PPC64 strcpy.
45390         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45391         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45392         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45393         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45395 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45397         [BZ #2801]
45398         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45400 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45402         [BZ #14876]
45403         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45404         * time/tst-strptime.c (day_tests): Add testcase.
45406 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45408         [BZ #14029]
45409         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45411 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45413         [BZ #16074]
45414         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45415         MAP_FAILED on error.
45417 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45419         [BZ #16072]
45420         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45421         heap for large requests.
45423 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45425         [BZ #9954]
45426         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45427         result if the result has no associated interface.
45428         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45429         interface for all 127.X.Y.Z addresses.
45431 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45433         * locale/iso-639.def: Add Ligurian (lij)
45435 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45437         [BZ #15825]
45438         * sunrpc/rpc_main.c: Document rpcgen -5.
45440 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45442         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45444 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45446         [BZ #10278]
45447         * posix/glob.c: Match only directories when trailing slash is present.
45448         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45449         (main): Add testcase.
45451 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45453         [BZ #15670]
45454         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45456 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45458         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45459         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45460         AUTH_DES and cindex for FIPS 140-2.
45461         (DES Encryption): Add cindex FIPS 46-3.
45463         * locale/locarchive.h (struct locarhandle): Add fname.
45464         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45465         if an optional argument was specified to --list-archive,
45466         otherwise NULL.
45467         * locale/programs/locarchive.c (show_archive_content): Take new
45468         argument fname and pass it via ah.fname to open_archive.
45469         * locale/programs/localedef.h: Update decl.
45470         (open_archive): If AH->fname is non-null, open that file
45471         rather than the default file name, and don't ignore ENOENT.
45472         (create_archive): Set AH.fname to NULL.
45473         (delete_locales_from_archive): Likewise.
45474         (add_locales_to_archive): Likewise.
45475         * locale/programs/locfile.c (write_all_categories): Likewise.
45477 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45478             Aldy Hernandez  <aldyh@redhat.com>
45480         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45481         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45482         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45483         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45484         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45485         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45486         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45487         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45488         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45489         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45490         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45491         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45492         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45493         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45494         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45495         Likewise.
45496         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45497         Likewise.
45498         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45499         Likewise.
45500         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45501         Likewise.
45502         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45503         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45504         Likewise.
45505         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45506         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45507         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45508         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45509         Likewise.
45510         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45511         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45512         * sysdeps/powerpc/preconfigure: Likewise.
45513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45514         Likewise.
45515         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45516         Replace contents of file by #include of <fenv_libc.h>.
45517         * sysdeps/powerpc/soft-fp/sfp-machine.h
45518         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45519         and <sys/prctl.h>.
45520         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45525         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45527         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45528         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45529         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45530         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45531         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45533         Allow copysignl PLT reference to be missing.
45535 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45536             Joseph Myers  <joseph@codesourcery.com
45538         [BZ #15948]
45539         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45540         single character.
45541         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45543 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45545         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45546         * elf/tst-tls1.c: Likewise.
45547         * elf/tst-tls10.h: Likewise.
45548         * elf/tst-tls14.c: Likewise.
45549         * elf/tst-tls2.c: Likewise.
45550         * elf/tst-tls3.c: Likewise.
45551         * elf/tst-tls4.c: Likewise.
45552         * elf/tst-tls5.c: Likewise.
45553         * elf/tst-tls6.c: Likewise.
45554         * elf/tst-tls7.c: Likewise.
45555         * elf/tst-tls8.c: Likewise.
45556         * elf/tst-tls9.c: Likewise.
45557         * elf/tst-tlsmod1.c: Likewise.
45558         * elf/tst-tlsmod13.c: Likewise.
45559         * elf/tst-tlsmod13a.c: Likewise.
45560         * elf/tst-tlsmod14a.c: Likewise.
45561         * elf/tst-tlsmod16a.c: Likewise.
45562         * elf/tst-tlsmod16b.c: Likewise.
45563         * elf/tst-tlsmod2.c: Likewise.
45564         * elf/tst-tlsmod3.c: Likewise.
45565         * elf/tst-tlsmod4.c: Likewise.
45566         * elf/tst-tlsmod5.c: Likewise.
45567         * elf/tst-tlsmod6.c: Likewise.
45569 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45571         [BZ #12486]
45572         * malloc/malloc.c: remove checks for statistics.
45574 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45576         [BZ #15277]
45577         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45578         * inet/tst-network.c: Add testcase.
45580 2013-10-17  Andreas Schwab  <schwab@suse.de>
45582         [BZ #15218]
45583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45584         to determine canonical name.
45586 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45588         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45589         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45590         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45591         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45593         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45594         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45595         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45596         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45597         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45598         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45599         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45600         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45601         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45602         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45603         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45604         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45605         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45606         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45607         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45608         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45610         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45611         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45612         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45613         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45614         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45615         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45616         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45617         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45618         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45619         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45620         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45623         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45625         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45626         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45627         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45629         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45630         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45631         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45632         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45633         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45634         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45635         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45636         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45637         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45638         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45639         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45640         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45641         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45642         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45643         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45645         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45647 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45649         [BZ #16041]
45650         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45651         make result into a quiet NaN.
45653 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45655         * soft-fp/adddf3.c: Fix horizontal whitespace.
45656         * soft-fp/addsf3.c: Likewise.
45657         * soft-fp/addtf3.c: Likewise.
45658         * soft-fp/divdf3.c: Likewise.
45659         * soft-fp/divsf3.c: Likewise.
45660         * soft-fp/divtf3.c: Likewise.
45661         * soft-fp/double.h: Likewise.
45662         * soft-fp/eqdf2.c: Likewise.
45663         * soft-fp/eqsf2.c: Likewise.
45664         * soft-fp/eqtf2.c: Likewise.
45665         * soft-fp/extenddftf2.c: Likewise.
45666         * soft-fp/extended.h: Likewise.
45667         * soft-fp/extendsfdf2.c: Likewise.
45668         * soft-fp/extendsftf2.c: Likewise.
45669         * soft-fp/extendxftf2.c: Likewise.
45670         * soft-fp/fixdfdi.c: Likewise.
45671         * soft-fp/fixdfsi.c: Likewise.
45672         * soft-fp/fixdfti.c: Likewise.
45673         * soft-fp/fixsfdi.c: Likewise.
45674         * soft-fp/fixsfsi.c: Likewise.
45675         * soft-fp/fixsfti.c: Likewise.
45676         * soft-fp/fixtfdi.c: Likewise.
45677         * soft-fp/fixtfsi.c: Likewise.
45678         * soft-fp/fixtfti.c: Likewise.
45679         * soft-fp/fixunsdfdi.c: Likewise.
45680         * soft-fp/fixunsdfsi.c: Likewise.
45681         * soft-fp/fixunsdfti.c: Likewise.
45682         * soft-fp/fixunssfdi.c: Likewise.
45683         * soft-fp/fixunssfsi.c: Likewise.
45684         * soft-fp/fixunssfti.c: Likewise.
45685         * soft-fp/fixunstfdi.c: Likewise.
45686         * soft-fp/fixunstfsi.c: Likewise.
45687         * soft-fp/fixunstfti.c: Likewise.
45688         * soft-fp/floatdidf.c: Likewise.
45689         * soft-fp/floatdisf.c: Likewise.
45690         * soft-fp/floatditf.c: Likewise.
45691         * soft-fp/floatsidf.c: Likewise.
45692         * soft-fp/floatsisf.c: Likewise.
45693         * soft-fp/floatsitf.c: Likewise.
45694         * soft-fp/floattidf.c: Likewise.
45695         * soft-fp/floattisf.c: Likewise.
45696         * soft-fp/floattitf.c: Likewise.
45697         * soft-fp/floatundidf.c: Likewise.
45698         * soft-fp/floatundisf.c: Likewise.
45699         * soft-fp/floatunditf.c: Likewise.
45700         * soft-fp/floatunsidf.c: Likewise.
45701         * soft-fp/floatunsisf.c: Likewise.
45702         * soft-fp/floatunsitf.c: Likewise.
45703         * soft-fp/floatuntidf.c: Likewise.
45704         * soft-fp/floatuntisf.c: Likewise.
45705         * soft-fp/floatuntitf.c: Likewise.
45706         * soft-fp/fmadf4.c: Likewise.
45707         * soft-fp/fmasf4.c: Likewise.
45708         * soft-fp/fmatf4.c: Likewise.
45709         * soft-fp/gedf2.c: Likewise.
45710         * soft-fp/gesf2.c: Likewise.
45711         * soft-fp/getf2.c: Likewise.
45712         * soft-fp/ledf2.c: Likewise.
45713         * soft-fp/lesf2.c: Likewise.
45714         * soft-fp/letf2.c: Likewise.
45715         * soft-fp/muldf3.c: Likewise.
45716         * soft-fp/mulsf3.c: Likewise.
45717         * soft-fp/multf3.c: Likewise.
45718         * soft-fp/negdf2.c: Likewise.
45719         * soft-fp/negsf2.c: Likewise.
45720         * soft-fp/negtf2.c: Likewise.
45721         * soft-fp/op-1.h: Likewise.
45722         * soft-fp/op-2.h: Likewise.
45723         * soft-fp/op-4.h: Likewise.
45724         * soft-fp/op-8.h: Likewise.
45725         * soft-fp/op-common.h: Likewise.
45726         * soft-fp/quad.h: Likewise.
45727         * soft-fp/single.h: Likewise.
45728         * soft-fp/soft-fp.h: Likewise.
45729         * soft-fp/sqrtdf2.c: Likewise.
45730         * soft-fp/sqrtsf2.c: Likewise.
45731         * soft-fp/sqrttf2.c: Likewise.
45732         * soft-fp/subdf3.c: Likewise.
45733         * soft-fp/subsf3.c: Likewise.
45734         * soft-fp/subtf3.c: Likewise.
45735         * soft-fp/truncdfsf2.c: Likewise.
45736         * soft-fp/trunctfdf2.c: Likewise.
45737         * soft-fp/trunctfsf2.c: Likewise.
45738         * soft-fp/trunctfxf2.c: Likewise.
45739         * soft-fp/unorddf2.c: Likewise.
45740         * soft-fp/unordsf2.c: Likewise.
45741         * soft-fp/unordtf2.c: Likewise.
45743 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45745         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45746         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45748 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45750         * elf/dl-libc.c: Clear initfini list after freeing.
45752 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45754         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45755         * soft-fp/addsf3.c: Likewise.
45756         * soft-fp/addtf3.c: Likewise.
45757         * soft-fp/divdf3.c: Likewise.
45758         * soft-fp/divsf3.c: Likewise.
45759         * soft-fp/divtf3.c: Likewise.
45760         * soft-fp/double.h: Likewise.
45761         * soft-fp/eqdf2.c: Likewise.
45762         * soft-fp/eqsf2.c: Likewise.
45763         * soft-fp/eqtf2.c: Likewise.
45764         * soft-fp/extenddftf2.c: Likewise.
45765         * soft-fp/extended.h: Likewise.
45766         * soft-fp/extendsfdf2.c: Likewise.
45767         * soft-fp/extendsftf2.c: Likewise.
45768         * soft-fp/extendxftf2.c: Likewise.
45769         * soft-fp/fixdfdi.c: Likewise.
45770         * soft-fp/fixdfsi.c: Likewise.
45771         * soft-fp/fixdfti.c: Likewise.
45772         * soft-fp/fixsfdi.c: Likewise.
45773         * soft-fp/fixsfsi.c: Likewise.
45774         * soft-fp/fixsfti.c: Likewise.
45775         * soft-fp/fixtfdi.c: Likewise.
45776         * soft-fp/fixtfsi.c: Likewise.
45777         * soft-fp/fixtfti.c: Likewise.
45778         * soft-fp/fixunsdfdi.c: Likewise.
45779         * soft-fp/fixunsdfsi.c: Likewise.
45780         * soft-fp/fixunsdfti.c: Likewise.
45781         * soft-fp/fixunssfdi.c: Likewise.
45782         * soft-fp/fixunssfsi.c: Likewise.
45783         * soft-fp/fixunssfti.c: Likewise.
45784         * soft-fp/fixunstfdi.c: Likewise.
45785         * soft-fp/fixunstfsi.c: Likewise.
45786         * soft-fp/fixunstfti.c: Likewise.
45787         * soft-fp/floatdidf.c: Likewise.
45788         * soft-fp/floatdisf.c: Likewise.
45789         * soft-fp/floatditf.c: Likewise.
45790         * soft-fp/floatsidf.c: Likewise.
45791         * soft-fp/floatsisf.c: Likewise.
45792         * soft-fp/floatsitf.c: Likewise.
45793         * soft-fp/floattidf.c: Likewise.
45794         * soft-fp/floattisf.c: Likewise.
45795         * soft-fp/floattitf.c: Likewise.
45796         * soft-fp/floatundidf.c: Likewise.
45797         * soft-fp/floatundisf.c: Likewise.
45798         * soft-fp/floatunsidf.c: Likewise.
45799         * soft-fp/floatunsisf.c: Likewise.
45800         * soft-fp/floatuntidf.c: Likewise.
45801         * soft-fp/floatuntisf.c: Likewise.
45802         * soft-fp/floatuntitf.c: Likewise.
45803         * soft-fp/fmadf4.c: Likewise.
45804         * soft-fp/fmasf4.c: Likewise.
45805         * soft-fp/fmatf4.c: Likewise.
45806         * soft-fp/gedf2.c: Likewise.
45807         * soft-fp/gesf2.c: Likewise.
45808         * soft-fp/getf2.c: Likewise.
45809         * soft-fp/ledf2.c: Likewise.
45810         * soft-fp/lesf2.c: Likewise.
45811         * soft-fp/letf2.c: Likewise.
45812         * soft-fp/muldf3.c: Likewise.
45813         * soft-fp/mulsf3.c: Likewise.
45814         * soft-fp/multf3.c: Likewise.
45815         * soft-fp/negdf2.c: Likewise.
45816         * soft-fp/negsf2.c: Likewise.
45817         * soft-fp/negtf2.c: Likewise.
45818         * soft-fp/op-1.h: Likewise.
45819         * soft-fp/op-2.h: Likewise.
45820         * soft-fp/op-4.h: Likewise.
45821         * soft-fp/op-8.h: Likewise.
45822         * soft-fp/op-common.h: Likewise.
45823         * soft-fp/quad.h: Likewise.
45824         * soft-fp/single.h: Likewise.
45825         * soft-fp/soft-fp.h: Likewise.
45826         * soft-fp/sqrtdf2.c: Likewise.
45827         * soft-fp/sqrtsf2.c: Likewise.
45828         * soft-fp/sqrttf2.c: Likewise.
45829         * soft-fp/subdf3.c: Likewise.
45830         * soft-fp/subsf3.c: Likewise.
45831         * soft-fp/subtf3.c: Likewise.
45832         * soft-fp/truncdfsf2.c: Likewise.
45833         * soft-fp/trunctfdf2.c: Likewise.
45834         * soft-fp/trunctfsf2.c: Likewise.
45835         * soft-fp/trunctfxf2.c: Likewise.
45836         * soft-fp/unorddf2.c: Likewise.
45837         * soft-fp/unordsf2.c: Likewise.
45838         * soft-fp/unordtf2.c: Likewise.
45840 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45842         [BZ #15672]
45843         * misc/error.c (error_tail): Fix possible buffer overflow.
45845 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45847         [BZ #13028]
45848         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45849         address.
45851 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45853         [BZ #832]
45854         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45855         testing pipefail option.
45857 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45859         * soft-fp/double.h: Indent preprocessor directives inside #if.
45860         * soft-fp/extended.h: Likewise.
45861         * soft-fp/op-2.h: Likewise.
45862         * soft-fp/op-4.h: Likewise.
45863         * soft-fp/op-common.h: Likewise.
45864         * soft-fp/quad.h: Likewise.
45865         * soft-fp/single.h: Likewise.
45866         * soft-fp/soft-fp.h: Likewise.
45868 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45870         * iconv/iconv_prog.c: Fix typos.
45871         * stdio-common/psiginfo-data.h: Likewise.
45873 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45875         [BZ #15764]
45876         * locale/setlocale.c: Fix typo.
45878 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45880         [BZ #16036]
45881         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45882         signaling NaN arguments.
45883         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45884         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45886         [BZ #14910]
45887         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45888         unordered operands.
45889         * soft-fp/gesf2.c (__gesf2): Likewise.
45890         * soft-fp/getf2.c (__getf2): Likewise.
45891         * soft-fp/ledf2.c (__ledf2): Likewise.
45892         * soft-fp/lesf2.c (__lesf2): Likewise.
45893         * soft-fp/letf2.c (__letf2): Likewise.
45895         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45896         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45897         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45898         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45899         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45900         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45901         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45902         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45903         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45904         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45905         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45906         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45907         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45908         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45909         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45910         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45911         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45912         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45913         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45914         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45915         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45916         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45917         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45918         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45919         * soft-fp/floattidf.c (__floattidf): Likewise.
45920         * soft-fp/floattisf.c (__floattisf): Likewise.
45921         * soft-fp/floattitf.c (__floattitf): Likewise.
45922         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45923         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45924         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45925         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45926         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45927         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45928         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45929         * soft-fp/gesf2.c (__gesf2): Likewise.
45930         * soft-fp/getf2.c (__getf2): Likewise.
45931         * soft-fp/ledf2.c (__ledf2): Likewise.
45932         * soft-fp/lesf2.c (__lesf2): Likewise.
45933         * soft-fp/letf2.c (__letf2): Likewise.
45935         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45936         Undefine and redefine.
45937         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45938         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45939         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45940         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45941         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45942         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45943         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45944         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45945         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45946         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45947         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45948         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45949         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45950         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45951         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45953         [BZ #16032]
45954         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45955         without decrementing exponent if mantissa >= that for the
45956         denominator, not >.
45957         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45958         denominator, not >.  Decrement exponent in < case instead of
45959         incrementing in >= case.
45960         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45961         without decrementing exponent if mantissa >= that for the
45962         denominator, not >.
45964         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45965         computing saturated result for unsigned overflow.
45967 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45968             Jeff Law  <law@redhat.com>
45970         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45971         (atan2Mp): Add systemtap probe marker.
45972         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45973         (__ieee754_log): Add systemtap probe marker.
45974         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45975         (atanMp): Add systemtap probe marker.
45976         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45977         (tanMp): Add systemtap probe marker.
45978         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45979         (__slowexp): Add systemtap probe marker.
45980         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45981         (__slowpow): Add systemtap probe marker.
45982         * manual/probes.texi: Document probes.
45984 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45986         [BZ #15362]
45987         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45988         written.
45989         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45990         written.
45991         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45992         written to buffer but not flushed.
45993         * libio/iofwrite_u.c:  Likewise.
45994         * libio/iopadn.c:  Return bytes returned even if EOF was
45995         encountered.
45996         * libio/iowpadn.c:  Likewise.
45997         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45998         if _IO_padn does not write the whole buffer.
45999         [!COMPILE_WPRINTF] (PAD): Likewise.
46001 2013-10-10  David S. Miller  <davem@davemloft.net>
46003         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46004         directory block.
46006 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46008         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46009         instead of FSF address.
46010         * soft-fp/fixdfti.c: Likewise.
46011         * soft-fp/fixsfti.c: Likewise.
46012         * soft-fp/fixtfti.c: Likewise.
46013         * soft-fp/fixunsdfti.c: Likewise.
46014         * soft-fp/fixunssfti.c: Likewise.
46015         * soft-fp/fixunstfti.c: Likewise.
46016         * soft-fp/floattidf.c: Likewise.
46017         * soft-fp/floattisf.c: Likewise.
46018         * soft-fp/floattitf.c: Likewise.
46019         * soft-fp/floatuntidf.c: Likewise.
46020         * soft-fp/floatuntisf.c: Likewise.
46021         * soft-fp/floatuntitf.c: Likewise.
46022         * soft-fp/trunctfxf2.c: Likewise.
46024         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46025         * soft-fp/fixdfti.c: Likewise.
46026         * soft-fp/fixsfti.c: Likewise.
46027         * soft-fp/fixtfti.c: Likewise.
46028         * soft-fp/fixunsdfti.c: Likewise.
46029         * soft-fp/fixunssfti.c: Likewise.
46030         * soft-fp/fixunstfti.c: Likewise.
46031         * soft-fp/floattidf.c: Likewise.
46032         * soft-fp/floattisf.c: Likewise.
46033         * soft-fp/floattitf.c: Likewise.
46034         * soft-fp/floatuntidf.c: Likewise.
46035         * soft-fp/floatuntisf.c: Likewise.
46036         * soft-fp/floatuntitf.c: Likewise.
46037         * soft-fp/trunctfxf2.c: Likewise.
46039 2013-10-10  David S. Miller  <davem@davemloft.net>
46041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46043 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46045         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46046         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46047         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46048         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46049         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46050         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46051         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46053         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46054         for NaNs before doing comparisons on argument.
46055         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46056         Likewise.
46058 2013-10-10  Will Newton  <will.newton@linaro.org>
46060         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46061         passed to _int_memalign does not overflow.
46063 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46065         * scripts/bench.pl: Add include-sources directive.
46066         * benchtests/README: Update documentation.
46068 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46070         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46071         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46072         instead of FP_INIT_ROUNDMODE.
46073         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46074         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46076         [BZ #16034]
46077         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46078         copy class of input value.
46079         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46080         not handle exceptions.
46081         * soft-fp/negsf2.c (__negsf2): Likewise.
46082         * soft-fp/negtf2.c (__negtf2): Likewise.
46083         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46085 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46087         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46088         semicolon.  From Linux kernel.
46090 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46092         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46094 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46096         [BZ #156]
46097         * manual/socket.texi: Added statement about buffer
46098         for gethostbyname2_r.
46100 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46102         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46103         Use .p2align directive instead, throughout.
46104         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46105         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46106         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46107         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46108         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46109         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46110         * sysdeps/x86_64/strchr.S: Likewise.
46111         * sysdeps/x86_64/strrchr.S: Likewise.
46113 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46115         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46117         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46119         * sysdeps/generic/math_private.h (__mpsin1): Remove
46120         declaration.
46121         (__mpcos1): Likewise.
46122         (__mpsin): New argument __range_reduce.
46123         (__mpcos): Likewise.
46124         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46125         (slow): Use __mpsin and __mpcos.
46126         (slow1): Likewise.
46127         (slow2): Likewise.
46128         (sloww): Likewise.
46129         (sloww1): Likewise.
46130         (sloww2): Likewise.
46131         (bsloww): Likewise.
46132         (bsloww1): Likewise.
46133         (bsloww2): Likewise.
46134         (cslow2): Likewise.
46135         (csloww): Likewise.
46136         (csloww1): Likewise.
46137         (csloww2): Likewise.
46138         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46139         range_reduce.  Merge in __mpsin1.
46140         (__mpcos): Likewise.
46141         (__mpsin1): Remove.
46142         (__mpcos1): Likewise.
46144 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46146         * locale/loadlocale.c (_nl_intern_locale_data): Use
46147         LOCFILE_ALIGNED_P.
46148         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46149         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46150         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46151         obstack data is appropriately aligned.
46152         (obstack_int32_grow_fast): Likewise.
46153         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46154         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46155         (add_locale_uint32_array): Likewise.
46157 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46159         * benchtests/Makefile: Remove ARGLIST and RET variables.
46160         ($(objpfx)bench-%.c): Pass only function name to the script.
46161         * benchtests/README: Update documentation.
46162         * benchtests/acos-inputs: Add new directives.
46163         * benchtests/acosh-inputs: Likewise.
46164         * benchtests/asin-inputs: Likewise.
46165         * benchtests/asinh-inputs: Likewise.
46166         * benchtests/atan-inputs: Likewise.
46167         * benchtests/atanh-inputs: Likewise.
46168         * benchtests/cos-inputs: Likewise.
46169         * benchtests/cosh-inputs: Likewise.
46170         * benchtests/exp-inputs: Likewise.
46171         * benchtests/log-inputs: Likewise.
46172         * benchtests/pow-inputs: Likewise.
46173         * benchtests/rint-inputs: Likewise.
46174         * benchtests/sin-inputs: Likewise.
46175         * benchtests/sinh-inputs: Likewise.
46176         * benchtests/tan-inputs: Likewise.
46177         * benchtests/tanh-inputs: Likewise.
46178         * scripts/bench.pl: Add support for new directives.
46180 2013-10-07  Alan Modra  <amodra@gmail.com>
46182         * README: Fix careless merge.
46184 2013-10-05  Alan Modra  <amodra@gmail.com>
46186         * NEWS: Mention powerpc64le support and bugs fixed.
46187         * README: Both big-endian and little-endian powerpc64 supported.
46189 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46191         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46192         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46193         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46194         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46196 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46198         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46199         match prototype.
46201 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46203         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46204         Move -mhard-float appending from
46205         ports/sysdeps/powerpc/powerpc32/Makefile.
46206         [$(with-fp) = yes] (ASFLAGS): Likewise.
46207         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46208         * sysdeps/powerpc/nofpu: Move directory from
46209         ports/sysdeps/powerpc/nofpu.
46210         * sysdeps/powerpc/soft-fp: Move directory from
46211         ports/sysdeps/powerpc/soft-fp.
46212         * sysdeps/powerpc/powerpc32/405: Move directory from
46213         ports/sysdeps/powerpc/powerpc32/405.
46214         * sysdeps/powerpc/powerpc32/440: Move directory from
46215         ports/sysdeps/powerpc/powerpc32/440.
46216         * sysdeps/powerpc/powerpc32/464: Move directory from
46217         ports/sysdeps/powerpc/powerpc32/464.
46218         * sysdeps/powerpc/powerpc32/476: Move directory from
46219         ports/sysdeps/powerpc/powerpc32/476.
46220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46221         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46223         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46225         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46227         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46229         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46230         * README: Update for powerpc-*-linux-gnu software floating point
46231         support in libc.
46233         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46234         case to powerpc/powerpc32*.
46235         * sysdeps/unix/sysv/linux/configure: Regenerated.
46237         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46238         (_FPU_MASK_OM): Define as 0x04.
46239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46241         0x00c10080.
46242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46243         0x0000003c.
46244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46247         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46248         getcontext_e500.
46249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46250         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46251         setcontext_e500.
46252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46253         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46254         and setcontext_e500.
46256 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46258         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46260 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46262         * manual/threads.texi (Default Thread Attributes): Fix typo.
46264 2013-10-04  Will Newton  <will.newton@linaro.org>
46266         * malloc/Makefile: Add tst-memalign.
46267         * malloc/tst-memalign.c: New file.
46269         * malloc/tst-posix_memalign.c: Add comments.
46270         (do_test): Add comments and call free on all potentially
46271         allocated pointers. Add space after cast.
46273         * malloc/tst-pvalloc.c: Add comments.
46274         (do_test): Add comments and call free on all potentially
46275         allocated pointers. Remove duplicate check for NULL pointer.
46276         Add space after cast.
46278         * malloc/tst-valloc.c: Add comments.
46279         (do_test): Add comments and call free on all potentially
46280         allocated pointers. Remove duplicate check for NULL pointer.
46281         Add space after cast.
46283 2013-10-04  Alan Modra  <amodra@gmail.com>
46285         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46286         Use stdint types in rather than __attribute__((mode())).
46287         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46289 2013-10-04  Alan Modra  <amodra@gmail.com>
46291         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46292         Correct handling of unaligned relocs for little-endian.
46293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46295 2013-10-04  Alan Modra  <amodra@gmail.com>
46297         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46298         * configure: Regenerate.
46299         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46300         * shlib-versions: Likewise.
46302 2013-10-04  Alan Modra  <amodra@gmail.com>
46304         * string/tester.c (test_memrchr): Increment reported test cycle.
46306 2013-10-04  Alan Modra  <amodra@gmail.com>
46308         * string/test-memcpy.c (do_one_test): When reporting errors, print
46309         string address and don't overrun end of string.
46311 2013-10-04  Alan Modra  <amodra@gmail.com>
46313         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46314         insrdi.  Make better use of reg selection to speed exit slightly.
46315         Schedule entry path a little better.  Remove useless "are we done"
46316         checks on entry to main loop.  Handle wrapping around zero address.
46317         Correct main loop count.  Handle single left-over word from main
46318         loop inline rather than by using loop_small.  Remove extra word
46319         case in loop_small caused by wrong loop count.  Add little-endian
46320         support.
46321         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46322         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46323         cache hint.
46324         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46325         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46326         support.  Avoid rlwimi.
46327         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46329 2013-10-04  Alan Modra  <amodra@gmail.com>
46331         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46332         insrdi.  Formatting.
46333         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46334         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46335         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46336         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46337         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46338         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46340 2013-10-04  Alan Modra  <amodra@gmail.com>
46342         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46344         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46345         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46346         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46347         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46348         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46349         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46350         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46351         use of regs.  Use power7 mtocrf.  Tidy function tails.
46353 2013-10-04  Alan Modra  <amodra@gmail.com>
46355         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46356         Formatting.  Consistently use rXXX register defines or rN defines.
46357         Use early exit labels that avoid restoring unused non-volatile regs.
46358         Make cr field use more consistent with rWORDn compares.  Rename
46359         regs used as shift registers for unaligned loop, using rN defines
46360         for short lifetime/multiple use regs.
46361         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46362         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46363         addi 1,1,64 to pop stack frame.  Simplify return value code.
46364         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46366 2013-10-04  Alan Modra  <amodra@gmail.com>
46368         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46369         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46370         rather than rlwimi.
46371         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46372         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46373         little-endian support.  Correct typos.
46374         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46375         rather than rlwimi.
46376         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46377         in loop and entry code to keep "and." results.
46378         (strchr): Add little-endian support.  Comment.  Move cntlzd
46379         earlier in tail.
46380         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46382 2013-10-04  Alan Modra  <amodra@gmail.com>
46384         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46385         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46386         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46387         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46389 2013-10-04  Alan Modra  <amodra@gmail.com>
46391         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46392         (rTMP): Define as r11.
46393         (strcmp): Add little-endian support.  Optimise tail.
46394         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46395         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46396         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46397         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46398         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46399         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46400         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46402 2013-10-04  Alan Modra  <amodra@gmail.com>
46404         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46405         little-endian support.  Remove unnecessary "are we done" tests.
46406         Handle "s" wrapping around zero and extremely large "size".
46407         Correct main loop count.  Handle single left-over word from main
46408         loop inline rather than by using small_loop.  Correct comments.
46409         Delete "zero" tail, use "end_max" instead.
46410         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46412 2013-10-04  Alan Modra  <amodra@gmail.com>
46414         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46415         support.  Don't branch over align.
46416         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46417         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46418         support.  Rearrange tmp reg use to suit.  Comment.
46419         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46421 2013-10-04  Alan Modra  <amodra@gmail.com>
46423         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46425 2013-10-04  Alan Modra  <amodra@gmail.com>
46427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46428         conditional form of branch and link when obtaining pc.
46429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46431 2013-10-04  Alan Modra  <amodra@gmail.com>
46433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46434         HIWORD/LOWORD.
46435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46438 2013-10-04  Alan Modra  <amodra@gmail.com>
46440         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46441         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46442         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46443         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46444         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46445         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46446         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46447         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46448         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46449         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46451 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46452             Alistair Popple <alistair@ozlabs.au.ibm.com>
46453             Alan Modra <amodra@gmail.com>
46455         [BZ #15723]
46456         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46457         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46458         _dl_hwcap access for little-endian.
46459         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46460         destroy vmx regs when saving unaligned.
46461         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46462         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46463         destroy vmx regs when saving unaligned.
46465 2013-10-04  Alan Modra  <amodra@gmail.com>
46467         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46468         Don't use a union to pack hi/low value.
46470 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46472         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46473         for little-endian.
46474         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46475         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46476         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46477         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46478         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46480 2013-10-04  Alan Modra  <amodra@gmail.com>
46482         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46483         constants to usual value for .cst8 section, and remove redundant
46484         high address load.
46485         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46486         constant for 0x1p52.  Load little-endian words of double from
46487         correct stack offsets.
46489 2013-10-04  Alan Modra  <amodra@gmail.com>
46491         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46492         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46493         words of double from correct stack offsets.
46494         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46495         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46496         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46497         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46498         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46499         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46500         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46501         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46502         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46503         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46504         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46505         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46506         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46507         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46508         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46509         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46510         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46512 2013-10-04  Alan Modra  <amodra@gmail.com>
46514         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46515         64-bit int/double union.
46516         (_FPU_SETCW): Likewise.
46517         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46518         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46520 2013-10-04  Alan Modra  <amodra@gmail.com>
46522         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46523         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46525 2013-10-04  Alan Modra  <amodra@gmail.com>
46527         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46528         use vector int constants.
46529         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46531 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46533         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46534         array with long long.
46535         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46536         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46537         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46538         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46539         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46540         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46541         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46542         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46543         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46544         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46545         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46546         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46547         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46549 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46551         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46552         (__signbit): Likewise.  Correct for little-endian.
46553         (__signbitl): Call __signbit.
46554         (lrint): Correct for little-endian.
46555         (lrintf): Call lrint.
46557 2013-10-04  Alan Modra  <amodra@gmail.com>
46559         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46560         union 32-bit int array member with 64-bit int array.
46561         (t515, tm256): Double rather than long double.
46562         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46564 2013-10-04  Alan Modra  <amodra@gmail.com>
46566         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46567         Delete.
46568         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46569         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46570         version of math_ldbl.h.
46572 2013-10-04  Alan Modra  <amodra@gmail.com>
46574         [BZ #15734], [BZ #15735]
46575         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46576         all uses of ieee875 long double macros and unions.  Simplify test
46577         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46578         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46579         normalize after ldbl_extract_mantissa, and don't add hidden bit
46580         already handled.  Don't treat low word of ieee854 mantissa like
46581         low word of IBM long double and mask off bit when testing for
46582         zero.
46583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46584         all uses of ieee875 long double macros and unions.  Simplify tests
46585         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46586         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46587         two1022, instead use their values.  Recognise that tests for large
46588         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46589         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46590         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46591         test for 0.0L and nan.  Correct negation.
46592         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46593         ieee875 long double macros and unions.  Correct output for large
46594         magnitude x.  Correct absolute value calculation.
46595         (__erfcl): Likewise.
46596         * math/libm-test.inc: Add tests for errors discovered in IBM long
46597         double versions of fmodl, remainderl, erfl and erfcl.
46599 2013-10-04  Alan Modra  <amodra@gmail.com>
46601         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46602         all uses of ieee854 long double macros and unions.  Simplify tests
46603         for long doubles that are fully specified by the high double.
46604         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46605         Likewise.
46606         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46607         Remove dead code too.
46608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46609         (__ieee754_ynl): Likewise.
46610         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46611         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46613         Remove dead code too.
46614         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46615         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46616         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46617         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46618         Simplify.
46619         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46620         Simplify.
46621         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46622         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46623         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46624         Comment on variable precision.
46625         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46626         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46627         Likewise.
46628         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46629         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46630         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46631         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46632         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46634 2013-10-04  Alan Modra  <amodra@gmail.com>
46636         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46637         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46638         all uses of ieee854 long double macros and unions.
46639         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46640         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46641         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46642         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46643         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46644         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46645         Likewise.
46646         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46647         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46648         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46649         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46650         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46651         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46652         Simplify sign and nan test too.
46653         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46654         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46655         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46656         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46657         Likewise.
46658         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46659         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46660         Likewise.
46661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46662         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46663         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46664         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46665         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46668 2013-10-04  Alan Modra  <amodra@gmail.com>
46670         * stdio-common/printf_size.c (__printf_size): Don't use
46671         union ieee854_long_double in fpnum union.
46672         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46673         signbit macro to retrieve sign from long double.
46674         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46675         retrieve sign from long double.
46676         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46677         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46678         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46679         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46680         * math/test-misc.c (main): Don't use union ieee854_long_double.
46682 2013-10-04  Alan Modra  <amodra@gmail.com>
46684         [BZ #15680]
46685         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46686         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46687         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46688         calculation.  Remove unnecessary test for denormal exponent.
46689         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46690         Correct handling of denormals.  Avoid undefined shift behaviour.
46691         Correct normalisation of low mantissa when low double is denormal.
46692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46693         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46694         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46695         Correct normalisation of low mantissa.  Test for overflow of high
46696         mantissa and normalise.
46697         (ldbl_nearbyint): Use more readable constant for two52.
46698         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46699         (__mpn_construct_long_double): Fix test for overflow of high
46700         mantissa and correct normalisation.  Avoid undefined shift.
46702 2013-10-04  Alan Modra  <amodra@gmail.com>
46704         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46705         (union ibm_extended_long_double): Define as an array of ieee754_double.
46706         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46707         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46708         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46709         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46710         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46711         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46713         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46714         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46715         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46716         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46718 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46720         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46721         page size instead of calling getpagesize.
46723         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46724         (LOCFILE_ALIGN_MASK): Likewise.
46725         (LOCFILE_ALIGN_UP): Likewise.
46726         (LOCFILE_ALIGNED_P): Likewise.
46727         * locale/programs/ld-collate.c (collate_output): Use the new
46728         macros instead of __alignof__ (int32_t).
46729         * locale/weight.h (findidx): Likewise.
46731 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46733         [BZ #431]
46734         * manual/string.texi: Fix strncat and wcsncat.
46736 2013-10-03  Brooks Moses  <bmoses@google.com>
46738         [BZ #15915]
46739         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46740         * Makerules: ...here, and adjust associated comments.
46742 2013-10-02  Will Newton  <will.newton@linaro.org>
46744         * malloc/Makefile: Add tst-pvalloc.
46745         * malloc/tst-pvalloc.c: New file.
46747 2013-10-02  Will Newton  <will.newton@linaro.org>
46749         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46750         improve test coverage.
46752 2013-10-02  Will Newton  <will.newton@linaro.org>
46754         * malloc/Makefile: Add tst-posix_memalign.
46755         * malloc/tst-posix_memalign.c: New file.
46757 2013-10-01  Eric Blake  <eblake@redhat.com>
46759         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46760         Use __THROWNL rather than __THROW on static functions.
46762 2013-09-30  Petr Machata  <pmachata@redhat.com>
46764         * elf/elf.h (R_AARCH64_ABS16): New macro.
46765         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46766         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46767         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46768         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46769         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46770         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46771         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46772         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46773         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46774         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46775         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46776         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46777         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46778         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46779         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46780         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46781         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46782         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46783         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46784         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46785         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46786         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46787         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46788         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46789         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46790         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46791         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46792         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46793         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46794         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46795         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46796         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46797         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46798         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46799         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46800         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46801         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46802         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46803         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46804         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46805         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46806         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46807         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46808         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46809         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46810         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46811         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46812         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46813         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46814         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46815         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46816         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46817         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46818         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46819         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46820         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46821         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46822         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46823         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46824         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46825         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46826         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46827         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46828         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46829         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46830         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46831         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46832         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46833         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46834         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46835         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46836         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46837         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46838         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46839         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46840         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46841         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46842         (R_AARCH64_TLSDESC_LDR): Likewise.
46843         (R_AARCH64_TLSDESC_ADD): Likewise.
46844         (R_AARCH64_TLSDESC_CALL): Likewise.
46846 2013-09-30  Andreas Schwab  <schwab@suse.de>
46848         [BZ #15048]
46849         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46850         the nss database lookup.
46851         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46854 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46856         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46858 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46860         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46861         ${Bash-specific parameter/pattern/string} parameter expansion.
46862         * sysdeps/unix/make-syscalls.sh: Likewise.
46864 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46866         * sysdeps/sh/stackguard-macros.h: New file.
46868 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46872         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46873         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46874         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46875         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46877 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46879         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46880         Fix thread ID register.
46882 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46884         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46885         [POSIX || UNIX98]: Require rather than permitting all symbols from
46886         <time.h>.
46887         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46888         element of struct sched_param.
46889         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46890         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46891         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46892         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46893         constant.
46895 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46897         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46898         argument calculation.
46900 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46902         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46903         Expect macro.
46904         [POSIX] (pthread_attr_t): Do not require type.
46905         [POSIX] (pthread_cond_t): Likewise.
46906         [POSIX] (pthread_condattr_t): Likewise.
46907         [POSIX] (pthread_key_t): Likewise.
46908         [POSIX] (pthread_mutex_t): Likewise.
46909         [POSIX] (pthread_mutexattr_t): Likewise.
46910         [POSIX] (pthread_once_t): Likewise.
46911         [POSIX] (pthread_t): Likewise.
46912         [POSIX-based standards] (pthread_atfork): Expect function.
46914 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46915             Richard Sandiford  <richard@codesourcery.com>
46917         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46918         (swap_endianness_p): New extern variable.
46919         (set_big_endian): New inline function.
46920         (maybe_swap_uint32): Likewise.
46921         (maybe_swap_uint32_array): Likewise.
46922         (maybe_swap_uint32_obstack): Likewise.
46923         * locale/programs/locfile.c: Include <stdbool.h>.
46924         (swap_endianness_p): New variable.
46925         (add_locale_uint32): Call maybe_swap_uint32.
46926         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46927         (write_locale_data): Call maybe_swap_uint32_array.
46928         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46929         maybe_swap_uint32.
46930         (obstack_int32_grow_fast): Likewise.
46931         (output_weightwc): Call maybe_swap_uint32_obstack.
46932         (collate_output): Likewise.
46933         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46934         (OPT_LITTLE_ENDIAN): Likewise.
46935         (options): Add --little-endian and --big-endian options.
46936         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46937         * locale/programs/locarchive.c: Include "locfile.h".
46938         (GET): New macro.
46939         (SET): Likewise.
46940         (INC): Likewise.
46941         (create_archive): Use the new macros to access fields of
46942         structures directly mapped from or written to locale archives.
46943         (oldlocrecentcmp): Likewise.
46944         (enlarge_archive): Likewise.
46945         (insert_name): Likewise.
46946         (add_alias): Likewise.
46947         (add_locale): Likewise.
46948         (delete_locales_from_archive): Likewise.
46949         (show_archive_content): Likewise.
46950         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46951         locale data.
46953 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46955         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46956         http://www.gnu.org/doc/freemanuals.texi.
46957         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46959 2013-09-24  Will Newton  <will.newton@linaro.org>
46961         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46962         macro.
46964 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46966         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46967         unsigned char.
46969 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46971         * manual/threads.texi (POSIX Threads): Fix a typo.
46973 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46975         [BZ #14547]
46976         * string/tst-strcoll-overflow.c: New test case.
46977         * string/Makefile (xtests): Add tst-strcoll-overflow.
46978         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46979         cache if string sizes may cause integer overflow.
46981         [BZ #14547]
46982         * string/strcoll_l.c (coll_seq): New members rule, idx,
46983         save_idx and back_us.
46984         (get_next_seq_nocache): New function.
46985         (do_compare_nocache): New function.
46986         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46987         when malloc fails.
46989 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46991         [BZ #15754]
46992         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46993         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46994         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46996         [BZ #15754]
46997         * elf/Makefile (tests): Add tst-ptrguard1.
46998         (tests-static): Add tst-ptrguard1-static.
46999         (tst-ptrguard1-ARGS): Define.
47000         (tst-ptrguard1-static-ARGS): Define.
47001         * elf/tst-ptrguard1.c: New file.
47002         * elf/tst-ptrguard1-static.c: New file.
47003         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47004         * sysdeps/i386/stackguard-macros.h: Likewise.
47005         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47006         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47007         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47008         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47009         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47010         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47012 2013-09-23  Hector Marco  <hecmargi@upv.es>
47013             Ismael Ripoll  <iripoll@disca.upv.es>
47014             Carlos O'Donell  <carlos@redhat.com>
47016         [BZ #15754]
47017         * sysdeps/generic/stackguard-macros.h: Define
47018         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47019         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47020         Define __pointer_chk_guard_local.
47021         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47022         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47024 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47026         [BZ #15859]
47027         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47029 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47031         * include/string.h (__ffs): Declare as hidden.
47032         * string/ffs.c (__ffs): Define as hidden.
47033         * sysdeps/i386/ffs.c (__ffs): Likewise.
47034         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47035         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47036         * sysdeps/s390/ffs.c (__ffs): Likewise.
47037         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47039 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47041         * NEWS: Mention malloc probes.
47043         * malloc/arena.c (new_heap): New memory_heap_new probe.
47044         (grow_heap): New memory_heap_more probe.
47045         (shrink_heap): New memory_heap_less probe.
47046         (heap_trim): New memory_heap_free probe.
47047         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47048         (systrim): New memory_sbrk_less probe.
47049         * manual/probes.texi: Document them.
47051         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47052         * manual/probes.texi: Document it.
47054         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47055         (__libc_realloc): Add memory_realloc_retry probe.
47056         (__libc_memalign): Add memory_memalign_retry probe.
47057         (__libc_valloc): Add memory_valloc_retry probe.
47058         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47059         (__libc_calloc): Add memory_calloc_retry probe.
47060         * manual/probes.texi: Document them.
47062         * malloc/arena.c (get_free_list): Add probe
47063         memory_arena_reuse_free_list.
47064         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47065         and memory_arena_reuse.
47066         (arena_get2) [!PER_THREAD]: Likewise.
47067         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47068         memory_arena_reuse_realloc.
47069         * manual/probes.texi: Document them.
47071         * malloc/malloc.c (__libc_free): Add
47072         memory_mallopt_free_dyn_thresholds probe.
47073         (__libc_mallopt): Add multiple memory_mallopt probes.
47074         * manual/probes.texi: Document them.
47076         * malloc/malloc.c: Include stap-probe.h.
47077         (__libc_mallopt): Add memory_mallopt probe.
47078         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47079         * manual/probes.texi: New.
47080         * manual/Makefile (chapters): Add probes.
47081         * manual/threads.texi: Set next node.
47083 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47085         [BZ #15963, #13985]
47086         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47087         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47088         Add `Chinese' to `nan' entry name.
47090 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47092         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47093         (POLYNOMIAL): Likewise.
47094         (TAYLOR_SINCOS): Likewise.
47095         (TAYLOR_SLOW): Likewise.
47096         (__sin): Use TAYLOR_SINCOS.
47097         (__cos): Likewise.
47098         (slow): Use TAYLOR_SLOW.
47099         (sloww): Likewise.
47100         (bsloww): Likewise.
47101         (csloww): Likewise.
47103 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47105         * stdlib/strtod_l.c: Fix buffer overrun.
47107 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47109         * benchtests/Makefile (bench): Add sincos.
47110         * benchtests/bench-sincos.c: New file.
47112         * math/libm-test.inc (cos_test_data): New test inputs.
47113         (sin_test_data): Likewise.
47115         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47116         macro.
47117         (__sin): Use it.
47118         (__cos): Likewise.
47119         (slow1): Likewise.
47120         (slow2): Likewise.
47121         (sloww1): Likewise.
47122         (sloww2): Likewise.
47123         (bsloww1): Likewise.
47124         (bsloww2): Likewise.
47125         (cslow2): Likewise.
47126         (csloww1): Likewise.
47127         (csloww2): Likewise.
47129         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47130         function.
47131         (__sin): Use it.
47132         (__cos): Likewise.
47134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47135         gotos.
47136         (__cos): Likewise.
47138 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47140         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47141         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47142         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47143         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47144         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47145         * elf/cache.c (print_entry): Handle the new cache flags.
47147 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47148             Aldy Hernandez  <aldyh@redhat.com>
47150         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47151         Change condition to [_SOFT_FLOAT].
47152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47164         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47167         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47168         declaration.
47170 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47172         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47173         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47174         (__longjmp): Use LOAD_GP to load saved GPRs.
47175         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47176         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47177         (__sigsetjmp): Use SAVE_GP to save GPRs.
47179         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47180         Do not append -msoft-float.
47181         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47183 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47185         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47187 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47189         [BZ #15966]
47190         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47191         (_FPU_GETCW): Use initial "__" on variable and field names but not
47192         on macro parameter name.
47193         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47194         parentheses around reference to macro parameter.
47196 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47198         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47199         prototype.
47200         (ctype_startup): Use uint32_t in cast and sizeof for
47201         ctype->charnames.
47203 2013-09-11  Jia Liu  <proljc@gmail.com>
47205         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47206         __daddr_t_defined.
47207         [__FreeBSD__]: Likewise.
47209 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47212         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47213         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47214         (strchr): Remove __strchr_sse42 ifunc selection.
47215         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47216         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47218 2013-09-11  Will Newton  <will.newton@linaro.org>
47220         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47221         parameter to RES. Remove hardcoded 1000 value.
47222         * benchtests/bench-skeleton.c (main): Pass RES parameter
47223         to TIMING_INIT and multiply result by 1000.
47225 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47229 2013-09-11  Andreas Schwab  <schwab@suse.de>
47231         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47232         if not defined.
47233         (O_TMPFILE) [__USE_GNU]: Define.
47234         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47235         Define.
47237 2013-09-11  Will Newton  <will.newton@linaro.org>
47239         [BZ #15857]
47240         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47241         does not overflow.
47243 2013-09-11  Will Newton  <will.newton@linaro.org>
47245         [BZ #15856]
47246         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47247         does not overflow.
47249 2013-09-11  Will Newton  <will.newton@linaro.org>
47251         [BZ #15855]
47252         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47253         does not overflow.
47255 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47257         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47258         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47259         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47260         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47261         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47263 2013-09-10  Allan McRae  <allan@archlinux.org>
47265         [BZ #15748]
47266         * manual/arith.texi (Parsing of Floats): Clarify
47267         cross-reference.
47269         [BZ #15849]
47270         * manual/install.texi (Running make install): Mention
47271         --enable-pt-chown.
47272         * INSTALL: Regenerated.
47274 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47276         * csu/init-first.c (_init): Remove the !SHARED condition around
47277         FPU control word initialization.
47278         * elf/dl-support.c (_dl_fpu_control): New variable.
47279         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47280         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47281         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47282         * math/test-fpucw-static.c: New file.
47283         * math/test-fpucw-ieee.c: New file.
47284         * math/test-fpucw-ieee-static.c: New file.
47285         * math/Makefile (tests): Add `test-fpucw-ieee' and
47286         `$(tests-static)'.
47287         (tests-static): New variable.
47288         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47289         dependency to...
47290         [($(build-shared),yes)]
47291         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47292         ... this.
47293         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47294         New dependency.
47296 2013-09-09  Allan McRae  <allan@archlinux.org>
47298         [BZ #15939]
47299         * manual/string.texi (Collation Functions): Fix typo in
47300         strcoll example.
47301         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47303         [BZ #15893]
47304         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47306         [BZ #15892]
47307         * libio/memstream.c (open_memstream): Fix memory leak.
47308         * libio/wmemstream.c (open_wmemstream): Likewise.
47310         [BZ #15895]
47311         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47313 2013-09-09  Will Newton  <will.newton@linaro.org>
47315         * malloc/Makefile: Add tst-realloc to tests.
47316         * malloc/tst-realloc.c: New file.
47318 2013-09-09  Allan McRae  <allan@archlinux.org>
47320         [BZ #15844]
47321         * COPYING: Update from GNU website to fix FSF address.
47322         * COPYING.LIB: Likewise.
47324 2013-09-06  David S. Miller  <davem@davemloft.net>
47326         * po/zh_TW.po: Update Chinese (traditional) translation from
47327         translation project.
47329 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47330             Joseph Myers  <joseph@codesourcery.com>
47332         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47333         "localeinfo.h".
47334         (obstack_chunk_alloc): New macro.
47335         (obstack_chunk_free): Likewise.
47336         (record_offset): New function.
47337         (init_locale_data): Likewise.
47338         (align_locale_data): Likewise.
47339         (add_locale_empty): Likewise.
47340         (add_locale_raw_data): Likewise.
47341         (add_locale_raw_obstack): Likewise.
47342         (add_locale_string): Likewise.
47343         (add_locale_wstring): Likewise.
47344         (add_locale_uint32): Likewise.
47345         (add_locale_uint32_array): Likewise.
47346         (add_locale_char): Likewise.
47347         (start_locale_structure): Likewise.
47348         (end_locale_structure): Likewise.
47349         (start_locale_prelude): Likewise.
47350         (end_locale_prelude): Likewise.
47351         (write_locale_data): Take locale_file structure rather than an
47352         iovec.
47353         * locale/programs/locfile.h: Include "obstack.h".
47354         (struct locale_file): Change to store locale file contents instead
47355         of header.
47356         (init_locale_data): New prototype.
47357         (align_locale_data): Likewise.
47358         (add_locale_empty): Likewise.
47359         (add_locale_raw_data): Likewise.
47360         (add_locale_raw_obstack): Likewise.
47361         (add_locale_string): Likewise.
47362         (add_locale_wstring): Likewise.
47363         (add_locale_uint32): Likewise.
47364         (add_locale_uint32_array): Likewise.
47365         (add_locale_char): Likewise.
47366         (start_locale_structure): Likewise.
47367         (end_locale_structure): Likewise.
47368         (start_locale_prelude): Likewise.
47369         (end_locale_prelude): Likewise.
47370         (write_locale_data): Update prototype.
47371         * locale/programs/3level.h (struct TABLE): Remove result field.
47372         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47373         Use new locale_file interface.
47374         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47375         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47376         * locale/programs/ld-address.c (address_output): Use new
47377         locale_file interface.
47378         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47379         NO_ADD_LOCALE.
47380         (collate_finish): Don't call collseq_table_finalize.
47381         (collate_output): Use new locale_file interface.
47382         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47383         in file.
47384         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47385         (TABLE): Move defines earlier in file.
47386         (ELEMENT): Likewise.
47387         (DEFAULT): Likewise.
47388         (wctrans_table_add): Move macro and inline function earlier in
47389         file.
47390         (struct wctype_table): Move type earlier in file.
47391         (add_locale_wctype_table): New static prototype.
47392         (struct locale_ctype_t): Use logical types instead of struct iovec
47393         pointers for members.
47394         (ctype_output): Use new locale_file interface.
47395         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47396         new locale_file interface.
47397         (allocate_arrays): Update for use of new locale_file interface.
47398         * locale/programs/ld-identification.c (identification_output): Use
47399         new locale_file interface.
47400         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47401         * locale/programs/ld-messages.c (messages_output): Likewise.
47402         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47403         * locale/programs/ld-name.c (name_output): Likewise.
47404         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47405         * locale/programs/ld-paper.c (paper_output): Likewise.
47406         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47407         * locale/programs/ld-time.c (time_output): Likewise.
47409 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47411         * benchtests/Makefile: Add memrchr benchmark.
47412         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47413         benchmark as memrchr.
47414         * benchtests/bench-memrchr-ifunc.c: New file.
47415         * benchtests/bench-memrchr.c: New file.
47417 2013-09-06   Will Newton  <will.newton@linaro.org>
47419         * benchtests/Makefile (string-bench): Add memcpy.
47421 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47422             Cong Wang  <amwang@redhat.com>
47424         [BZ #15850]
47425         * sysdeps/unix/sysv/linux/bits/in.h
47426         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47427         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47428         before __USE_KERNEL_IPV6_DEFS uses.
47429         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47430         IPPROTO_BEETPH.
47431         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47432         sockaddr_in6, or ipv6_mreq.
47434 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47436         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47437         memory access for final bytes in some large inputs.
47438         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47440 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47442         * string/test-memrchr.c: New file.
47443         * string/test-memrchr-ifunc.c: New file.
47444         * string/Makefile: Add new memrchr testcase.
47446 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47448         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47449         fanotify_init returns EPERM.
47451 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47453         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47454         errors.
47455         (top level): Treat second token from macro or constant entries for
47456         allowed headers as allowed.
47457         * include/complex.h: Condition internal declarations on
47458         [!_ISOMAC].
47459         * include/fenv.h: Condition include of <stdbool.h> and internal
47460         declarations on [!_ISOMAC].
47462 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47464         [BZ #15923]
47465         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47467 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47469         * configure.in (--enable-versioning): Remove configure option.
47470         (libc_cv_asm_symver_directive): Remove configure test.
47471         (libc_cv_ld_version_script_option): Likewise.
47472         (VERSIONING): Remove variable and AC_SUBST.
47473         (DO_VERSIONING): Remove AC_DEFINE.
47474         * configure: Regenerated.
47475         * config.h.in (DO_VERSIONING): Remove macro.
47476         * Makerules [$(versioning) = yes]: Change conditionals to
47477         [$(build-shared) = yes].
47478         * config.make.in (versioning): Remove variable.
47479         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47480         [$(build-shared) = yes].
47481         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47482         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47483         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47484         [$(build-shared) = yes].
47485         * extra-lib.mk [$(versioning) = yes]: Likewise.
47486         * hurd/Makefile [$(versioning) = yes]: Likewise.
47487         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47488         [SHARED].
47489         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47490         [SHARED].
47491         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47492         [SHARED && !NO_HIDDEN].
47493         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47494         [SHARED].
47495         [SHARED && DO_VERSIONING]: Likewise..
47496         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47497         [$(build-shared) = yes].
47498         * manual/install.texi (--disable-versioning): Remove
47499         documentation.
47500         * INSTALL: Regenerated.
47501         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47502         to [SHARED].
47503         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47504         [$(build-shared) = yes].
47505         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47506         * sysdeps/i386/i686/multiarch/strstr-c.c
47507         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47508         [SHARED && !NO_HIDDEN].
47509         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47510         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47511         * sysdeps/powerpc/powerpc32/dl-machine.c
47512         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47513         * sysdeps/powerpc/powerpc32/sysdep.h
47514         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47515         to [SHARED && PIC && !NO_HIDDEN].
47516         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47517         conditional to [SHARED].
47519 2013-09-04   Will Newton  <will.newton@linaro.org>
47521         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47522         * benchtests/bench-string.h: Include bench-timing.h instead
47523         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47524         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47525         call to HP_TIMING_DIFF_INIT.
47526         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47527         instead of hp-timing.h macros.
47528         * benchtests/bench-memchr.c: Likewise.
47529         * benchtests/bench-memcmp.c: Likewise.
47530         * benchtests/bench-memcpy.c: Likewise.
47531         * benchtests/bench-memmem.c: Likewise.
47532         * benchtests/bench-memmove.c: Likewise.
47533         * benchtests/bench-memset.c: Likewise.
47534         * benchtests/bench-rawmemchr.c: Likewise.
47535         * benchtests/bench-strcasecmp.c: Likewise.
47536         * benchtests/bench-strcasestr.c: Likewise.
47537         * benchtests/bench-strcat.c: Likewise.
47538         * benchtests/bench-strchr.c: Likewise.
47539         * benchtests/bench-strcmp.c: Likewise.
47540         * benchtests/bench-strcpy.c: Likewise.
47541         * benchtests/bench-strcpy_chk.c: Likewise.
47542         * benchtests/bench-strlen.c: Likewise.
47543         * benchtests/bench-strncasecmp.c: Likewise.
47544         * benchtests/bench-strncat.c: Likewise.
47545         * benchtests/bench-strncmp.c: Likewise.
47546         * benchtests/bench-strncpy.c: Likewise.
47547         * benchtests/bench-strnlen.c: Likewise.
47548         * benchtests/bench-strpbrk.c: Likewise.
47549         * benchtests/bench-strrchr.c: Likewise.
47550         * benchtests/bench-strspn.c: Likewise.
47551         * benchtests/bench-strstr.c: Likewise.
47553 2013-09-04  Will Newton  <will.newton@linaro.org>
47555         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47557 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47559         [BZ #15427]
47560         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47561         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47562         * math/libm-test.inc (lgamma_test_data): Add more tests.
47563         * sysdeps/i386/fpu/libm-test-ulps: Update.
47564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47566 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47568         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47570         Add ifunc.
47571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47572         Add strcmp-sse2-unaligned
47573         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47575 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47577         * Versions.def (libc): Add GLIBC_2.19.
47579 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47581         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47582         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47584 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47586         [BZ #14155]
47587         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47588         intermediate calculations in recurrence.
47589         (__ieee754_ynf): Likewise.
47590         * math/libm-test.inc (jn_test_data): Do not allow spurious
47591         underflow exception.  Add more tests.
47592         (yn_test_data): Add more tests.
47593         * sysdeps/i386/fpu/libm-test-ulps: Update.
47594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47596 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47598         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47600 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47602         * csu/init-first.c: Fix then/than typos.
47603         * locale/programs/ld-collate.c: Likewise.
47604         * locale/programs/linereader.h: Likewise.
47605         * manual/charset.texi: Likewise.
47606         * manual/filesys.texi: Likewise.
47607         * manual/stdio.texi: Likewise.
47608         * manual/string.texi: Likewise.
47609         * stdlib/fmtmsg.c: Likewise.
47610         * sysdeps/i386/stpncpy.S: Likewise.
47611         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47612         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47613         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47614         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47616 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47618         * elf/dl-open.c: Fix typos.
47619         * iconvdata/gbbig5.c: Likewise.
47620         * iconvdata/iso-2022-jp.c: Likewise.
47621         * iconv/gconv_int.h: Likewise.
47622         * iconv/loop.c: Likewise.
47623         * nis/rpcsvc/nis.h: Likewise.
47624         * resolv/ns_name.c: Likewise.
47625         * stdio-common/vfscanf.c: Likewise.
47626         * streams/stropts.h: Likewise.
47627         * sunrpc/rpc_thread.c: Likewise.
47628         * sysdeps/i386/strpbrk.S: Likewise.
47629         * sysdeps/ieee754/k_standard.c: Likewise.
47630         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47631         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47632         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47633         * sysdeps/mach/hurd/profil.c: Likewise.
47634         * sysdeps/s390/dl-procinfo.h: Likewise.
47635         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47636         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47637         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47638         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47639         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47641 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47643         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47646 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47648         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47649         aix specific files.
47650         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47651         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47652         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47653         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47654         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47655         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47656         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47657         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47659 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47660             Roland McGrath  <roland@hack.frob.com>
47662         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47663         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47665 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47667         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47668         __executable_start symbol instead of _start.
47670 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47672         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47673         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47674         Move macros to...
47675         * sysdeps/gnu/ldsodefs.h: ... this new file.
47677         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47678         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47679         instead of ELFOSABI_LINUX.
47681         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47682         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47683         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47684         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47685         Likewise.
47686         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47687         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47688         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47689         Likewise.
47690         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47691         (ibm_extended_long_double): Add ieee_nan member.
47692         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47693         (do_test): New function.
47695         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47696         TEST_TRUNC.
47697         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47698         functions, renamed from truncdfsf_test, trunctfsf_test,
47699         trunctfdf_test.
47700         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47701         functions.
47702         (do_test): Run all these.
47704 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47706         * argp/argp-help.c: Fix typos.
47707         * argp/argp-parse.c: Likewise.
47708         * debug/backtracesyms.c: Likewise.
47709         * elf/elf.h: Likewise.
47710         * malloc/malloc.c: Likewise.
47711         * nis/nis_print.c: Likewise.
47712         * resolv/res_comp.c: Likewise.
47713         * stdlib/stdlib.h: Likewise.
47714         * sunrpc/clnt_tcp.c: Likewise.
47715         * sunrpc/clnt_udp.c: Likewise.
47716         * sunrpc/clnt_unix.c: Likewise.
47717         * sysdeps/unix/bsd/ptsname.c: Likewise.
47718         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47719         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47721         Likewise.
47722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47723         Likewise.
47724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47725         Likewise.
47726         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47728 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47730         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47733 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47735         [BZ #15897]
47736         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47737         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47738         ($(objpfx)bug-dl-leaf): New rule.
47739         ($(objpfx)bug-dl-leaf.so): Likewise.
47740         ($(objpfx)bug-dl-leaf.out): Likewise.
47741         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47742         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47743         * dlfcn/bug-dl-leaf.c: New test.
47744         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47745         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47746         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47747         (dlclose): Likewise.
47748         (dlmopen): Likewise.
47750 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47752         * include/netdb.h [!_ISOMAC]:
47753         Don't include <tls.h>.
47754         (h_errno, __libc_h_errno): Move declaration and macros out of
47755         [_LIBC_REENTRANT].
47757         * include/resolv.h [_RESOLV_H_]:
47758         Don't include <tls.h>.
47759         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47760         * resolv/res_libc.c: Don't include <tls.h>.
47761         (_res): Use __attribute__ ((nocommon)) in place of
47762         __attribute__ ((section (".bss"))).
47764         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47765         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47767         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47769         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47770         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47772         * resolv/res_mkquery.c: Include <sys/time.h>.
47774         * inet/ifreq.c: Moved to ...
47775         * sysdeps/unix/ifreq.c: ... here.
47776         * inet/ifreq.c: New file, true stub version.
47778         * socket/sa_len.c: New file.
47779         * socket/Makefile (aux): Add it.
47780         * sysdeps/unix/sysv/linux/Makefile
47781         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47782         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47783         and #include <socket/sa_len.c>.
47784         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47785         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47787         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47788         * bits/socket.h: ... here.
47790         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47791         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47792         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47794 2013-08-27  Andreas Schwab  <schwab@suse.de>
47796         [BZ #15736]
47797         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47798         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47799         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47800         * string/test-strcasecmp.c (test_main): Run tests in several
47801         locales.
47802         * string/test-strncasecmp.c (test_main): Likewise.
47804         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47805         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47806         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47807         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47808         (__strncasecmp_ssse3) [PIC]: Likewise.
47810 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47812         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47814         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47815         instead of explicitly declaring xdecrypt.
47816         * nis/nss_nis/nis-publickey.c: Likewise.
47818 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47820         [BZ #15890]
47821         * nscd/aicache.c: Include res_hconf.h.
47822         (addhstaiX): Initialize res_hconf.
47824 2013-08-26  Andreas Schwab  <schwab@suse.de>
47826         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47827         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47829 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47831         * nscd/aicache.c (addhstaiX): Fix indentation.
47833 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47835         * configure.ac: Quote $build_pt_chown test.
47836         * configure: Regenerated.
47838 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47840         [BZ #15532]
47841         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47842         * math/s_cexpf.c (__cexpf): Likewise.
47843         * math/s_cexpl.c (__cexpl): Likewise.
47844         * math/libm-test.inc (cexp_test_data): Correct expected return
47845         value for NaN + i0.  Add another test.
47847 2013-08-22  David S. Miller  <davem@davemloft.net>
47849         * po/ca.po: Update Catalan translation from translation project.
47850         * po/uk.po: Add Ukrainian translations from translation project.
47852 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47854         [BZ #15797]
47855         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47856         is infinite, not alongside NaN test.
47857         * math/s_fdimf.c (__fdimf): Likewise.
47858         * math/s_fdiml.c (__fdiml): Likewise.
47859         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47860         errno is unchanged.
47862 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47864         * argp/argp-help.c: Fix typos.
47865         * crypt/speeds.c: Likewise.
47866         * csu/check_fds.c: Likewise.
47867         * elf/dl-load.c: Likewise.
47868         * elf/dl-open.c: Likewise.
47869         * elf/reldep3.c: Likewise.
47870         * elf/reldep.c: Likewise.
47871         * elf/sprof.c: Likewise.
47872         * iconv/iconv_charmap.c: Likewise.
47873         * iconv/skeleton.c: Likewise.
47874         * iconv/strtab.c: Likewise.
47875         * io/lockf64.c: Likewise.
47876         * libio/libioP.h: Likewise.
47877         * resolv/gai_notify.c: Likewise.
47878         * resolv/ns_name.c: Likewise.
47879         * resolv/ns_samedomain.c: Likewise.
47880         * resolv/res_send.c: Likewise.
47881         * stdlib/random.c: Likewise.
47882         * sunrpc/rpc/xdr.h: Likewise.
47883         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47884         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47885         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47886         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47887         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47888         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47890         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47891         * sysdeps/mach/hurd/check_fds.c: Likewise.
47892         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47893         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47894         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47895         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47896         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47897         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47898         * sysdeps/pthread/aio_notify.c: Likewise.
47899         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47900         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47901         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47902         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47903         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47905 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47907         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47908         version if bit_Slow_SSE4_2 is set.
47909         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47910         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47912 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47914         [BZ #15867]
47915         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47916         trampoline stack frame information.
47917         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47918         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47919         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47920         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47921         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47922         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47923         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47924         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47925         sa_flags value.
47926         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47927         interrupting a syscall and set with option SA_SIGINFO.
47929 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47931         [BZ #15531]
47932         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47933         argument is infinite.
47934         * math/s_cprojf.c (__cprojf): Likewise.
47935         * math/s_cprojl.c (__cprojl): Likewise.
47936         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47937         * math/libm-test.inc (cproj_test_data): Add more tests.
47939         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47941         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47942         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47943         size.  Use __ffs to determine corresponding shift.
47945 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47946             Roland McGrath  <roland@hack.frob.com>
47948         * Makefile (INSTALL): Remove trailing blank lines from output of
47949         makeinfo.
47951 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47953         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47954         Align 32 bit compat elf_greg to 8 bytes.
47956 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47958         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47960 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47962         * string/strcoll_l.c (coll_seq): New structure.
47963         (get_next_seq_cached): New function.
47964         (get_next_seq): New function.
47965         (do_compare): New function.
47966         (STRCOLL): Use GNU style definition.  Simplify implementation
47967         by using get_next_seq, get_next_seq_cached and do_compare.
47969 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47971         [BZ #14699]
47972         CVE-2013-4237
47973         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47974         member.
47975         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47976         member.
47977         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47978         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47979         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47980         conditional.
47981         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47982         GETDENTS_64BIT_ALIGNED.
47983         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47984         * manual/filesys.texi (Reading/Closing Directory): Document
47985         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47986         strongly.
47987         * manual/conf.texi (Limits for Files): Add portability note to
47988         NAME_MAX, PATH_MAX.
47989         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47991 2013-08-13  Andreas Schwab  <schwab@suse.de>
47993         [BZ #15749]
47994         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47995         of fabs.
47996         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47997         LDBL_MAX_EXP >= 16384]: Add tests for it.
47999 2013-08-12  David S. Miller  <davem@davemloft.net>
48001         * version.h (RELEASE): Set to "development".
48002         (VERSION): Set to "2.18.90".
48003         * NEWS: Add 2.19 section.
48005 2013-08-03  David S. Miller  <davem@davemloft.net>
48007         * po/ko.po: Update Korean translation from translation project.
48009 2013-08-01  David S. Miller  <davem@davemloft.net>
48011         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48012         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48013         Bilka.
48015 2013-07-30  David S. Miller  <davem@davemloft.net>
48017         * po/fr.po: Update French translation from translation project.
48019 2013-07-28  David S. Miller  <davem@davemloft.net>
48021         * po/cs.po: Update Czech translation from translation project.
48023         * po/sv.po: Update Swedish translation from translation project.
48025 2013-07-27  David S. Miller  <davem@davemloft.net>
48027         * po/eo.po: Update Esperanto translation from translation project.
48029         * po/vi.po: Update Vietnamese translation from translation project.
48031         * po/de.po: Update German translation from translation project.
48033 2013-07-26  David S. Miller  <davem@davemloft.net>
48035         * po/bg.po: Update Bulgarian translation from translation project.
48037         * po/nl.po: Update Dutch translation from translation project.
48038         * po/pl.po: Update Polish translation from translation project.
48039         * po/ru.po: Update Russian translation from translation project.
48041 2013-07-24  David S. Miller  <davem@davemloft.net>
48043         * po/libc.pot: Update.
48045 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48047         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48048         variable page size.
48049         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48050         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48051         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48053 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48055         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48057 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48058             Andreas Schwab  <schwab@suse.de>
48059             Roland McGrath  <roland@hack.frob.com>
48060             Joseph Myers  <joseph@codesourcery.com>
48061             Carlos O'Donell  <carlos@redhat.com>
48063         [BZ #15755]
48064         * config.h.in: Define HAVE_PT_CHOWN.
48065         * config.make.in (build-pt-chown): New variable.
48066         * configure.in (--enable-pt_chown): New configure option.
48067         * configure: Regenerate.
48068         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48069         build-pt-chown is enabled.
48070         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48071         pt_chown to fix pty ownership.
48072         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48073         CLOSE_ALL_FDS.
48074         * manual/install.texi (Configuring and compiling): Mention
48075         --enable-pt_chown. Add @findex for grantpt.
48076         * INSTALL: Regenerate.
48078 2013-07-20  David S. Miller  <davem@davemloft.net>
48080         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48081         difference between 32-bit and 64-bit.
48083 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48085         [BZ #15711]
48086         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48087         Avoid system header dependency with -ffreestanding.
48088         ($(objpfx)bits/syscall%d): Likewise.
48090 2013-07-13  David S. Miller  <davem@davemloft.net>
48092         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48093         underflows from atanl/atan2l due to bug 15319.
48094         (casinh_test_data): Likewise.
48096 2013-07-07  David S. Miller  <davem@davemloft.net>
48098         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48100 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48102         * sysdeps/i386/fpu/libm-test-ulps: Update.
48103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48105 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48107         * configure.in (--enable-lock-elision): Fix message text.
48108         * INSTALL: Regenerate.
48109         * configure: Regenerate.
48111 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48115 2013-07-03  Andreas Jaeger  <aj@suse.de>
48117         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48118         define.
48119         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48120         (ptrace_peeksiginfo_args): Add.
48121         (__ptrace_peeksiginfo_flags): Add.
48122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48123         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48124         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48126 2013-07-03  Allan McRae  <allan@archlinux.org>
48128         * sysdeps/i386/fpu/libm-test-ulps: Update.
48130 2013-07-02  David S. Miller  <davem@davemloft.net>
48132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48134 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48138 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48140         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48143 2013-07-02  Andi Kleen <ak@linux.intel.com>
48145         * config.h.in (ENABLE_LOCK_ELISION): Add.
48146         * configure.in (--enable-lock-elision): Add option.
48147         * manual/install.texi: Document --enable lock elision.
48148         * configure: Regenerate
48149         * INSTALL: Regenerate.
48151 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48153         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48154         SSE4.2 strcasecmp for libc.a.
48155         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48157 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48159         [BZ #13304]
48160         * soft-fp/op-common.h (_FP_FMA): New macro.
48161         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48162         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48163         (_FP_MUL_MEAT_1_imm): ... here.
48164         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48165         (_FP_MUL_MEAT_1_wide): ... here.
48166         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48167         (_FP_MUL_MEAT_1_hard): ... here.
48168         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48169         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48170         (_FP_MUL_MEAT_2_wide): ... here.
48171         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48172         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48173         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48174         (_FP_MUL_MEAT_2_gmp): ... here.
48175         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48176         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48177         (_FP_MUL_MEAT_4_wide): ... here.
48178         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48179         (_FP_MUL_MEAT_4_gmp): ... here.
48180         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48181         (_FP_WFRACBITS_DW_S): Likewise.
48182         (_FP_WFRACXBITS_DW_S): Likewise.
48183         (_FP_HIGHBIT_DW_S): Likewise.
48184         (FP_FMA_S): Likewise.
48185         (_FP_FRAC_HIGH_DW_S): Likewise.
48186         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48187         (_FP_WFRACBITS_DW_D): Likewise.
48188         (_FP_WFRACXBITS_DW_D): Likewise.
48189         (_FP_HIGHBIT_DW_D): Likewise.
48190         (FP_FMA_D): Likewise.
48191         (_FP_FRAC_HIGH_DW_D): Likewise.
48192         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48193         (_FP_WFRACBITS_DW_E): Likewise.
48194         (_FP_WFRACXBITS_DW_E): Likewise.
48195         (_FP_HIGHBIT_DW_E): Likewise.
48196         (FP_FMA_E): Likewise.
48197         (_FP_FRAC_HIGH_DW_E): Likewise.
48198         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48199         (_FP_WFRACBITS_DW_Q): Likewise.
48200         (_FP_WFRACXBITS_DW_Q): Likewise.
48201         (_FP_HIGHBIT_DW_Q): Likewise.
48202         (FP_FMA_Q): Likewise.
48203         (_FP_FRAC_HIGH_DW_Q): Likewise.
48204         * soft-fp/fmasf4.c: New file.
48205         * soft-fp/fmadf4.c: Likewise.
48206         * soft-fp/fmatf4.c: Likewise.
48208 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48211         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48212         Silvermont.
48213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48214         macro.
48215         (index_Slow_SSE4_2): Likewise.
48216         (index_Prefer_PMINUB_for_stringop): Likewise.
48217         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48218         bit_Slow_SSE4_2 is set.
48219         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48220         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48222 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48224         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48225         rtld_global._dl_hwcap2.
48226         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48227         POWER8.
48228         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48229         POWER8 feature descriptions defined in _dl_hwcap2.
48230         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48231         string handling for POWER8 feature bits.
48232         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48233         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48234         _dl_powerpc_cap_flags.
48235         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48236         * sysdeps/powerpc/rtld-global-offsets.sym
48237         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48238         _dl_hwcap2 in the rtld_global_ro structure.
48240 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48242         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48243         hardware capabilities in support of AT_HWCAP2.
48244         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48245         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48246         GLRO(dl_hwcap2).
48247         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48248         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48249         explicitly the unknown a_type display mechanism is used.
48250         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48251         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48252         struct member.
48253         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48254         to macro prototype for AT_HWCAP2 support.
48255         * sysdeps/i386/dl-procinfo.h: Likewise.
48256         * sysdeps/s390/dl-procinfo.h: Likewise.
48257         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48258         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48259         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48260         return -1 for unknown a_type display fallback.
48261         * sysdeps/sparc/dl-procinfo.h: Likewise.
48262         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48263         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48265 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48267         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48268         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48270 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48272         [BZ #12492]
48273         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48274         mprotect making __stack_prot writable.
48276 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48277             Joseph Myers  <joseph@codesourcery.com>
48279         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48280         as being properly aligned.
48282 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48284         * dlfcn/modstatic5.c: New file.
48285         * dlfcn/tststatic5.c: New file.
48286         * dlfcn/Makefile (tests): Add tststatic5.
48287         (tests-static): Likewise.
48288         (modules-names): Add modstatic5.
48289         (tststatic5-ENV): New variable.
48290         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48292         [BZ #15022]
48293         * elf/dl-support.c (_dl_main_map): New variable.
48294         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48295         (_dl_nns, _dl_load_adds): Set to 1.
48296         (_dl_initial_searchlist): Refer to _dl_main_map.
48297         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48298         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48299         call to _dl_get_origin.
48300         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48301         around call_map.
48302         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48303         * dlfcn/modstatic3.c: New file.
48304         * dlfcn/tststatic3.c: New file.
48305         * dlfcn/tststatic4.c: New file.
48306         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48307         (tests-static): Likewise.
48308         (modules-names): Add modstatic3.
48309         (tststatic3-ENV, tststatic4-ENV): New variables.
48310         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48311         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48313 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48315         * configure.in (CC): Require GCC version 4.4 or later.
48316         * configure: Regenerated.
48317         * manual/install.texi (Tools for Compilation): Update GCC version
48318         requirement.
48319         * INSTALL: Regenerated.
48321 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48323         [BZ #15674]
48324         * string/test-memcmp.c (check2): New.
48325         (main): Call check2.
48327         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48329 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48331         [BZ #15022]
48332         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48333         over to...
48334         (dl_open_worker) [!SHARED]: ... here.
48336 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48338         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48340 2013-06-25  Richard Henderson  <rth@redhat.com>
48342         * locale/programs/locarchive.c: Include <libc-internal.h>
48344 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48346         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48347         trailing whitespace removed.
48349 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48351         [BZ #10283]
48352         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48353         * locale/programs/locarchive.c: Include libc-mmap.h.
48354         (prepare_address_space): Take two new outputs (the mmap base and len).
48355         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48356         values.
48357         (create_archive): Declare new mmap base and len values for
48358         prepare_address_space, and store the result in ah.
48359         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48360         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48361         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48362         Declare new mmap base and len values for
48363         prepare_address_space, and store the result in new_ah.
48364         (open_archive): Declare new mmap base and len values for
48365         prepare_address_space, and store the result in ah.
48366         (close_archive): If ah->mmap_base is not NULL, use that and
48367         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48368         * sysdeps/generic/libc-mmap.h: New file.
48370 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48372         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48373         (ALIGN_UP): Likewise.
48374         (PTR_ALIGN_DOWN): Likewise.
48375         (PTR_ALIGN_UP): Likewise.
48377 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48379         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48380         entry mapped to PPC_PLATFORM_POWER8.
48381         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48382         POWER8.
48383         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48384         (_dl_string_platform): Add case for exporting platform position for
48385         POWER8.
48386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48387         search path to sysdeps/powerpc/powerpc32/power8 directory.
48388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48389         search path to sysdeps/powerpc/powerpc64/power8 directory.
48390         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48391         power7 directories.
48392         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48393         power7 directories.
48395 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48397         * INSTALL: Regenerate.
48399         * nscd/connections.c (nscd_init): Fix comment.
48401 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48403         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48405         [BZ #15667]
48406         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48407         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48409 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48411         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48412         DL_DST_REQ_STATIC.
48413         (DL_DST_REQ_STATIC): Remove macro.
48415 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48417         [BZ #7006]
48418         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48419         with a shift of 0 bits.
48421 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48423         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48424         $(tststatic-ENV).
48426 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48428         [BZ #15655]
48429         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48431 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48433         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48434         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48435         accepts -fno-tree-loop-distribute-patterns.
48436         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48437         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48438         recursive call.
48439         * string/memset.c (memset): Likewise.
48440         * string/test-memmove.c (simple_memmove): Disable loop transformation
48441         to library calls.
48442         * string/test-memset.c (simple_memset): Likewise.
48443         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48444         * benchtests/bench-memset.c (simple_memset): Likewise.
48445         * configure: Regenerated.
48447 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48449         * math/test-misc.c (main): Ignore fesetround failure when failures
48450         of subsequent rounding tests would be ignored.
48452         [BZ #15654]
48453         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48454         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48455         * math/fegetenv.c (__fegetenv): Return 0.
48456         * math/fegetexcept.c (fegetexcept): Return 0.
48457         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48458         FE_TONEAREST.
48459         * math/feholdexcpt.c (feholdexcept): Return 0.
48460         * math/fesetenv.c (__fesetenv): Return 0.
48461         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48462         argument FE_TONEAREST.
48463         * math/feupdateenv.c (__feupdateenv): Return 0.
48464         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48466 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48468         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48469         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48470         ($(objpfx)rtld-%.os rules): Use them.
48472 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48474         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48475         fields.
48477 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48479         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48480         length of target pattern, then descending length of dependency pattern.
48481         * configure.in (AWK): Require gawk 3.1.2 or newer.
48482         * manual/install.texi (Tools for Compilation): Say that we do.
48483         * configure: Regenerated.
48485         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48486         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48487         * scripts/sysd-rules.awk: ... this new script.
48488         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48489         than a glob-style pattern.
48491 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48493         * math/test-misc.c (main): Do not treat incorrectly rounded
48494         conversions as failure unless ROUNDING_TESTS passes.
48496 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48498         [BZ #15631]
48499         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48500         restore exception state around main square root computation, then
48501         check for inexactness explicitly.
48503         * math/libm-test.inc (fma_test_data): Add another test.
48505 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48507         * manual/threads.texi (Non-POSIX Extensions): New document
48508         node.  Document pthread_getattr_default_np and
48509         pthread_setattr_default_np.
48511         * Versions.def (libpthread): Add GLIBC_2.18.
48512         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48514         Likewise.
48515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48516         Likewise.
48517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48518         Likewise.
48519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48520         Likewise.
48521         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48522         Likewise.
48523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48524         Likewise.
48525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48526         Likewise.
48527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48528         Likewise.
48529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48530         Likewise.
48532 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48535         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48537 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48538             H.J. Lu  <hjl.tools@gmail.com>
48540         [BZ #15627]
48541         * sysdeps/x86_64/rtld-memset.c: Remove file.
48542         * sysdeps/x86_64/rtld-memset.S: New file.
48544 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48546         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48547         (test_in_one_mode): Take arguments for whether the rounding mode
48548         is supported for each floating-point type.
48549         (do_test): Pass new arguments to test_in_one_mode using
48550         ROUNDING_TESTS.
48552 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48554         * posix/tst-waitid.c (do_test): Distinguish different instances of
48555         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48556         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48557         before entering the kernel for waitpid.
48559 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48561         * NEWS: Fix note on clock function precision.  Text by Roland
48562         McGrath.
48564 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48566         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48567         it into place only when and if the sanity check passes.
48569 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48571         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48572         output for whether conversion result is exact.  Take argument
48573         indicating whether type is IBM long double.
48574         (round_for_all): Change need_exact field to ibm_ld.
48575         * stdlib/tst-strtod-round.c (struct exactness): New type.
48576         (struct test): Change bool ld_ok field to struct exactness exact.
48577         (TEST): Update all definitions for change to field.
48578         (tests): Regenerate array contents.
48579         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48580         field value.  Check for IBM long double here.
48581         (do_test): Update calls to test_in_one_mode.
48583 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48585         [BZ #12515]
48586         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48587         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48589 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48591         [BZ #15605]
48592         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48593         generated by the compiler on loop optimizations.
48594         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48595         general definitions.
48597 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48599         * math/bug-nextafter.c: Include <math-tests.h>.
48600         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48601         the relevant type.
48602         * math/bug-nexttoward.c: Include <math-tests.h>.
48603         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48604         the relevant type.
48605         * math/test-misc.c: Include <math-tests.h>.
48606         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48607         the relevant type.
48609 2013-06-12  Andreas Jaeger  <aj@suse.de>
48611         * po/ia.po: Update Interlingua translation from translation
48612         project.
48614 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48616         * include/fenv.h: Include stdbool.h.
48617         (struct rm_ctx): New structure.
48618         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48619         Define macro.
48620         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48621         (SET_RESTORE_ROUNDF): Likewise.
48622         (SET_RESTORE_ROUNDL): Likewise.
48623         (SET_RESTORE_ROUND_NOEX): Likewise.
48624         (SET_RESTORE_ROUND_NOEXF): Likewise.
48625         (SET_RESTORE_ROUND_NOEXL): Likewise.
48626         (SET_RESTORE_ROUND_53BIT): Likewise.
48627         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48628         (libc_feresetround_noexf_ctx): Likewise.
48629         (libc_feresetround_noexl_ctx): Likewise.
48630         (libc_feholdsetround_53bit_ctx): Likewise.
48631         (libc_feresetround_53bit_ctx): Likewise.
48632         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48633         (libc_feholdexcept_setround_sse_ctx): New function.
48634         (libc_fesetenv_sse_ctx): Likewise.
48635         (libc_feupdateenv_sse_ctx): Likewise.
48636         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48637         (libc_feholdexcept_setround_387_ctx): Likewise.
48638         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48639         (libc_feholdsetround_387_prec_ctx): Likewise.
48640         (libc_feholdsetround_387_ctx): Likewise.
48641         (libc_feholdsetround_387_53bit_ctx): Likewise.
48642         (libc_feholdsetround_sse_ctx): Likewise.
48643         (libc_feresetround_sse_ctx): Likewise.
48644         (libc_feresetround_387_ctx): Likewise.
48645         (libc_feupdateenv_387_ctx): Likewise.
48646         (libc_feholdexcept_setroundf_ctx): Define macro.
48647         (libc_fesetenvf_ctx): Likewise.
48648         (libc_feupdateenvf_ctx): Likewise.
48649         (libc_feholdsetroundf_ctx): Likewise.
48650         (libc_feresetroundf_ctx): Likewise.
48651         (libc_feholdexcept_setround_ctx): Likewise.
48652         (libc_fesetenv_ctx): Likewise.
48653         (libc_feupdateenv_ctx): Likewise.
48654         (libc_feholdsetround_ctx): Likewise.
48655         (libc_feresetround_ctx): Likewise.
48656         (libc_feholdexcept_setroundl_ctx): Likewise.
48657         (libc_feupdateenvl_ctx): Likewise.
48658         (libc_feholdsetroundl_ctx): Likewise.
48659         (libc_feresetroundl_ctx): Likewise.
48660         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48661         (libc_feresetround_53bit_ctx): Likewise.
48663 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48665         * locale/iso-639.def: Convert to UTF-8.
48667 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48669         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48670         (EXCEPTION_TESTS_double): Likewise.
48671         (EXCEPTION_TESTS_long_double): Likewise.
48672         (EXCEPTION_TESTS): Likewise.
48673         * math/libm-test.inc (test_exceptions): Only test exceptions if
48674         EXCEPTION_TESTS (FLOAT).
48676 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678         * benchtests/Makefile (string-bench): Add strcpy_chk and
48679         stpcpy_chk.
48680         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48681         * benchtests/bench-stpcpy_chk.c: New file.
48682         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48683         * benchtests/bench-strcpy_chk.c: New file.
48684         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48685         code.
48686         (do_test): Likewise.
48688 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48690         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48691         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48692         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48693         with tabs where appropriate.
48694         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48695         dl-procinfo.h.
48696         [PPC_PLATFORM_PPC440]: Likewise.
48697         [PPC_PLATFORM_PPC464]: Likewise.
48698         [PPC_PLATFORM_PPC476]: Likewise.
48699         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48700         ppc464, and ppc476 platform strings merging from ports/
48701         dl-procinfo.h.
48703 2013-06-11  Andreas Schwab  <schwab@suse.de>
48705         [BZ #14991]
48706         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48707         (from_ucs4_idx): Regenerate.
48708         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48709         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48710         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48711         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48712         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48713         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48714         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48715         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48716         from FROM_LOOP and TO_LOOP specific macros.
48717         (BODY): Handle combining characters.
48718         * iconvdata/BIG5HKSCS.irreversible: Update.
48719         * iconvdata/BIG5HKSCS.precomposed: New file.
48720         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48721         characters.
48722         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48724 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48726         * include/sys/time.h: Fix indentation and add copyright header.
48728         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48729         (do_test): Likewise.
48730         * string/test-memchr.c (do_one_test): Likewise.
48731         (do_test): Likewise.
48732         * string/test-memcmp.c (do_one_test): Likewise.
48733         (do_test): Likewise.
48734         * string/test-memcpy.c (do_one_test): Likewise.
48735         (do_test): Likewise.
48736         * string/test-memmem.c (do_one_test): Likewise.
48737         (do_test): Likewise.
48738         (do_random_tests): Likewise.
48739         * string/test-memmove.c (do_one_test): Likewise.
48740         (do_test): Likewise.
48741         * string/test-memset.c (do_one_test): Likewise.
48742         (do_test): Likewise.
48743         * string/test-rawmemchr.c (do_one_test): Likewise.
48744         (do_test): Likewise.
48745         * string/test-strcasecmp.c (do_one_test): Likewise.
48746         (do_test): Likewise.
48747         * string/test-strcasestr.c (do_one_test): Likewise.
48748         (do_test): Likewise.
48749         * string/test-strcat.c (do_one_test): Likewise.
48750         (do_test): Likewise.
48751         * string/test-strchr.c (do_one_test): Likewise.
48752         (do_test): Likewise.
48753         * string/test-strcmp.c (do_one_test): Likewise.
48754         (do_test): Likewise.
48755         * string/test-strcpy.c (do_one_test): Likewise.
48756         (do_test): Likewise.
48757         * string/test-string.h: Likewise.
48758         (test_init): Likewise.
48759         * string/test-strlen.c (do_one_test): Likewise.
48760         (do_test): Likewise.
48761         * string/test-strncasecmp.c (do_one_test): Likewise.
48762         (do_test): Likewise.
48763         * string/test-strncat.c (do_one_test): Likewise.
48764         (do_test): Likewise.
48765         * string/test-strncmp.c (do_one_test): Likewise.
48766         (do_test_limit): Likewise.
48767         (do_test): Likewise.
48768         * string/test-strncpy.c (do_one_test): Likewise.
48769         (do_test): Likewise.
48770         * string/test-strnlen.c (do_one_test): Likewise.
48771         (do_test): Likewise.
48772         * string/test-strpbrk.c (do_one_test): Likewise.
48773         (do_test): Likewise.
48774         * string/test-strrchr.c (do_one_test): Likewise.
48775         (do_test): Likewise.
48776         * string/test-strspn.c (do_one_test): Likewise.
48777         (do_test): Likewise.
48778         * string/test-strstr.c (do_one_test): Likewise.
48779         (do_test): Likewise.
48781         * benchtests/Makefile (string-bench): Add string benchmarks.
48782         * benchtests/bench-bcopy-ifunc.c: New file.
48783         * benchtests/bench-bcopy.c: New file.
48784         * benchtests/bench-bzero-ifunc.c: New file.
48785         * benchtests/bench-bzero.c: New file.
48786         * benchtests/bench-memccpy-ifunc.c: New file.
48787         * benchtests/bench-memccpy.c: New file.
48788         * benchtests/bench-memchr-ifunc.c: New file.
48789         * benchtests/bench-memchr.c: New file.
48790         * benchtests/bench-memcmp-ifunc.c: New file.
48791         * benchtests/bench-memcmp.c: New file.
48792         * benchtests/bench-memmem-ifunc.c: New file.
48793         * benchtests/bench-memmem.c: New file.
48794         * benchtests/bench-memmove-ifunc.c: New file.
48795         * benchtests/bench-memmove.c: New file.
48796         * benchtests/bench-mempcpy-ifunc.c: New file.
48797         * benchtests/bench-mempcpy.c: New file.
48798         * benchtests/bench-memset-ifunc.c: New file.
48799         * benchtests/bench-memset.c: New file.
48800         * benchtests/bench-rawmemchr-ifunc.c: New file.
48801         * benchtests/bench-rawmemchr.c: New file.
48802         * benchtests/bench-stpcpy-ifunc.c: New file.
48803         * benchtests/bench-stpcpy.c: New file.
48804         * benchtests/bench-stpncpy-ifunc.c: New file.
48805         * benchtests/bench-stpncpy.c: New file.
48806         * benchtests/bench-strcasecmp-ifunc.c: New file.
48807         * benchtests/bench-strcasecmp.c: New file.
48808         * benchtests/bench-strcasestr-ifunc.c: New file.
48809         * benchtests/bench-strcasestr.c: New file.
48810         * benchtests/bench-strcat-ifunc.c: New file.
48811         * benchtests/bench-strcat.c: New file.
48812         * benchtests/bench-strchr-ifunc.c: New file.
48813         * benchtests/bench-strchr.c: New file.
48814         * benchtests/bench-strchrnul-ifunc.c: New file.
48815         * benchtests/bench-strchrnul.c: New file.
48816         * benchtests/bench-strcmp-ifunc.c: New file.
48817         * benchtests/bench-strcmp.c: New file.
48818         * benchtests/bench-strcpy-ifunc.c: New file.
48819         * benchtests/bench-strcpy.c: New file.
48820         * benchtests/bench-strcspn-ifunc.c: New file.
48821         * benchtests/bench-strcspn.c: New file.
48822         * benchtests/bench-strlen-ifunc.c: New file.
48823         * benchtests/bench-strlen.c: New file.
48824         * benchtests/bench-strncasecmp-ifunc.c: New file.
48825         * benchtests/bench-strncasecmp.c: New file.
48826         * benchtests/bench-strncat-ifunc.c: New file.
48827         * benchtests/bench-strncat.c: New file.
48828         * benchtests/bench-strncmp-ifunc.c: New file.
48829         * benchtests/bench-strncmp.c: New file.
48830         * benchtests/bench-strncpy-ifunc.c: New file.
48831         * benchtests/bench-strncpy.c: New file.
48832         * benchtests/bench-strnlen-ifunc.c: New file.
48833         * benchtests/bench-strnlen.c: New file.
48834         * benchtests/bench-strpbrk-ifunc.c: New file.
48835         * benchtests/bench-strpbrk.c: New file.
48836         * benchtests/bench-strrchr-ifunc.c: New file.
48837         * benchtests/bench-strrchr.c: New file.
48838         * benchtests/bench-strspn-ifunc.c: New file.
48839         * benchtests/bench-strspn.c: New file.
48840         * benchtests/bench-strstr-ifunc.c: New file.
48841         * benchtests/bench-strstr.c: New file.
48843         * benchtests/Makefile: Disable parallel execution of targets.
48844         (string-bench): Add memcpy.
48845         (benchset): New variable to store a list of benchmark sets.
48846         (bench-func): Renamed from bench.
48847         (bench-set): New target.
48848         (bench): Depend on bench-func and bench-set.
48849         * benchtests/README: Add section on benchmark sets.
48850         * benchtests/bench-memcpy-ifunc.c: New file.
48851         * benchtests/bench-memcpy.c: New file.
48852         * benchtests/bench-string.h: New file.
48854 2013-06-11  Andreas Schwab  <schwab@suse.de>
48856         [BZ #15577]
48857         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48858         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48859         values in the triple.
48860         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48861         terminator in the group key.
48863 2013-06-11  Andreas Jaeger  <aj@suse.de>
48865         * po/zh_TW.po: Update Chinese (traditional) translation from
48866         translation project.
48868 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48870         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48871         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48872         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48873         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48874         (clock_getcpuclockid): Likewise.
48875         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48876         Add weak_alias and libc_hidden_def.
48877         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48878         * rt/clock_gettime.c (clock_gettime): Rename to
48879         __clock_gettime.  Add weak_alias and libc_hidden_def.
48880         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48881         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48882         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48883         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48884         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48885         Likewise.
48886         * rt/clock_settime.c (clock_settime): Rename to
48887         __clock_settime.  Add weak_alias and libc_hidden_def.
48888         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48890 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48892         * mach/err_boot.sub: Remove trailing whitespace.
48893         * mach/err_ipc.sub: Likewise.
48894         * mach/err_mach.sub: Likewise.
48896         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48897         (ROUNDING_TESTS_double): Likewise.
48898         (ROUNDING_TESTS_long_double): Likewise.
48899         (ROUNDING_TESTS): Likewise.
48900         * math/libm-test.inc: Include <math-tests.h>.
48901         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48902         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48903         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48904         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48906 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48908         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48909         of assigning.
48911 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48913         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48914         otherwise empty TRANS lines.
48915         * sysdeps/gnu/errlist.c: Regenerated.
48917         * catgets/gencat.c (error_print): Use (void) in function
48918         definition.
48919         * crypt/crypt_util.c (__init_des): Likewise.
48920         * crypt/speeds.c (Stop): Likewise.
48921         (main): Likewise.
48922         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48923         * inet/ruserpass.c (token): Likewise.
48924         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48925         * intl/localealias.c (extend_alias_table): Likewise.
48926         * intl/plural-exp.c (init_germanic_plural): Likewise.
48927         * libio/fcloseall.c (__fcloseall): Likewise.
48928         * libio/genops.c (_IO_flush_all): Likewise.
48929         (_IO_flush_all_linebuffered): Likewise.
48930         (_IO_cleanup): Likewise.
48931         (_IO_iter_begin): Likewise.
48932         (_IO_iter_end): Likewise.
48933         (_IO_list_lock): Likewise.
48934         (_IO_list_unlock): Likewise.
48935         (_IO_list_resetlock): Likewise.
48936         * libio/getchar.c (getchar): Likewise.
48937         * libio/getchar_u.c (getchar_unlocked): Likewise.
48938         * libio/getwchar.c (getwchar): Likewise.
48939         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48940         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48941         * login/getpt.c (__getpt): Likewise.
48942         * login/tst-utmp.c (main): Likewise.
48943         * malloc/hooks.c (__malloc_check_init): Likewise.
48944         * malloc/malloc.c (__malloc_stats): Likewise.
48945         * malloc/mtrace.c (tr_break): Likewise.
48946         (mtrace): Likewise.
48947         (muntrace): Likewise.
48948         * misc/fstab.c (endfsent): Likewise.
48949         * misc/getclktck.c (__getclktck): Likewise.
48950         * misc/getdtsz.c (__getdtablesize): Likewise.
48951         * misc/gethostid.c (gethostid): Likewise.
48952         * misc/getpagesize.c (__getpagesize): Likewise.
48953         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48954         (__get_nprocs): Likewise.
48955         (__get_phys_pages): Likewise.
48956         (__get_avphys_pages): Likewise.
48957         * misc/getttyent.c (getttyent): Likewise.
48958         (setttyent): Likewise.
48959         (endttyent): Likewise.
48960         * misc/getusershell.c (getusershell): Likewise.
48961         (endusershell): Likewise.
48962         (setusershell): Likewise.
48963         (initshells): Likewise.
48964         * misc/hsearch.c (__hdestroy): Likewise.
48965         * misc/sync.c (sync): Likewise.
48966         * misc/syslog.c (closelog_internal): Likewise.
48967         (closelog): Likewise.
48968         * misc/ttyslot.c (ttyslot): Likewise.
48969         * misc/vhangup.c (vhangup): Likewise.
48970         * posix/fork.c (__fork): Likewise.
48971         * posix/getegid.c (__getegid): Likewise.
48972         * posix/geteuid.c (__geteuid): Likewise.
48973         * posix/getgid.c (__getgid): Likewise.
48974         * posix/getpid.c (__getpid): Likewise.
48975         * posix/getppid.c (__getppid): Likewise.
48976         * posix/getuid.c (__getuid): Likewise.
48977         * posix/pause.c (pause): Likewise.
48978         * posix/setpgrp.c (setpgrp): Likewise.
48979         * posix/setsid.c (__setsid): Likewise.
48980         * posix/test-vfork.c (noop): Likewise.
48981         * resolv/gethnamaddr.c (_endhtent): Likewise.
48982         (_gethtent): Likewise.
48983         (ht_endhostent): Likewise.
48984         (gethostent): Likewise.
48985         (dns_service): Likewise.
48986         * stdlib/drand48.c (drand48): Likewise.
48987         * stdlib/lrand48.c (lrand48): Likewise.
48988         * stdlib/mrand48.c (mrand48): Likewise.
48989         * stdlib/rand.c (rand): Likewise.
48990         * stdlib/random.c (__random): Likewise.
48991         * stdlib/setenv.c (clearenv): Likewise.
48992         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48993         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48994         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48995         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48996         (__get_nprocs): Likewise.
48997         (__get_phys_pages): Likewise.
48998         (__get_avphys_pages): Likewise.
48999         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49000         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49001         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49002         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49003         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49004         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49005         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49006         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49007         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49008         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49009         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49010         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49011         * sysdeps/posix/clock.c (clock): Likewise.
49012         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49013         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49014         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49015         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49016         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49017         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49018         (__get_nprocs_conf): Likewise.
49019         (__get_phys_pages): Likewise.
49020         (__get_avphys_pages): Likewise.
49021         * time/clock.c (clock): Likewise.
49022         * time/tzset.c (__tzname_max): Likewise.
49024 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49026         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49027         (__bswap_32): Do not use "register".
49028         * crypt/crypt.c (_ufc_doit_r): Likewise.
49029         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49030         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49031         * gmon/gmon.c (__monstartup): Likewise.
49032         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49033         * hurd/hurdmalloc.c (more_memory): Likewise.
49034         (malloc): Likewise.
49035         (free): Likewise.
49036         (realloc): Likewise.
49037         (malloc_fork_prepare): Likewise.
49038         (malloc_fork_parent): Likewise.
49039         (malloc_fork_child): Likewise.
49040         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49041         (_svcauth_des): Likewise.
49042         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49043         * inet/inet_net.c (inet_network): Likewise.
49044         * inet/inet_netof.c (inet_netof): Likewise.
49045         * inet/rcmd.c (__validuser2_sa): Likewise.
49046         * io/fts.c (fts_open): Likewise.
49047         (fts_load): Likewise.
49048         (fts_close): Likewise.
49049         (fts_read): Likewise.
49050         (fts_children): Likewise.
49051         (fts_build): Likewise.
49052         (fts_stat): Likewise.
49053         (fts_sort): Likewise.
49054         (fts_alloc): Likewise.
49055         (fts_lfree): Likewise.
49056         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49057         (_IO_file_xsgetn): Likewise.
49058         (_IO_file_xsgetn_mmap): Likewise.
49059         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49060         (_IO_cookie_write): Likewise.
49061         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49062         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49063         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49064         * malloc/obstack.c (_obstack_begin): Likewise.
49065         (_obstack_begin_1): Likewise.
49066         (_obstack_newchunk): Likewise.
49067         (_obstack_allocated_p): Likewise.
49068         (obstack_free): Likewise.
49069         (_obstack_memory_used): Likewise.
49070         * misc/getttyent.c (getttynam): Likewise.
49071         (getttyent): Likewise.
49072         (skip): Likewise.
49073         (value): Likewise.
49074         * misc/getusershell.c (initshells): Likewise.
49075         * misc/syslog.c (__vsyslog_chk): Likewise.
49076         * misc/ttyslot.c (ttyslot): Likewise.
49077         * nis/nis_hash.c (__nis_hash): Likewise.
49078         * posix/fnmatch_loop.c (FCT): Likewise.
49079         * posix/getconf.c (print_all): Likewise.
49080         (main): Likewise.
49081         * posix/getopt.c (exchange): Likewise.
49082         * posix/glob.c (globfree): Likewise.
49083         (prefix_array): Likewise.
49084         (__glob_pattern_type): Likewise.
49085         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49086         (NS_GET32): Likewise.
49087         (NS_PUT16): Likewise.
49088         (NS_PUT32): Likewise.
49089         * resolv/gethnamaddr.c (getanswer): Likewise.
49090         (gethostbyname2): Likewise.
49091         (gethostbyaddr): Likewise.
49092         (_gethtent): Likewise.
49093         (_gethtbyname2): Likewise.
49094         (_gethtbyaddr): Likewise.
49095         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49096         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49097         * resolv/res_init.c (__res_vinit): Likewise.
49098         (net_mask): Likewise.
49099         * resolv/res_mkquery.c (outchar): Likewise.
49100         (PRINT): Likewise.
49101         * stdio-common/printf_fp.c (outchar): Likewise.
49102         (PRINT): Likewise.
49103         * stdio-common/printf_fphex.c (outchar): Likewise.
49104         (PRINT): Likewise.
49105         * stdio-common/printf_size.c (outchar): Likewise.
49106         (PRINT): Likewise.
49107         * stdio-common/test_rdwr.c (main): Likewise.
49108         * stdio-common/tfformat.c (matches): Likewise.
49109         * stdio-common/vfprintf.c (outchar): Likewise.
49110         (printf_unknown): Likewise.
49111         (buffered_vfprintf): Likewise.
49112         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49113         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49114         (ReadFile): Likewise.
49115         * stdlib/qsort.c (SWAP): Likewise.
49116         (_quicksort): Likewise.
49117         * stdlib/setenv.c (__add_to_environ): Likewise.
49118         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49119         * stdlib/strtol_l.c (__strtol_l): Likewise.
49120         * stdlib/tst-strtod.c (main): Likewise.
49121         * stdlib/tst-strtol.c (main): Likewise.
49122         * stdlib/tst-strtoll.c (main): Likewise.
49123         * string/bits/string2.h (__strcmp_cc): Likewise.
49124         (__strcmp_cg): Likewise.
49125         (__strcspn_c1): Likewise.
49126         (__strcspn_c2): Likewise.
49127         (__strcspn_c3): Likewise.
49128         (__strspn_c1): Likewise.
49129         (__strspn_c2): Likewise.
49130         (__strspn_c3): Likewise.
49131         (__strsep_1c): Likewise.
49132         (__strsep_2c): Likewise.
49133         (__strsep_3c): Likewise.
49134         * string/memccpy.c (__memccpy): Likewise.
49135         * string/stpcpy.c (__stpcpy): Likewise.
49136         * string/strcmp.c (strcmp): Likewise.
49137         * string/strrchr.c (strrchr): Likewise.
49138         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49139         Likewise.
49140         * sysdeps/mach/hurd/getcwd.c
49141         (_hurd_canonicalize_directory_name_internal): Likewise.
49142         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49143         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49144         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49145         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49146         Likewise, in both definitions.
49147         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49148         definitions.
49149         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49150         64] (__bswap_64): Likewise.
49151         * time/test_time.c (main): Likewise.
49152         * time/tzfile.c (__tzfile_read): Likewise.
49153         (__tzfile_compute): Likewise.
49154         * time/tzset.c (__tzset_parse_tz): Likewise.
49155         (tzset_internal): Likewise.
49156         (compute_change): Likewise.
49157         * wcsmbs/wcscat.c (__wcscat): Likewise.
49158         * wcsmbs/wcschr.c (wcschr): Likewise.
49159         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49160         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49161         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49162         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49163         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49164         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49165         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49166         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49167         * wcsmbs/wmemset.c (wmemset): Likewise.
49169 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49171         * scripts/config.guess: Update to version 2013-05-16.
49172         * scripts/config.sub: Update to version 2013-04-24.
49173         * scripts/install-sh: Update to version 2011-11-20.07.
49174         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49175         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49177 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49179         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49180         * elf/sln.c: Likewise.
49181         * hurd/hurd/ioctl.h: Likewise.
49182         * hurd/hurdmalloc.c: Likewise.
49183         * hurd/xattr.c: Likewise.
49184         * include/shlib-compat.h: Likewise.
49185         * inet/ruserpass.c: Likewise.
49186         * libio/iofgets_u.c: Likewise.
49187         * libio/iofgetws_u.c: Likewise.
49188         * locale/programs/ld-identification.c: Likewise.
49189         * locale/programs/ld-time.c: Likewise.
49190         * mach/msg-destroy.c: Likewise.
49191         * nss/nss_files/files-netgrp.c: Likewise.
49192         * resolv/res_data.c: Likewise.
49193         * soft-fp/op-1.h: Likewise.
49194         * soft-fp/op-2.h: Likewise.
49195         * soft-fp/op-4.h: Likewise.
49196         * soft-fp/op-common.h: Likewise.
49197         * stdio-common/printf_fphex.c: Likewise.
49198         * stdlib/strtod_l.c: Likewise.
49199         * sunrpc/rpc/clnt.h: Likewise.
49200         * sysdeps/generic/framestate.c: Likewise.
49201         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49202         * sysdeps/i386/bsd-setjmp.S: Likewise.
49203         * sysdeps/i386/__longjmp.S: Likewise.
49204         * sysdeps/i386/setjmp.S: Likewise.
49205         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49206         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49207         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49208         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49209         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49210         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49211         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49212         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49213         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49214         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49215         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49216         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49217         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49218         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49219         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49220         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49223         * sysdeps/ieee754/support.c: Likewise.
49224         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49225         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49226         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49227         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49228         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49229         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49230         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49231         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49232         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49233         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49234         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49235         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49236         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49237         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49238         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49239         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49240         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49243 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49245         * posix/transbug.c: Remove executable mode.
49247 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49249         * crypt/speeds.c: Remove trailing whitespace.
49250         * dlfcn/default.c: Likewise.
49251         * elf/ifuncdep2.c: Likewise.
49252         * elf/ifuncmain1.c: Likewise.
49253         * elf/ifuncmain1vis.c: Likewise.
49254         * elf/testobj.h: Likewise.
49255         * elf/tst-stackguard1.c: Likewise.
49256         * gmon/sys/gmon.h: Likewise.
49257         * hurd/hurdmsg.c: Likewise.
49258         * hurd/new-fd.c: Likewise.
49259         * hurd/ports-get.c: Likewise.
49260         * iconvdata/ibm1008_420.c: Likewise.
49261         * inet/tst-getni1.c: Likewise.
49262         * inet/tst-getni2.c: Likewise.
49263         * libio/ioungetc.c: Likewise.
49264         * libio/wfiledoalloc.c: Likewise.
49265         * manual/libm-err-tab.pl: Likewise.
49266         * math/w_dremf.c: Likewise.
49267         * misc/ftruncate.c: Likewise.
49268         * posix/bug-glob2.c: Likewise.
49269         * posix/tst-pcre.c: Likewise.
49270         * posix/wait4.c: Likewise.
49271         * resolv/README: Likewise.
49272         * resolv/res_debug.h: Likewise.
49273         * resolv/tst-inet_ntop.c: Likewise.
49274         * setjmp/bug269-setjmp.c: Likewise.
49275         * soft-fp/extended.h: Likewise.
49276         * soft-fp/op-1.h: Likewise.
49277         * soft-fp/op-2.h: Likewise.
49278         * soft-fp/op-4.h: Likewise.
49279         * soft-fp/op-8.h: Likewise.
49280         * soft-fp/testit.c: Likewise.
49281         * stdio-common/bug16.c: Likewise.
49282         * stdlib/random.c: Likewise.
49283         * sunrpc/rpcsvc/rquota.x: Likewise.
49284         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49285         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49286         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49287         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49288         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49289         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49290         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49291         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49292         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49293         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49294         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49295         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49296         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49297         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49298         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49299         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49300         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49301         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49302         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49303         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49304         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49305         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49306         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49307         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49308         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49309         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49310         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49311         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49312         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49313         * sysdeps/ieee754/s_lib_version.c: Likewise.
49314         * sysdeps/mach/hurd/check_fds.c: Likewise.
49315         * sysdeps/mach/hurd/getsockname.c: Likewise.
49316         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49317         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49318         * sysdeps/powerpc/bits/link.h: Likewise.
49319         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49320         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49321         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49322         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49323         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49324         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49325         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49326         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49327         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49328         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49329         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49330         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49331         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49332         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49333         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49334         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49335         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49336         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49337         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49338         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49339         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49340         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49341         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49342         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49343         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49344         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49345         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49346         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49347         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49348         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49349         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49350         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49351         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49352         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49353         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49354         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49355         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49356         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49357         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49358         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49359         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49360         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49361         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49362         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49363         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49364         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49365         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49366         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49367         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49368         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49371         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49372         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49373         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49374         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49375         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49376         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49377         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49378         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49379         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49380         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49381         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49382         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49383         * sysdeps/powerpc/sysdep.h: Likewise.
49384         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49385         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49386         * sysdeps/sh/dl-trampoline.S: Likewise.
49387         * sysdeps/sh/memset.S: Likewise.
49388         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49389         * sysdeps/sh/strlen.S: Likewise.
49390         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49391         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49392         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49393         * sysdeps/sparc/sparc32/rem.S: Likewise.
49394         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49395         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49396         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49397         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49398         * sysdeps/sparc/sparc32/urem.S: Likewise.
49399         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49400         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49401         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49402         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49403         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49404         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49405         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49406         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49407         * sysdeps/unix/bsd/times.c: Likewise.
49408         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49409         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49413         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49414         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49415         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49416         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49417         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49418         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49419         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49420         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49421         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49422         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49423         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49424         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49425         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49426         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49427         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49428         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49429         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49430         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49431         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49432         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49433         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49434         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49435         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49436         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49437         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49438         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49439         * sysdeps/x86_64/strcspn.S: Likewise.
49441 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49443         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49444         generated file.  Regenerate properly from gen-translit.pl.
49445         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49446         locale/C-translit.h.
49448 2013-06-05  Andreas Schwab  <schwab@suse.de>
49450         [BZ #15100]
49451         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49452         week as 6 instead of -1.
49453         * time/tst-strptime.c (day_tests): Add test case.
49455 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49457         * sysdeps/generic/math_private.h
49458         (libc_feholdexcept_setround_53bit): Replace with
49459         libc_feholdsetround_53bit.
49460         (libc_feupdateenv_53bit): Replace with
49461         libc_feresetround_53bit.
49462         (SET_RESTORE_ROUND_53BIT): Adjust.
49464 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49466         * string/test-strchrnul.c: Add copyright header.
49468         * posix/tst-getaddrinfo4.c: Increase test timeout.
49470 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49472         [BZ #15536]
49473         * math/libm-test.inc (MAX_EXP): Remove
49474         (MIN_EXP): Define.
49475         (ulp): Use MIN_EXP - MANT_DIG.
49476         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49478 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49480         * po/be.po: Revert last change.
49481         * po/zh_CN.po: Likewise.
49482         * po/header.pot: Likewise.
49484 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49486         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49487         link-libc-deps to empty as target-specific variable.
49488         * Makerules (link-libc-args): New variable.
49489         (libc-for-link): Likewise.
49490         (link-libc-deps): Likewise.
49491         (lib%.so): Depend on $(link-libc-deps).  Link with
49492         $(link-libc-args).
49493         (build-module): Link with $(link-libc-args).
49494         (build-module-asneeded): Likewise.
49495         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49496         list of objects.
49497         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49498         target-specific variable.
49499         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49500         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49501         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49502         libc.
49503         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49504         libc and ld.so.
49505         ($(objpfx)libpcprofile.so): Likewise.
49506         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49507         libc_nonshared.a.
49508         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49509         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49510         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49511         $(link-libc-deps).
49512         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49513         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49514         * login/Makefile ($(objpfx)libutil.so): Likewise.
49515         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49516         * math/Makefile ($(objpfx)libm.so): Likewise.
49517         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49518         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49519         variable instead of depending directly on libc.
49520         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49521         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49522         $(link-libc-deps).
49523         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49524         libc.
49525         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49526         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49527         ($(objpfx)libanl.so): Likewise.
49528         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49529         ld.so.
49530         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49531         $(link-libc-deps).
49532         * sysdeps/i386/fpu/Makefile: Remove file.
49533         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49534         ($(objpfx)libm.so): Remove dependency on ld.so.
49536 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49538         [BZ # 15553]
49539         * nis/yp_xdr.c (XDRMAXNAME): Define.
49540         (XDRMAXRECORD): Define.
49541         (xdr_domainname): Use XDRMAXNAME.
49542         (xdr_mapname): Likewise.
49543         (xdr_peername): Likewise.
49544         (xdr_keydat): Use XDRMAXRECORD.
49545         (xdr_valdat): Likewise.
49547 2013-05-30  Jeff Law  <law@redhat.com>
49549         [BZ #14256]
49550         * manual/errno.texi (ESTALE): Update to account for more than
49551         just NFS file systems.
49552         * sysdeps/gnu/errlist.c: Regenerated.
49554 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49556         [BZ #15465]
49557         * elf/Makefile (tests): Add tst-null-argv.
49558         (modules-names):  Add tst-null-argv-lib.
49559         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49560         (tst-null-argv-ENV): Set environment for tst-null-argv.
49561         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49562         (RTLD_PROGNAME): New macro.
49563         * elf/tst-null-argv.c: New test case.
49564         * elf/tst-null-argv-lib.c: Library for test case.
49565         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49566         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49567         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49568         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49569         * elf/dl-init.c (call_init): Likewise.
49570         (_dl_init): Likewise.
49571         * elf/dl-load.c (print_search_path): Likewise.
49572         (_dl_map_object): Likewise.
49573         * elf/dl-lookup.c (do_lookup_x): Likewise.
49574         (add_dependency): Likewise.
49575         (_dl_lookup_symbol_x): Likewise.
49576         (_dl_debug_bindings): Likewise.
49577         * elf/dl-open.c (_dl_show_scope): Likewise.
49578         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49579         * elf/dl-version.c (match_symbol): Likewise.
49580         (_dl_check_map_versions): Likewise.
49581         * elf/rtld.c (dl_main): Likewise.
49582         (print_unresolved): Use RTLD_PROGNAME.
49583         (print_missing_version): Likewise.
49584         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49585         (elf_machine_rela): Likewise.
49586         * sysdeps/powerpc/powerpc32/dl-machine.c
49587         (__process_machine_rela): Likewise.
49588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49589         Likewise.
49590         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49591         Likewise.
49592         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49593         Likewise.
49594         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49595         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49596         Likewise.
49597         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49598         Likewise.
49599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49601 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49603         * po/be.po: Add descriptive title.
49604         * po/zh_CN.po: Likewise.
49605         * po/header.pot: Likewise.
49607 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49609         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49610         error message.
49611         (enlarge_archive): Likewise.
49613 2013-05-28  Ben North  <ben@redfrontdoor.org>
49615         * manual/arith.texi (frexp): It is the magnitude of the return
49616         value which lies in [0.5, 1), not the return value itself.
49618 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49622 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49624         * stdio-common/bug26.c (main): Correct fscanf template.
49626         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49627         declare _dl_skip_args.
49629         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49630         Don't declare.
49632         * manual/platform.texi: Add missing @end deftypefun.
49634 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49636         [BZ #15529]
49637         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49638         bit of mantissa of 2^16382.
49639         * math/libm-test.inc (hypot_test_data): Add more tests.
49641         * math/libm-test.inc: Add drem and pow10 to list of tested
49642         functions.
49643         (pow10_test): New function.
49644         (drem_test): Likewise.
49645         (drem_test_tonearest): Likewise.
49646         (drem_test_towardzero): Likewise.
49647         (drem_test_downward): Likewise.
49648         (drem_test_upward): Likewise.
49649         (main): Call the new functions.
49651         * math/libm-test.inc (finite_test_data): Remove.
49652         (finite_test): Run tests from isfinite_test_data.
49653         (gamma_test_data): Remove.
49654         (gamma_test): Run tests from lgamma_test_data.
49655         * sysdeps/i386/fpu/libm-test-ulps: Update.
49656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49658 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49660         * manual/platform.texi: Add PowerPC PPR function set documentation.
49661         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49662         implementation.
49664 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49666         * math/libm-test.inc (MAX_EXP): Define.
49667         (ULPDIFF): Define.
49668         (ulp): New function.
49669         (check_float_internal): Use ULPDIFF.
49670         (cpow_test): Disable failing test.
49671         (check_ulp): Test ulp() implemetnation.
49672         (main): Call check_ulp before starting tests.
49674 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49676         * math/gen-libm-test.pl (generate_testfile): Do not handle
49677         START_DATA and END_DATA.
49678         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49679         END_DATA.
49680         (acos_tonearest_test_data): Likewise.
49681         (acos_towardzero_test_data): Likewise.
49682         (acos_downward_test_data): Likewise.
49683         (acos_upward_test_data): Likewise.
49684         (acosh_test_data): Likewise.
49685         (asin_test_data): Likewise.
49686         (asin_tonearest_test_data): Likewise.
49687         (asin_towardzero_test_data): Likewise.
49688         (asin_downward_test_data): Likewise.
49689         (asin_upward_test_data): Likewise.
49690         (asinh_test_data): Likewise.
49691         (atan_test_data): Likewise.
49692         (atanh_test_data): Likewise.
49693         (atan2_test_data): Likewise.
49694         (cabs_test_data): Likewise.
49695         (cacos_test_data): Likewise.
49696         (cacosh_test_data): Likewise.
49697         (carg_test_data): Likewise.
49698         (casin_test_data): Likewise.
49699         (casinh_test_data): Likewise.
49700         (catan_test_data): Likewise.
49701         (catanh_test_data): Likewise.
49702         (cbrt_test_data): Likewise.
49703         (ccos_test_data): Likewise.
49704         (ccosh_test_data): Likewise.
49705         (ceil_test_data): Likewise.
49706         (cexp_test_data): Likewise.
49707         (cimag_test_data): Likewise.
49708         (clog_test_data): Likewise.
49709         (clog10_test_data): Likewise.
49710         (conj_test_data): Likewise.
49711         (copysign_test_data): Likewise.
49712         (cos_test_data): Likewise.
49713         (cos_tonearest_test_data): Likewise.
49714         (cos_towardzero_test_data): Likewise.
49715         (cos_downward_test_data): Likewise.
49716         (cos_upward_test_data): Likewise.
49717         (cosh_test_data): Likewise.
49718         (cosh_tonearest_test_data): Likewise.
49719         (cosh_towardzero_test_data): Likewise.
49720         (cosh_downward_test_data): Likewise.
49721         (cosh_upward_test_data): Likewise.
49722         (cpow_test_data): Likewise.
49723         (cproj_test_data): Likewise.
49724         (creal_test_data): Likewise.
49725         (csin_test_data): Likewise.
49726         (csinh_test_data): Likewise.
49727         (csqrt_test_data): Likewise.
49728         (ctan_test_data): Likewise.
49729         (ctan_tonearest_test_data): Likewise.
49730         (ctan_towardzero_test_data): Likewise.
49731         (ctan_downward_test_data): Likewise.
49732         (ctan_upward_test_data): Likewise.
49733         (ctanh_test_data): Likewise.
49734         (ctanh_tonearest_test_data): Likewise.
49735         (ctanh_towardzero_test_data): Likewise.
49736         (ctanh_downward_test_data): Likewise.
49737         (ctanh_upward_test_data): Likewise.
49738         (erf_test_data): Likewise.
49739         (erfc_test_data): Likewise.
49740         (exp_test_data): Likewise.
49741         (exp_tonearest_test_data): Likewise.
49742         (exp_towardzero_test_data): Likewise.
49743         (exp_downward_test_data): Likewise.
49744         (exp_upward_test_data): Likewise.
49745         (exp10_test_data): Likewise.
49746         (exp2_test_data): Likewise.
49747         (expm1_test_data): Likewise.
49748         (fabs_test_data): Likewise.
49749         (fdim_test_data): Likewise.
49750         (finite_test_data): Likewise.
49751         (floor_test_data): Likewise.
49752         (fma_test_data): Likewise.
49753         (fma_towardzero_test_data): Likewise.
49754         (fma_downward_test_data): Likewise.
49755         (fma_upward_test_data): Likewise.
49756         (fmax_test_data): Likewise.
49757         (fmin_test_data): Likewise.
49758         (fmod_test_data): Likewise.
49759         (fpclassify_test_data): Likewise.
49760         (frexp_test_data): Likewise.
49761         (gamma_test_data): Likewise.
49762         (hypot_test_data): Likewise.
49763         (ilogb_test_data): Likewise.
49764         (isfinite_test_data): Likewise.
49765         (isgreater_test_data): Likewise.
49766         (isgreaterequal_test_data): Likewise.
49767         (isinf_test_data): Likewise.
49768         (isless_test_data): Likewise.
49769         (islessequal_test_data): Likewise.
49770         (islessgreater_test_data): Likewise.
49771         (isnan_test_data): Likewise.
49772         (isnormal_test_data): Likewise.
49773         (issignaling_test_data): Likewise.
49774         (isunordered_test_data): Likewise.
49775         (j0_test_data): Likewise.
49776         (j1_test_data): Likewise.
49777         (jn_test_data): Likewise.
49778         (ldexp_test_data): Likewise.
49779         (lgamma_test_data): Likewise.
49780         (lrint_test_data): Likewise.
49781         (lrint_tonearest_test_data): Likewise.
49782         (lrint_towardzero_test_data): Likewise.
49783         (lrint_downward_test_data): Likewise.
49784         (lrint_upward_test_data): Likewise.
49785         (llrint_test_data): Likewise.
49786         (llrint_tonearest_test_data): Likewise.
49787         (llrint_towardzero_test_data): Likewise.
49788         (llrint_downward_test_data): Likewise.
49789         (llrint_upward_test_data): Likewise.
49790         (log_test_data): Likewise.
49791         (log10_test_data): Likewise.
49792         (log1p_test_data): Likewise.
49793         (log2_test_data): Likewise.
49794         (logb_test_data): Likewise.
49795         (logb_downward_test_data): Likewise.
49796         (lround_test_data): Likewise.
49797         (llround_test_data): Likewise.
49798         (modf_test_data): Likewise.
49799         (nearbyint_test_data): Likewise.
49800         (nextafter_test_data): Likewise.
49801         (nexttoward_test_data): Likewise.
49802         (pow_test_data): Likewise.
49803         (pow_tonearest_test_data): Likewise.
49804         (pow_towardzero_test_data): Likewise.
49805         (pow_downward_test_data): Likewise.
49806         (pow_upward_test_data): Likewise.
49807         (remainder_test_data): Likewise.
49808         (remainder_tonearest_test_data): Likewise.
49809         (remainder_towardzero_test_data): Likewise.
49810         (remainder_downward_test_data): Likewise.
49811         (remainder_upward_test_data): Likewise.
49812         (remquo_test_data): Likewise.
49813         (rint_test_data): Likewise.
49814         (rint_tonearest_test_data): Likewise.
49815         (rint_towardzero_test_data): Likewise.
49816         (rint_downward_test_data): Likewise.
49817         (rint_upward_test_data): Likewise.
49818         (round_test_data): Likewise.
49819         (scalb_test_data): Likewise.
49820         (scalbn_test_data): Likewise.
49821         (scalbln_test_data): Likewise.
49822         (signbit_test_data): Likewise.
49823         (sin_test_data): Likewise.
49824         (sin_tonearest_test_data): Likewise.
49825         (sin_towardzero_test_data): Likewise.
49826         (sin_downward_test_data): Likewise.
49827         (sin_upward_test_data): Likewise.
49828         (sincos_test_data): Likewise.
49829         (sinh_test_data): Likewise.
49830         (sinh_tonearest_test_data): Likewise.
49831         (sinh_towardzero_test_data): Likewise.
49832         (sinh_downward_test_data): Likewise.
49833         (sinh_upward_test_data): Likewise.
49834         (sqrt_test_data): Likewise.
49835         (tan_test_data): Likewise.
49836         (tan_tonearest_test_data): Likewise.
49837         (tan_towardzero_test_data): Likewise.
49838         (tan_downward_test_data): Likewise.
49839         (tan_upward_test_data): Likewise.
49840         (tanh_test_data): Likewise.
49841         (tgamma_test_data): Likewise.
49842         (trunc_test_data): Likewise.
49843         (y0_test_data): Likewise.
49844         (y1_test_data): Likewise.
49845         (yn_test_data): Likewise.
49846         (significand_test_data): Likewise.
49848         * math/gen-libm-test.pl (@functions): Remove variable.
49849         (generate_testfile): Don't handle START and END lines.
49850         * math/libm-test.inc (START): New macro.
49851         (END): Likewise.
49852         (END_COMPLEX): Likewise.
49853         (acos_test): Use END macro without arguments.
49854         (acos_test_tonearest): Likewise.
49855         (acos_test_towardzero): Likewise.
49856         (acos_test_downward): Likewise.
49857         (acos_test_upward): Likewise.
49858         (acosh_test): Likewise.
49859         (asin_test): Likewise.
49860         (asin_test_tonearest): Likewise.
49861         (asin_test_towardzero): Likewise.
49862         (asin_test_downward): Likewise.
49863         (asin_test_upward): Likewise.
49864         (asinh_test): Likewise.
49865         (atan_test): Likewise.
49866         (atanh_test): Likewise.
49867         (atan2_test): Likewise.
49868         (cabs_test): Likewise.
49869         (cacos_test): Use END_COMPLEX macro without arguments.
49870         (cacosh_test): Likewise.
49871         (carg_test): Use END macro without arguments.
49872         (casin_test): Use END_COMPLEX macro without arguments.
49873         (casinh_test): Likewise.
49874         (catan_test): Likewise.
49875         (catanh_test): Likewise.
49876         (cbrt_test): Use END macro without arguments.
49877         (ccos_test): Use END_COMPLEX macro without arguments.
49878         (ccosh_test): Likewise.
49879         (ceil_test): Use END macro without arguments.
49880         (cexp_test): Use END_COMPLEX macro without arguments.
49881         (cimag_test): Use END macro without arguments.
49882         (clog_test): Use END_COMPLEX macro without arguments.
49883         (clog10_test): Likewise.
49884         (conj_test): Likewise.
49885         (copysign_test): Use END macro without arguments.
49886         (cos_test): Likewise.
49887         (cos_test_tonearest): Likewise.
49888         (cos_test_towardzero): Likewise.
49889         (cos_test_downward): Likewise.
49890         (cos_test_upward): Likewise.
49891         (cosh_test): Likewise.
49892         (cosh_test_tonearest): Likewise.
49893         (cosh_test_towardzero): Likewise.
49894         (cosh_test_downward): Likewise.
49895         (cosh_test_upward): Likewise.
49896         (cpow_test): Use END_COMPLEX macro without arguments.
49897         (cproj_test): Likewise.
49898         (creal_test): Use END macro without arguments.
49899         (csin_test): Use END_COMPLEX macro without arguments.
49900         (csinh_test): Likewise.
49901         (csqrt_test): Likewise.
49902         (ctan_test): Likewise.
49903         (ctan_test_tonearest): Likewise.
49904         (ctan_test_towardzero): Likewise.
49905         (ctan_test_downward): Likewise.
49906         (ctan_test_upward): Likewise.
49907         (ctanh_test): Likewise.
49908         (ctanh_test_tonearest): Likewise.
49909         (ctanh_test_towardzero): Likewise.
49910         (ctanh_test_downward): Likewise.
49911         (ctanh_test_upward): Likewise.
49912         (erf_test): Use END macro without arguments.
49913         (erfc_test): Likewise.
49914         (exp_test): Likewise.
49915         (exp_test_tonearest): Likewise.
49916         (exp_test_towardzero): Likewise.
49917         (exp_test_downward): Likewise.
49918         (exp_test_upward): Likewise.
49919         (exp10_test): Likewise.
49920         (exp2_test): Likewise.
49921         (expm1_test): Likewise.
49922         (fabs_test): Likewise.
49923         (fdim_test): Likewise.
49924         (finite_test): Likewise.
49925         (floor_test): Likewise.
49926         (fma_test): Likewise.
49927         (fma_test_towardzero): Likewise.
49928         (fma_test_downward): Likewise.
49929         (fma_test_upward): Likewise.
49930         (fmax_test): Likewise.
49931         (fmin_test): Likewise.
49932         (fmod_test): Likewise.
49933         (fpclassify_test): Likewise.
49934         (frexp_test): Likewise.
49935         (gamma_test): Likewise.
49936         (hypot_test): Likewise.
49937         (ilogb_test): Likewise.
49938         (isfinite_test): Likewise.
49939         (isgreater_test): Likewise.
49940         (isgreaterequal_test): Likewise.
49941         (isinf_test): Likewise.
49942         (isless_test): Likewise.
49943         (islessequal_test): Likewise.
49944         (islessgreater_test): Likewise.
49945         (isnan_test): Likewise.
49946         (isnormal_test): Likewise.
49947         (issignaling_test): Likewise.
49948         (isunordered_test): Likewise.
49949         (j0_test): Likewise.
49950         (j1_test): Likewise.
49951         (jn_test): Likewise.
49952         (ldexp_test): Likewise.
49953         (lgamma_test): Likewise.
49954         (lrint_test): Likewise.
49955         (lrint_test_tonearest): Likewise.
49956         (lrint_test_towardzero): Likewise.
49957         (lrint_test_downward): Likewise.
49958         (lrint_test_upward): Likewise.
49959         (llrint_test): Likewise.
49960         (llrint_test_tonearest): Likewise.
49961         (llrint_test_towardzero): Likewise.
49962         (llrint_test_downward): Likewise.
49963         (llrint_test_upward): Likewise.
49964         (log_test): Likewise.
49965         (log10_test): Likewise.
49966         (log1p_test): Likewise.
49967         (log2_test): Likewise.
49968         (logb_test): Likewise.
49969         (logb_test_downward): Likewise.
49970         (lround_test): Likewise.
49971         (llround_test): Likewise.
49972         (modf_test): Likewise.
49973         (nearbyint_test): Likewise.
49974         (nextafter_test): Likewise.
49975         (nexttoward_test): Likewise.
49976         (pow_test): Likewise.
49977         (pow_test_tonearest): Likewise.
49978         (pow_test_towardzero): Likewise.
49979         (pow_test_downward): Likewise.
49980         (pow_test_upward): Likewise.
49981         (remainder_test): Likewise.
49982         (remainder_test_tonearest): Likewise.
49983         (remainder_test_towardzero): Likewise.
49984         (remainder_test_downward): Likewise.
49985         (remainder_test_upward): Likewise.
49986         (remquo_test): Likewise.
49987         (rint_test): Likewise.
49988         (rint_test_tonearest): Likewise.
49989         (rint_test_towardzero): Likewise.
49990         (rint_test_downward): Likewise.
49991         (rint_test_upward): Likewise.
49992         (round_test): Likewise.
49993         (scalb_test): Likewise.
49994         (scalbn_test): Likewise.
49995         (scalbln_test): Likewise.
49996         (signbit_test): Likewise.
49997         (sin_test): Likewise.
49998         (sin_test_tonearest): Likewise.
49999         (sin_test_towardzero): Likewise.
50000         (sin_test_downward): Likewise.
50001         (sin_test_upward): Likewise.
50002         (sincos_test): Likewise.
50003         (sinh_test): Likewise.
50004         (sinh_test_tonearest): Likewise.
50005         (sinh_test_towardzero): Likewise.
50006         (sinh_test_downward): Likewise.
50007         (sinh_test_upward): Likewise.
50008         (sqrt_test): Likewise.
50009         (tan_test): Likewise.
50010         (tan_test_tonearest): Likewise.
50011         (tan_test_towardzero): Likewise.
50012         (tan_test_downward): Likewise.
50013         (tan_test_upward): Likewise.
50014         (tanh_test): Likewise.
50015         (tgamma_test): Likewise.
50016         (trunc_test): Likewise.
50017         (y0_test): Likewise.
50018         (y1_test): Likewise.
50019         (yn_test): Likewise.
50020         (significand_test): Likewise.
50022 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50024         [BZ #15381]
50025         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50027 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50029         [BZ #14894]
50030         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50031         __ppc_mdoio and __ppc_mdoom.
50032         * manual/platform.texi: Document new functions __ppc_yield,
50033         __ppc_mdoio and __ppc_mdoom.
50035 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50037         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50038         (main): Mention "tls" pseudo-hwcap is legacy.
50039         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50041 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50043         * math/gen-libm-test.pl (parse_args): Output only string of
50044         arguments as text for test name, not full call or descriptions of
50045         tests for extra outputs.
50046         (generate_testfile): Do not pass function name to parse_args.
50047         Generate this_func variable from START.
50048         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50049         field to arg_str.
50050         (struct test_ff_f_data): Likewise.
50051         (test_ff_f_data_nexttoward): Likewise.
50052         (struct test_fi_f_data): Likewise.
50053         (struct test_fl_f_data): Likewise.
50054         (struct test_if_f_data): Likewise.
50055         (struct test_fff_f_data): Likewise.
50056         (struct test_c_f_data): Likewise.
50057         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50058         (struct test_fF_f1_data): Likewise.
50059         (struct test_ffI_f1_data): Likewise.
50060         (struct test_c_c_data): Rename test_name field to arg_str.
50061         (struct test_cc_c_data): Likewise.
50062         (struct test_f_i_data): Likewise.
50063         (struct test_ff_i_data): Likewise.
50064         (struct test_f_l_data): Likewise.
50065         (struct test_f_L_data): Likewise.
50066         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50067         and extra2_name.
50068         (COMMON_TEST_SETUP): New macro.
50069         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50070         (COMMON_TEST_CLEANUP): Likewise.
50071         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50072         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50073         macros.
50074         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50075         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50076         macros.
50077         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50078         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50079         cleanup macros.
50080         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50081         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50082         macros.
50083         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50084         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50085         macros.
50086         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50087         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50088         cleanup macros.
50089         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50090         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50091         cleanup macros.
50092         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50093         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50094         cleanup macros.
50095         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50096         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50097         macros.
50098         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50099         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50100         macros.
50101         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50102         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50103         macros.
50104         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50105         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50106         cleanup macros.
50107         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50108         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50109         cleanup macros.
50110         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50111         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50112         macros.
50113         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50114         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50115         cleanup macros.
50116         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50117         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50118         macros.
50119         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50120         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50121         macros.
50122         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50123         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50124         cleanup macros.
50125         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50127 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50129         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50130         to _sifields.sigfault.
50131         (si_addr_lsb): Define new macro.
50132         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50133         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50134         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50136 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50138         [BZ #15441]
50139         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50140         returns -1.
50141         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50142         null return -1.
50143         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50144         loading the domain.
50146 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50148         * math/gen-libm-test.pl (parse_args): Do not include expected
50149         result in test name.
50150         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50151         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50152         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50153         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50154         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50157 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50159         * benchtests/Makefile: Sort function entries.
50161         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50162         tanh, asinh, acosh, atanh.
50163         * benchtests/acos-inputs: New file.
50164         * benchtests/acosh-inputs: New file.
50165         * benchtests/asin-inputs: New file.
50166         * benchtests/asinh-inputs: New file.
50167         * benchtests/atanh-inputs: New file.
50168         * benchtests/cosh-inputs: New file.
50169         * benchtests/log-inputs: New file.
50170         * benchtests/sinh-inputs: New file.
50171         * benchtests/tanh-inputs: New file.
50173 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50175         [BZ #15339]
50176         * posix/tst-getaddrinfo4.c: New test.
50177         * posix/Makefile (tests): Add it.
50179 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50181         [BZ #15339]
50182         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50183         when no services were used.
50184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50185         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50187 2013-05-21  Andreas Schwab  <schwab@suse.de>
50189         [BZ #15014]
50190         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50191         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50192         successful.
50193         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50194         redundant variable declarations and reallocation of buffer when
50195         parsing as IPv6 address.  Always set NSS status when called from
50196         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50197         buffer too small.  Correct computation of needed size.
50198         * nss/Makefile (tests): Add test-digits-dots.
50199         * nss/test-digits-dots.c: New test.
50201 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50203         * benchtests/Makefile: Remove instructions for adding
50204         benchmark tests.
50205         * benchtests/README: New file to explain how to execute and
50206         enhance the benchmark tests.
50208 2013-05-21  Andreas Schwab  <schwab@suse.de>
50210         [BZ #15493]
50211         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50212         * setjmp/tst-sigsetjmp.c: New test.
50214 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50216         * sysdeps/x86_64/memset.S (memset): New implementation.
50217         (__bzero): Likewise.
50218         (__memset_tail): New function.
50220 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50222         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50223         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50224         __memcpy_sse2_unaligned ifunc selection.
50225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50226         Add memcpy-sse2-unaligned.S.
50227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50228         Add: __memcpy_sse2_unaligned.
50230 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50232         [BZ #15490]
50233         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50234         math_force_eval before restoring floating-point envrionment.
50235         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50236         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50237         Likewise.
50238         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50239         <math_private.h>.
50240         (__nearbyintl): Use math_force_eval before restoring
50241         floating-point environment.
50242         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50244         * math/gen-libm-test.pl (special_functions): Remove.
50245         (parse_args): Don't handle TEST_extra.  Handle functions with no
50246         return value.
50247         * math/libm-test.inc (struct test_sincos_data): Replace with
50248         struct test_fFF_11_data.
50249         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50250         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50251         (sincos_test_data): Change element type to struct
50252         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50253         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50254         RUN_TEST_LOOP_sincos.
50255         * math/README.libm-test: Don't mention special handling of
50256         individual functions.
50257         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50259         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50260         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50261         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50264         * math/gen-libm-test.pl (get_variable): Remove function.
50265         (parse_args): Don't show pointer parameters to call in test
50266         names.  Use "extra output N" in test names for extra outputs
50267         rather than naming variables.
50269 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50271         [BZ #15488]
50272         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50273         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50274         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50275         double tests.
50276         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50277         disable.
50278         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50279         check_long_double.
50281         * math/gen-libm-test.pl (@tests): Remove variable.
50282         ($count): Likewise.
50283         (new_test): Remove function.
50284         (show_exceptions): New function.
50285         (special_functions): Use show_exceptions instead of new_test.
50286         (parse_args): Likewise.
50287         (generate_testfile): Pass only function name in generated call to
50288         print_max_error or print_complex_max_error.
50289         (get_ulps): Do not handle complex tests specially.
50290         (output_test): Rename to ...
50291         (get_all_ulps_for_test): ... this.  Return a string rather than
50292         printing to a file.  Require ulps to be present.
50293         (output_ulps): Generate arrays rather than #defines.
50294         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50295         (struct ulp_data): New type.
50296         (BUILD_COMPLEX_ULP): Remove macro.
50297         (compare_ulp_data): New function.
50298         (find_ulps): Likewise.
50299         (find_test_ulps): Likewise.
50300         (find_function_ulps): Likewise.
50301         (find_complex_function_ulps): Likewise.
50302         (print_max_error): Determine allowed ulps using
50303         find_function_ulps.
50304         (print_complex_max_error): Determine allowed ulps using
50305         find_complex_function_ulps.
50306         (check_float_internal): Determine max ulps using find_test_ulps.
50307         (check_float): Do not take max_ulp parameter.  Update call to
50308         check_float_internal.
50309         (check_complex): Likewise.
50310         (check_int): Do not take max_ulp parameter.
50311         (check_long): Likewise.
50312         (check_bool): Likewise.
50313         (check_longlong): Likewise.
50314         (struct test_f_f_data): Remove max_ulp field.
50315         (struct test_ff_f_data): Likewise.
50316         (struct test_ff_f_data_nexttoward): Likewise.
50317         (struct test_fi_f_data): Likewise.
50318         (struct test_fl_f_data): Likewise.
50319         (struct test_if_f_data): Likewise.
50320         (struct test_fff_f_data): Likewise.
50321         (struct test_c_f_data): Likewise.
50322         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50323         (struct test_fF_f1_data): Likewise.
50324         (struct test_ffI_f1_data): Likewise.
50325         (struct test_c_c_data): Remove max_ulp field.
50326         (struct test_cc_c_data): Likewise.
50327         (struct test_f_i_data): Likewise.
50328         (struct test_ff_i_data): Likewise.
50329         (struct test_f_l_data): Likewise.
50330         (struct test_f_L_data): Likewise.
50331         (struct test_sincos_data): Likewise.
50332         (RUN_TEST_f_f): Do not handle ulps.
50333         (RUN_TEST_LOOP_f_f): Likewise.
50334         (RUN_TEST_2_f): Likewise.
50335         (RUN_TEST_LOOP_2_f): Likewise.
50336         (RUN_TEST_fff_f): Likewise.
50337         (RUN_TEST_LOOP_fff_f): Likewise.
50338         (RUN_TEST_c_f): Likewise.
50339         (RUN_TEST_LOOP_c_f): Likewise.
50340         (RUN_TEST_f_f1): Likewise.
50341         (RUN_TEST_LOOP_f_f1): Likewise.
50342         (RUN_TEST_fF_f1): Likewise.
50343         (RUN_TEST_LOOP_fF_f1): Likewise.
50344         (RUN_TEST_fI_f1): Likewise.
50345         (RUN_TEST_LOOP_fI_f1): Likewise.
50346         (RUN_TEST_ffI_f1): Likewise.
50347         (RUN_TEST_LOOP_ffI_f1): Likewise.
50348         (RUN_TEST_c_c): Likewise.
50349         (RUN_TEST_LOOP_c_c): Likewise.
50350         (RUN_TEST_cc_c): Likewise.
50351         (RUN_TEST_LOOP_cc_c): Likewise.
50352         (RUN_TEST_f_i): Likewise.
50353         (RUN_TEST_LOOP_f_i): Likewise.
50354         (RUN_TEST_f_i_tg): Likewise.
50355         (RUN_TEST_LOOP_f_i_tg): Likewise.
50356         (RUN_TEST_ff_i_tg): Likewise.
50357         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50358         (RUN_TEST_f_b): Likewise.
50359         (RUN_TEST_LOOP_f_b): Likewise.
50360         (RUN_TEST_f_b_tg): Likewise.
50361         (RUN_TEST_LOOP_f_b_tg): Likewise.
50362         (RUN_TEST_f_l): Likewise.
50363         (RUN_TEST_LOOP_f_l): Likewise.
50364         (RUN_TEST_f_L): Likewise.
50365         (RUN_TEST_LOOP_f_L): Likewise.
50366         (RUN_TEST_sincos): Likewise.
50367         (RUN_TEST_LOOP_sincos): Likewise.
50369 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50371         [BZ #15480]
50372         [BZ #15485]
50373         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50374         main case of finite arguments, set rounding mode to FE_TONEAREST
50375         and discard exceptions.
50376         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50377         exceptions.
50378         (remainder_tonearest_test_data): New variable.
50379         (remainder_test_tonearest): New function.
50380         (remainder_towardzero_test_data): New variable.
50381         (remainder_test_towardzero): New function.
50382         (remainder_downward_test_data): New variable.
50383         (remainder_test_downward): New function.
50384         (remainder_upward_test_data): New variable.
50385         (remainder_test_upward): New function.
50386         (main): Call the new test functions.
50388         * math/libm-test.inc (struct test_f_f1_data): Remove field
50389         extra_init.
50390         (struct test_fF_f1_data): Likewise.
50391         (struct test_ffI_f1_data): Likewise.
50392         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50393         based on value of EXTRA_EXPECTED.
50394         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50395         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50396         EXTRA_VAR based on value of EXTRA_EXPECTED.
50397         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50398         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50399         EXTRA_VAR based on value of EXTRA_EXPECTED.
50400         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50401         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50402         EXTRA_VAR based on value of EXTRA_EXPECTED.
50403         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50404         * math/gen-libm-test.pl (parse_args): Don't output initializers
50405         for extra output values.
50407         * math/libm-test.inc (check_int): Expect result to be exactly
50408         equal to expected value and do not handle ulps.
50409         (check_long): Likewise.
50410         (check_longlong): Likewise.
50412         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50413         exceptions.
50414         (cimag_test_data): Likewise.
50415         (conj_test_data): Likewise.
50416         (copysign_test_data): Likewise.
50417         (cproj_test_data): Likewise.
50418         (creal_test_data): Likewise.
50419         (fabs_test_data): Likewise.
50420         (fdim_test_data): Likewise.
50421         (finite_test_data): Likewise.
50422         (floor_test_data): Likewise.
50423         (fmax_test_data): Likewise.
50424         (fmin_test_data): Likewise.
50425         (fmod_test_data): Likewise.
50426         (fpclassify_test_data): Likewise.
50427         (frexp_test_data): Likewise.
50428         (ilogb_test_data): Likewise.
50429         (isfinite_test_data): Likewise.
50430         (isgreater_test_data): Likewise.
50431         (isgreaterequal_test_data): Likewise.
50432         (isinf_test_data): Likewise.
50433         (isless_test_data): Likewise.
50434         (islessequal_test_data): Likewise.
50435         (islessgreater_test_data): Likewise.
50436         (isnan_test_data): Likewise.
50437         (isnormal_test_data): Likewise.
50438         (issignaling_test_data): Likewise.
50439         (isunordered_test_data): Likewise.
50440         (ldexp_test_data): Likewise.
50441         (lrint_test_data): Likewise.
50442         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50443         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50444         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50445         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50446         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50447         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50448         test input.
50449         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50450         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50451         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50452         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50453         that test input.
50454         (lrint_downward_test_data): Test for "inexact" exceptions.
50455         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50456         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50457         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50458         test input.
50459         (lrint_upward_test_data): Test for "inexact" exceptions.
50460         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50461         test input.
50462         (llrint_test_data): Test for "inexact" exceptions.
50463         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50464         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50465         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50466         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50467         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50468         (llrint_downward_test_data): Test for "inexact" exceptions.
50469         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50470         (llrint_upward_test_data): Test for "inexact" exceptions.
50471         (logb_test_data): Likewise.
50472         (logb_downward_test_data): Likewise.
50473         (nextafter_test_data): Likewise.
50474         (nexttoward_test_data): Likewise.
50475         (remainder_test_data): Likewise.
50476         (remquo_test_data): Likewise.
50477         (scalbn_test_data): Likewise.
50478         (scalbln_test_data): Likewise.
50479         (signbit_test_data): Likewise.
50480         (sqrt_test_data): Likewise.
50481         (significand_test_data): Likewise.
50483 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50485         [BZ #15424]
50486         * benchtests/bench-modf.c (struct args): Mark arg0 as
50487         volatile.
50488         * scripts/bench.pl: Mark members of struct args as volatile.
50490 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50492         [BZ # 15497]
50493         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50494         negative infinity on POWER6 or lower.
50495         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50497 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50499         [BZ #15442]
50500         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50501         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50502         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50503         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50504         (_FP_SETQNAN): New macro.
50505         (_FP_SETQNAN_SEMIRAW): Likewise.
50506         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50507         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50508         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50509         (FP_EXTEND): Use _FP_FRAC_SNANP.
50510         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50511         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50512         into account.
50513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50514         New macro.
50515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50516         Likewise.
50518 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50520         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50521         with DIVIDE_BY_ZERO_EXCEPTION.
50522         (gamma_test_data): Likewise.
50523         (lgamma_test_data): Likewise.
50524         (log_test_data): Likewise.
50525         (log10_test_data): Likewise.
50526         (log2_test_data): Likewise.
50527         (tgamma_test_data): Likewise.
50529         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50530         (acos_test_tonearest): Likewise.
50531         (acos_test_towardzero): Likewise.
50532         (acos_test_downward): Likewise.
50533         (acos_test_upward): Likewise.
50534         (acosh_test): Likewise.
50535         (asin_test): Likewise.
50536         (asin_test_tonearest): Likewise.
50537         (asin_test_towardzero): Likewise.
50538         (asin_test_downward): Likewise.
50539         (asin_test_upward): Likewise.
50540         (asinh_test): Likewise.
50541         (atan_test): Likewise.
50542         (atanh_test): Likewise.
50543         (atan2_test): Likewise.
50544         (cabs_test): Likewise.
50545         (cacos_test): Likewise.
50546         (cacosh_test): Likewise.
50547         (casin_test): Likewise.
50548         (casinh_test): Likewise.
50549         (catan_test): Likewise.
50550         (catanh_test): Likewise.
50551         (cbrt_test): Likewise.
50552         (ccos_test): Likewise.
50553         (ccosh_test): Likewise.
50554         (cexp_test): Likewise.
50555         (clog_test): Likewise.
50556         (clog10_test): Likewise.
50557         (cos_test): Likewise.
50558         (cos_test_tonearest): Likewise.
50559         (cos_test_towardzero): Likewise.
50560         (cos_test_downward): Likewise.
50561         (cos_test_upward): Likewise.
50562         (cosh_test): Likewise.
50563         (cosh_test_tonearest): Likewise.
50564         (cosh_test_towardzero): Likewise.
50565         (cosh_test_downward): Likewise.
50566         (cosh_test_upward): Likewise.
50567         (cpow_test): Likewise.
50568         (csin_test): Likewise.
50569         (csinh_test): Likewise.
50570         (csqrt_test): Likewise.
50571         (ctan_test): Likewise.
50572         (ctan_test_tonearest): Likewise.
50573         (ctan_test_towardzero): Likewise.
50574         (ctan_test_downward): Likewise.
50575         (ctan_test_upward): Likewise.
50576         (ctanh_test): Likewise.
50577         (ctanh_test_tonearest): Likewise.
50578         (ctanh_test_towardzero): Likewise.
50579         (ctanh_test_downward): Likewise.
50580         (ctanh_test_upward): Likewise.
50581         (erf_test): Likewise.
50582         (erfc_test): Likewise.
50583         (exp_test): Likewise.
50584         (exp_test_tonearest): Likewise.
50585         (exp_test_towardzero): Likewise.
50586         (exp_test_downward): Likewise.
50587         (exp_test_upward): Likewise.
50588         (exp10_test): Likewise.
50589         (exp2_test): Likewise.
50590         (expm1_test): Likewise.
50591         (fmod_test): Likewise.
50592         (gamma_test): Likewise.
50593         (hypot_test): Likewise.
50594         (j0_test): Likewise.
50595         (j1_test): Likewise.
50596         (jn_test): Likewise.
50597         (lgamma_test): Likewise.
50598         (log_test): Likewise.
50599         (log10_test): Likewise.
50600         (log1p_test): Likewise.
50601         (log2_test): Likewise.
50602         (logb_test_downward): Likewise.
50603         (pow_test): Likewise.
50604         (pow_test_tonearest): Likewise.
50605         (pow_test_towardzero): Likewise.
50606         (pow_test_downward): Likewise.
50607         (pow_test_upward): Likewise.
50608         (remainder_test): Likewise.
50609         (remquo_test): Likewise.
50610         (sin_test): Likewise.
50611         (sin_test_tonearest): Likewise.
50612         (sin_test_towardzero): Likewise.
50613         (sin_test_downward): Likewise.
50614         (sin_test_upward): Likewise.
50615         (sincos_test): Likewise.
50616         (sinh_test): Likewise.
50617         (sinh_test_tonearest): Likewise.
50618         (sinh_test_towardzero): Likewise.
50619         (sinh_test_downward): Likewise.
50620         (sinh_test_upward): Likewise.
50621         (sqrt_test): Likewise.
50622         (tan_test): Likewise.
50623         (tan_test_tonearest): Likewise.
50624         (tan_test_towardzero): Likewise.
50625         (tan_test_downward): Likewise.
50626         (tan_test_upward): Likewise.
50627         (tanh_test): Likewise.
50628         (tgamma_test): Likewise.
50629         (y0_test): Likewise.
50630         (y1_test): Likewise.
50631         (yn_test): Likewise.
50633         * math/gen-libm-test.pl (adjust_arg): Remove function.
50634         (special_function): Remove argument $in_func.  Only handle
50635         generating output for tables of tests, not inside functions.
50636         (parse_args): Likewise.
50637         (generate_testfile): Remove variable $in_func.  Update call to
50638         parse_args.
50639         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50640         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50641         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50642         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50643         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50644         (MAX_VALUE_INIT): Rename macro to max_value.
50645         (MIN_VALUE_INIT): Rename macro to min_value.
50646         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50647         (plus_zero): Remove variable.
50648         (minus_zero): Likewise.
50649         (plus_infty): Likewise.
50650         (minus_infty): Likewise.
50651         (qnan_value): Likewise.
50652         (max_value): Likewise.
50653         (min_value): Likewise.
50654         (min_subnorm_value): Likewise.
50656 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50658         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50659         uint64_t or uint32_t usage.
50660         * crypt/sha256-block.c: Likewise.
50661         * crypt/sha256-crypt.c: Likewise.
50662         * crypt/sha256.c: Likewise.
50663         * crypt/sha512-block.c: Likewise.
50664         * crypt/sha512-crypt.c: Likewise.
50665         * crypt/sha512.c: Likewise.
50666         * debug/backtrace-tst.c: Likewise.
50667         * debug/pcprofiledump.c: Likewise.
50668         * elf/cache.c: Likewise.
50669         * elf/dl-cache.c: Likewise.
50670         * elf/dl-misc.c: Likewise.
50671         * elf/dl-profile.c: Likewise.
50672         * elf/dl-support.c: Likewise.
50673         * elf/ldconfig.c: Likewise.
50674         * elf/sprof.c: Likewise.
50675         * iconv/dummy-repertoire.c: Likewise.
50676         * iconv/iconv_charmap.c: Likewise.
50677         * iconv/skeleton.c: Likewise.
50678         * iconvdata/8bit-generic.c: Likewise.
50679         * iconvdata/cp737.h: Likewise.
50680         * iconvdata/cp775.h: Likewise.
50681         * iconvdata/ibm1008.h: Likewise.
50682         * iconvdata/ibm1025.h: Likewise.
50683         * iconvdata/ibm1046.h: Likewise.
50684         * iconvdata/ibm1097.h: Likewise.
50685         * iconvdata/ibm1112.h: Likewise.
50686         * iconvdata/ibm1122.h: Likewise.
50687         * iconvdata/ibm1123.h: Likewise.
50688         * iconvdata/ibm1124.h: Likewise.
50689         * iconvdata/ibm1129.h: Likewise.
50690         * iconvdata/ibm1130.h: Likewise.
50691         * iconvdata/ibm1132.h: Likewise.
50692         * iconvdata/ibm1133.h: Likewise.
50693         * iconvdata/ibm1137.h: Likewise.
50694         * iconvdata/ibm1140.h: Likewise.
50695         * iconvdata/ibm1141.h: Likewise.
50696         * iconvdata/ibm1142.h: Likewise.
50697         * iconvdata/ibm1143.h: Likewise.
50698         * iconvdata/ibm1144.h: Likewise.
50699         * iconvdata/ibm1145.h: Likewise.
50700         * iconvdata/ibm1146.h: Likewise.
50701         * iconvdata/ibm1147.h: Likewise.
50702         * iconvdata/ibm1148.h: Likewise.
50703         * iconvdata/ibm1149.h: Likewise.
50704         * iconvdata/ibm1153.h: Likewise.
50705         * iconvdata/ibm1154.h: Likewise.
50706         * iconvdata/ibm1155.h: Likewise.
50707         * iconvdata/ibm1156.h: Likewise.
50708         * iconvdata/ibm1157.h: Likewise.
50709         * iconvdata/ibm1158.h: Likewise.
50710         * iconvdata/ibm1160.h: Likewise.
50711         * iconvdata/ibm1161.h: Likewise.
50712         * iconvdata/ibm1162.h: Likewise.
50713         * iconvdata/ibm1163.h: Likewise.
50714         * iconvdata/ibm1164.h: Likewise.
50715         * iconvdata/ibm1166.h: Likewise.
50716         * iconvdata/ibm1167.h: Likewise.
50717         * iconvdata/ibm12712.h: Likewise.
50718         * iconvdata/ibm1390.h: Likewise.
50719         * iconvdata/ibm1399.h: Likewise.
50720         * iconvdata/ibm16804.h: Likewise.
50721         * iconvdata/ibm4517.h: Likewise.
50722         * iconvdata/ibm4899.h: Likewise.
50723         * iconvdata/ibm4909.h: Likewise.
50724         * iconvdata/ibm4971.h: Likewise.
50725         * iconvdata/ibm5347.h: Likewise.
50726         * iconvdata/ibm803.h: Likewise.
50727         * iconvdata/ibm856.h: Likewise.
50728         * iconvdata/ibm901.h: Likewise.
50729         * iconvdata/ibm902.h: Likewise.
50730         * iconvdata/ibm9030.h: Likewise.
50731         * iconvdata/ibm9066.h: Likewise.
50732         * iconvdata/ibm921.h: Likewise.
50733         * iconvdata/ibm922.h: Likewise.
50734         * iconvdata/ibm9448.h: Likewise.
50735         * iconvdata/isiri-3342.h: Likewise.
50736         * iconvdata/jis0201.h: Likewise.
50737         * include/link.h: Likewise.
50738         * include/netdb.h: Likewise.
50739         * inet/check_native.c: Likewise.
50740         * inet/check_pf.c: Likewise.
50741         * inet/getipv4sourcefilter.c: Likewise.
50742         * inet/getnameinfo.c: Likewise.
50743         * inet/getsourcefilter.c: Likewise.
50744         * inet/htonl.c: Likewise.
50745         * inet/setipv4sourcefilter.c: Likewise.
50746         * inet/setsourcefilter.c: Likewise.
50747         * inet/test-inet6_opt.c: Likewise.
50748         * inet/tst-network.c: Likewise.
50749         * locale/C-collate.c: Likewise.
50750         * locale/C-ctype.c: Likewise.
50751         * locale/C-time.c: Likewise.
50752         * locale/C-translit.h: Likewise.
50753         * locale/loadarchive.c: Likewise.
50754         * locale/programs/3level.h: Likewise.
50755         * locale/programs/charmap.c: Likewise.
50756         * locale/programs/charmap.h: Likewise.
50757         * locale/programs/ld-address.c: Likewise.
50758         * locale/programs/ld-collate.c: Likewise.
50759         * locale/programs/ld-ctype.c: Likewise.
50760         * locale/programs/ld-identification.c: Likewise.
50761         * locale/programs/ld-measurement.c: Likewise.
50762         * locale/programs/ld-messages.c: Likewise.
50763         * locale/programs/ld-monetary.c: Likewise.
50764         * locale/programs/ld-name.c: Likewise.
50765         * locale/programs/ld-numeric.c: Likewise.
50766         * locale/programs/ld-paper.c: Likewise.
50767         * locale/programs/ld-telephone.c: Likewise.
50768         * locale/programs/ld-time.c: Likewise.
50769         * locale/programs/linereader.c: Likewise.
50770         * locale/programs/locale.c: Likewise.
50771         * locale/programs/locarchive.c: Likewise.
50772         * locale/programs/locfile.h: Likewise.
50773         * locale/programs/repertoire.c: Likewise.
50774         * locale/programs/simple-hash.c: Likewise.
50775         * locale/programs/simple-hash.h: Likewise.
50776         * malloc/memusage.c: Likewise.
50777         * malloc/memusagestat.c: Likewise.
50778         * nis/nis_defaults.c: Likewise.
50779         * nis/nis_hash.c: Likewise.
50780         * nis/nis_print.c: Likewise.
50781         * nis/nis_xdr.c: Likewise.
50782         * nscd/connections.c: Likewise.
50783         * nscd/hstcache.c: Likewise.
50784         * nscd/nscd_gethst_r.c: Likewise.
50785         * nscd/nscd_getserv_r.c: Likewise.
50786         * nscd/nscd_helper.c: Likewise.
50787         * nscd/servicescache.c: Likewise.
50788         * nss/makedb.c: Likewise.
50789         * nss/nss_db/db-XXX.c: Likewise.
50790         * nss/nss_db/db-initgroups.c: Likewise.
50791         * nss/nss_db/db-netgrp.c: Likewise.
50792         * nss/nss_files/files-network.c: Likewise.
50793         * nss/nss_files/files-parse.c: Likewise.
50794         * posix/bug-regex5.c: Likewise.
50795         * posix/fnmatch_loop.c: Likewise.
50796         * posix/regcomp.c: Likewise.
50797         * posix/regexec.c: Likewise.
50798         * posix/tst-rfc3484-2.c: Likewise.
50799         * posix/tst-rfc3484-3.c: Likewise.
50800         * posix/tst-rfc3484.c: Likewise.
50801         * resolv/nss_dns/dns-canon.c: Likewise.
50802         * resolv/nss_dns/dns-network.c: Likewise.
50803         * resolv/res_init.c: Likewise.
50804         * resolv/res_mkquery.c: Likewise.
50805         * resolv/tst-aton.c: Likewise.
50806         * stdlib/cxa_atexit.c: Likewise.
50807         * stdlib/cxa_finalize.c: Likewise.
50808         * stdlib/gen-fpioconst.c: Likewise.
50809         * stdlib/strtol_l.c: Likewise.
50810         * string/tst-endian.c: Likewise.
50811         * sunrpc/auth_des.c: Likewise.
50812         * sunrpc/clnt_udp.c: Likewise.
50813         * sunrpc/rtime.c: Likewise.
50814         * sunrpc/svcauth_des.c: Likewise.
50815         * sunrpc/xdr.c: Likewise.
50816         * sunrpc/xdr_intXX_t.c: Likewise.
50817         * sunrpc/xdr_rec.c: Likewise.
50818         * sysdeps/generic/ldconfig.h: Likewise.
50819         * sysdeps/generic/ldsodefs.h: Likewise.
50820         * sysdeps/generic/memusage.h: Likewise.
50821         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50822         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50823         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50824         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50825         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50827         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50828         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50829         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50831         * sysdeps/posix/getaddrinfo.c: Likewise.
50832         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50833         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50834         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50835         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50836         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50837         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50838         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50839         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50840         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50841         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50842         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50843         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50844         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50845         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50846         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50847         * sysdeps/x86_64/dl-tls.h: Likewise.
50848         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50849         * time/alt_digit.c: Likewise.
50850         * time/era.c: Likewise.
50851         * wcsmbs/tst-c16c32-1.c: Likewise.
50853 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50855         * math/libm-test.inc (struct test_sincos_data): New type.
50856         (RUN_TEST_LOOP_sincos): New macro.
50857         (sincos_test_data): New variable.
50858         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50860 2013-05-16  Richard Henderson  <rth@redhat.com>
50862         * math/atest-exp2.c (LIMB64): New macro.
50863         (CONSTSZ): New macro.
50864         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50865         (hexdig): Move ...
50866         (print_mpn_fp): ... to function scope.
50867         (read_mpn_hex): Remove.
50868         (get_log2): Remove.
50869         (exp2_mpn): Use mp_log2.
50870         (main): Use mp_exp1.
50872 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50874         * math/libm-test.inc: Remove comment about not testing "inexact"
50875         exceptions.
50876         (INEXACT_EXCEPTION): New macro.
50877         (NO_INEXACT_EXCEPTION): Likewise.
50878         (INVALID_EXCEPTION_OK): Update value.
50879         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50880         (OVERFLOW_EXCEPTION_OK): Likewise.
50881         (UNDERFLOW_EXCEPTION_OK): Likewise.
50882         (IGNORE_ZERO_INF_SIGN): Likewise.
50883         (ERRNO_UNCHANGED): Likewise.
50884         (ERRNO_EDOM): Likewise.
50885         (ERRNO_ERANGE): Likewise.
50886         (test_exceptions): Handle testing "inexact" exceptions.
50887         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50888         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50889         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50890         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50891         INEXACT_EXCEPTION.
50892         (rint_towardzero_test_data): Likewise.
50893         (rint_downward_test_data): Likewise.
50894         (rint_upward_test_data): Likewise.
50896         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50897         with OVERFLOW_EXCEPTION.
50898         (exp10_test_data): Likewise.
50899         (exp2_test_data): Likewise.
50900         (expm1_test_data): Likewise.
50901         (lgamma_test_data): Likewise.
50902         (pow_test_data): Likewise.
50903         (tgamma_test_data): Likewise.
50904         (yn_test_data): Remove duplicate test of overflow.
50906         * math/libm-test.inc (struct test_cc_c_data): New type.
50907         (RUN_TEST_LOOP_cc_c): New macro.
50908         (cpow_test_data): New variable.
50909         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50911         * math/libm-test.inc (struct test_f_L_data): New type.
50912         (RUN_TEST_LOOP_f_L): New macro.
50913         (llrint_test_data): New variable.
50914         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50915         (llrint_tonearest_test_data): New variable.
50916         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50917         (llrint_towardzero_test_data): New variable.
50918         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50919         (llrint_downward_test_data): New variable.
50920         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50921         (llrint_upward_test_data): New variable.
50922         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50923         (llround_test_data): New variable.
50924         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50926 2013-05-13  Peter Collingbourne  <pcc@google.com>
50928         * math/atest-exp2.c (get_log2): Remove const attribute.
50930 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50932         * math/libm-test.inc (struct test_f_l_data): New type.
50933         (RUN_TEST_LOOP_f_l): New macro.
50934         (lrint_test_data): New variable.
50935         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50936         (lrint_tonearest_test_data): New variable.
50937         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50938         (lrint_towardzero_test_data): New variable.
50939         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50940         (lrint_downward_test_data): New variable.
50941         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50942         (lrint_upward_test_data): New variable.
50943         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50944         (lround_test_data): New variable.
50945         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50947 2013-05-15  Peter Collingbourne  <pcc@google.com>
50949         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50950         (EXTRACT_WORDS64) Use where appropriate.
50951         (INSERT_WORDS64) Likewise.
50953         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50954         constraints with x constraints.
50955         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50957         * malloc/obstack.c (_obstack_compat): Add initializer.
50959 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50961         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50962         si_trapno and add si_addr_lsb to _sifields.sigfault.
50963         (si_trapno): Remove macro.
50964         (si_addr_lsb): Define new macro.
50965         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50967 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50969         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50970         instead of TEST_f_l.
50971         (llrint_test_tonearest): Likewise.
50972         (llrint_test_towardzero): Likewise.
50973         (llrint_test_downward): Likewise.
50974         (llrint_test_upward): Likewise.
50975         (llround_test): Likewise.
50977         * math/libm-test.inc (struct test_f_i_data): Add comment.
50978         (RUN_TEST_LOOP_f_b): New macro.
50979         (RUN_TEST_LOOP_f_b_tg): Likewise.
50980         (finite_test_data): New variable.
50981         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50982         (isfinite_test_data): New variable.
50983         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50984         (isinf_test_data): New variable.
50985         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50986         (isnan_test_data): New variable.
50987         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50988         (isnormal_test_data): New variable.
50989         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50990         (issignaling_test_data): New variable.
50991         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50992         (signbit_test_data): New variable.
50993         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50995         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50996         with INVALID_EXCEPTION.
50997         (acosh_test_data): Likewise.
50998         (asin_test_data): Likewise.
50999         (atanh_test_data): Likewise.
51000         (fmod_test_data): Likewise.
51001         (log_test_data): Likewise.
51002         (log10_test_data): Likewise.
51003         (log2_test_data): Likewise.
51004         (pow_test_data): Likewise.
51005         (sqrt_test_data): Likewise.
51006         (y0_test_data): Likewise.
51007         (y1_test_data): Likewise.
51008         (yn_test_data): Likewise.
51010         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51011         function contents.
51013         * math/libm-test.inc (struct test_ff_i_data): New type.
51014         (RUN_TEST_LOOP_ff_i_tg): New macro.
51015         (isgreater_test_data): New variable.
51016         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51017         (isgreaterequal_test_data): New variable.
51018         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51019         (isless_test_data): New variable.
51020         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51021         (islessequal_test_data): New variable.
51022         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51023         (islessgreater_test_data): New variable.
51024         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51025         (isunordered_test_data): New variable.
51026         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51028 2013-05-14  David S. Miller  <davem@davemloft.net>
51030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51032 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51034         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51036         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51037         extra_test to int.
51038         (struct test_f_i_data): Change type of max_ulp to int.
51040         * math/libm-test.inc (test_ffI_f1_data): New type.
51041         (RUN_TEST_LOOP_ffI_f1): New macro.
51042         (remquo_test_data): New variable.
51043         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51045         * setjmp/tst-setjmp-fp.c: New file.
51046         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51047         (link-libm): New variable.
51048         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51050         * math/libm-test.inc (struct test_f_i_data): New type.
51051         (RUN_TEST_LOOP_f_i): New macro.
51052         (RUN_TEST_LOOP_f_i_tg): Likewise.
51053         (fpclassify_test_data): New variable.
51054         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51055         (ilogb_test_data): New variable.
51056         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51058         * math/libm-test.inc (scalbln_test): Correct function name in END
51059         call.
51061         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51062         (RUN_TEST_LOOP_fI_f1): New macro.
51063         (frexp_test_data): New variable.
51064         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51066         * math/libm-test.inc (struct test_fF_f1_data): New type.
51067         (RUN_TEST_LOOP_fF_f1): New macro.
51068         (modf_test_data): New variable.
51069         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51071         * math/libm-test.inc (struct test_f_f1_data): New type.
51072         (RUN_TEST_LOOP_f_f1): New macro.
51073         (gamma_test_data): New variable.
51074         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51075         (lgamma_test_data): New variable.
51076         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51078 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51080         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51081         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51082         (main): Comment "tls" pseudo-hwcap.
51084 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51086         * math/libm-test.inc (struct test_fl_f_data): New type.
51087         (RUN_TEST_LOOP_fl_f): New variable.
51088         (scalbln_test_data): New variable.
51089         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51091         * math/libm-test.inc (struct test_fi_f_data): New type.
51092         (RUN_TEST_LOOP_fi_f): New macro.
51093         (ldexp_test_data): New variable.
51094         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51095         (scalbn_test_data): New variable.
51096         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51098         * math/libm-test.inc (struct test_c_f_data): New type.
51099         (RUN_TEST_LOOP_c_f): New macro.
51100         (cabs_test_data): New variable.
51101         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51102         (carg_test_data): New variable.
51103         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51104         (cimag_test_data): New variable.
51105         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51106         (creal_test_data): New variable.
51107         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51109         * math/libm-test.inc (struct test_if_f_data): New type.
51110         (RUN_TEST_LOOP_if_f): New macro.
51111         (jn_test_data): New variable.
51112         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51113         (yn_test_data): New variable.
51114         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51116         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51118 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51120         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51121         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51123 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51125         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51126         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51127         (bench-deps): Add bench-timing.h.
51128         * benchtests-bench-skeleton.c: Include bench-timing.h.
51129         (main): Use TIMING_* macros instead of clock_gettime.
51130         * benchtests/bench-timing.h: New file.
51132         [BZ #14582]
51133         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51134         Renamed from _LIB_VERSION.
51135         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51137 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51139         * math/libm-test.inc (struct test_fff_f_data): New type.
51140         (RUN_TEST_LOOP_fff_f): New macro.
51141         (fma_test_data): New variable.
51142         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51143         (fma_towardzero_test_data): New variable.
51144         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51145         (fma_downward_test_data): New variable.
51146         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51147         (fma_upward_test_data): New variable.
51148         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51150         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51151         (struct test_c_c_data): New type.
51152         (RUN_TEST_LOOP_c_c): New macro.
51153         (cacos_test_data): New variable.
51154         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51155         (cacosh_test_data): New variable.
51156         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51157         (casin_test_data): New variable.
51158         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51159         (casinh_test_data): New variable.
51160         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51161         (catan_test_data): New variable.
51162         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51163         (catanh_test_data): New variable.
51164         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51165         (ccos_test_data): New variable.
51166         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51167         (ccosh_test_data): New variable.
51168         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51169         (cexp_test_data): New variable.
51170         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51171         (clog_test_data): New variable.
51172         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51173         (clog10_test_data): New variable.
51174         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51175         (conj_test_data): New variable.
51176         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51177         (cproj_test_data): New variable.
51178         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51179         (csin_test_data): New variable.
51180         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51181         (csinh_test_data): New variable.
51182         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51183         (csqrt_test_data): New variable.
51184         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51185         (ctan_test_data): New variable.
51186         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51187         (ctan_tonearest_test_data): New variable.
51188         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51189         (ctan_towardzero_test_data): New variable.
51190         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51191         (ctan_downward_test_data): New variable.
51192         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51193         (ctan_upward_test_data): New variable.
51194         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51195         (ctanh_test_data): New variable.
51196         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51197         (ctanh_tonearest_test_data): New variable.
51198         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51199         (ctanh_towardzero_test_data): New variable.
51200         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51201         (ctanh_downward_test_data): New variable.
51202         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51203         (ctanh_upward_test_data): New variable.
51204         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51205         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51206         of BUILD_COMPLEX.
51208         * math/libm-test.inc (struct test_ff_f_data): New type.
51209         (struct test_ff_f_data_nexttoward): Likewise.
51210         (RUN_TEST_LOOP_2_f): New macro.
51211         (RUN_TEST_LOOP_ff_f): Likewise.
51212         (atan2_test_data): New variable.
51213         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51214         (copysign_test_data): New variable.
51215         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51216         (fdim_test_data): New variable.
51217         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51218         (fmax_test_data): New variable.
51219         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51220         (fmin_test_data): New variable.
51221         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51222         (fmod_test_data): New variable.
51223         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51224         (hypot_test_data): New variable.
51225         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51226         (nextafter_test_data): New variable.
51227         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51228         (nexttoward_test_data): New variable.
51229         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51230         (pow_test_data): New variable.
51231         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51232         (pow_tonearest_test_data): New variable.
51233         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51234         (pow_towardzero_test_data): New variable.
51235         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51236         (pow_downward_test_data): New variable.
51237         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51238         (pow_upward_test_data): New variable.
51239         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51240         (remainder_test_data): New variable.
51241         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51242         (scalb_test_data): New variable.
51243         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51244         * sysdeps/i386/fpu/libm-test-ulps: Update.
51246 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51248         * math/libm-test.inc (fma_test): Use max_value instead of local
51249         variable fltmax.
51250         (nextafter_test): Likewise.
51252         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51253         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51254         (acos_downward_test_data): New variable.
51255         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51256         (acos_upward_test_data): New variable.
51257         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51258         (acosh_test_data): New variable.
51259         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51260         (asin_test_data): New variable.
51261         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51262         (asin_tonearest_test_data): New variable.
51263         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51264         (asin_towardzero_test_data): New variable.
51265         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51266         (asin_downward_test_data): New variable.
51267         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51268         (asin_upward_test_data): New variable.
51269         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51270         (asinh_test_data): New variable.
51271         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51272         (atan_test_data): New variable.
51273         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51274         (atanh_test_data): New variable.
51275         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51276         (cbrt_test_data): New variable.
51277         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51278         (ceil_test_data): New variable.
51279         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51280         (cos_test_data): New variable.
51281         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51282         (cos_tonearest_test_data): New variable.
51283         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51284         (cos_towardzero_test_data): New variable.
51285         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51286         (cos_downward_test_data): New variable.
51287         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51288         (cos_upward_test_data): New variable.
51289         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51290         (cosh_test_data): New variable.
51291         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51292         (cosh_tonearest_test_data): New variable.
51293         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51294         (cosh_towardzero_test_data): New variable.
51295         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51296         (cosh_downward_test_data): New variable.
51297         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51298         (cosh_upward_test_data): New variable.
51299         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51300         (erf_test_data): New variable.
51301         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51302         (erfc_test_data): New variable.
51303         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51304         (exp_test_data): New variable.
51305         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51306         (exp_tonearest_test_data): New variable.
51307         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51308         (exp_towardzero_test_data): New variable.
51309         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51310         (exp_downward_test_data): New variable.
51311         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51312         (exp_upward_test_data): New variable.
51313         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51314         (exp10_test_data): New variable.
51315         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51316         (exp2_test_data): New variable.
51317         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51318         (expm1_test_data): New variable.
51319         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51320         (fabs_test_data): New variable.
51321         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51322         (floor_test_data): New variable.
51323         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51324         (j0_test_data): New variable.
51325         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51326         (j1_test_data): New variable.
51327         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51328         (log_test_data): New variable.
51329         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51330         (log10_test_data): New variable.
51331         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51332         (log1p_test_data): New variable.
51333         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51334         (log2_test_data): New variable.
51335         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51336         (logb_test_data): New variable.
51337         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51338         (logb_downward_test_data): New variable.
51339         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51340         (nearbyint_test_data): New variable.
51341         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51342         (rint_test_data): New variable.
51343         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51344         (rint_tonearest_test_data): New variable.
51345         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51346         (rint_towardzero_test_data): New variable.
51347         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51348         (rint_downward_test_data): New variable.
51349         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51350         (rint_upward_test_data): New variable.
51351         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51352         (round_test_data): New variable.
51353         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51354         (sin_test_data): New variable.
51355         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51356         (sin_tonearest_test_data): New variable.
51357         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51358         (sin_towardzero_test_data): New variable.
51359         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51360         (sin_downward_test_data): New variable.
51361         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51362         (sin_upward_test_data): New variable.
51363         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51364         (sinh_test_data): New variable.
51365         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51366         (sinh_tonearest_test_data): New variable.
51367         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51368         (sinh_towardzero_test_data): New variable.
51369         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51370         (sinh_downward_test_data): New variable.
51371         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51372         (sinh_upward_test_data): New variable.
51373         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51374         (sqrt_test_data): New variable.
51375         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51376         (tan_test_data): New variable.
51377         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51378         (tan_tonearest_test_data): New variable.
51379         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51380         (tan_towardzero_test_data): New variable.
51381         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51382         (tan_downward_test_data): New variable.
51383         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51384         (tan_upward_test_data): New variable.
51385         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51386         (tanh_test_data): New variable.
51387         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51388         (tgamma_test_data): New variable.
51389         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51390         (trunc_test_data): New variable.
51391         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51392         (y0_test_data): New variable.
51393         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51394         (y1_test_data): New variable.
51395         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51396         (significand_test_data): New variable.
51397         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51399 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51401         [BZ #12387]
51402         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51404 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51406         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51408 2013-05-10  Andreas Jaeger  <aj@suse.de>
51410         [BZ #15448]
51411         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51412         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51414 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51416         * math/gen-libm-test.pl (adjust_arg): New function.
51417         (special_functions): Handle generating output in both functions
51418         and arrays.
51419         (parse_args): Likewise.
51420         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51421         $in_func argument to parse_args.
51422         * math/libm-test.inc (struct test_f_f_data): New type.
51423         (IF_ROUND_INIT_): New macro.
51424         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51425         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51426         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51427         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51428         (ROUND_RESTORE_): Likewise.
51429         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51430         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51431         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51432         (ROUND_RESTORE_FE_UPWARD): Likewise.
51433         (RUN_TEST_LOOP_f_f): New macro.
51434         (acos_test_data): New variable.
51435         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51436         (acos_tonearest_test_data): New variable.
51437         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51439 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51441         * benchtests/bench-skeleton.c (startup): Fix coding style.
51443 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51445         [BZ #6809]
51446         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51447         negative infinity argument.
51448         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51449         negative infinity argument.
51450         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51451         negative infinity argument.
51452         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51453         domain errors.
51455 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51457         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51458         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51459         * iconv/iconv_prog.c (main): Likewise.
51460         * locale/programs/charmap-dir.c (charmap_readdir)
51461         (fopen_uncompressed): Likewise.
51462         * locale/programs/locfile.c (siblings_uncached)
51463         (write_locale_data): Use lstat64 instead of lstat.
51464         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51465         stat.
51467 2013-05-10  Andreas Jaeger  <aj@suse.de>
51469         [BZ #15395]
51470         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51471         localization.
51472         Include <locale.h>.
51474 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51476         * elf/dl-close.c (_dl_close_worker): Add comments.
51478 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51480         [BZ #15359]
51481         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51482         high part of pi/2.
51483         (__ieee754_rem_pio2l): Update comments.
51485         [BZ #15429]
51486         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51487         high part of pi/2.
51488         (__ieee754_rem_pio2l): Update comments.
51490         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51491         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51493         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51494         M_PI_4l.
51496         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51497         (M_PI_34_LOG10El): Likewise.
51498         (M_PI2_LOG10El): Likewise.
51499         (M_PI4_LOG10El): Likewise.
51500         (M_PI_LOG10El): Likewise.
51502 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51506 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51508         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51509         (MINUS_ZERO_INIT): Likewise.
51510         (PLUS_INFTY_INIT): Likewise.
51511         (MINUS_INFTY_INIT): Likewise.
51512         (QNAN_VALUE_INIT): Likewise.
51513         (MAX_VALUE_INIT): Likewise.
51514         (MIN_VALUE_INIT): Likewise.
51515         (MIN_SUBNORM_VALUE_INIT): Likewise.
51516         (plus_zero): Initialize with PLUS_ZERO_INIT.
51517         (minus_zero): Initialize with MINUS_ZERO_INIT.
51518         (plus_infty): Initialize with PLUS_INFTY_INIT.
51519         (minus_infty): Initialize with MINUS_INFTY_INIT.
51520         (qnan_value): Initialize with QNAN_VALUE_INIT.
51521         (max_value): Initialize with MAX_VALUE_INIT.
51522         (min_value): Initialize with MIN_VALUE_INIT.
51523         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51525         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51526         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51527         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51528         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51530         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51531         (RUN_TEST_2_f): Likewise.
51532         (RUN_TEST_ff_f): Likewise.
51533         (RUN_TEST_fi_f): Likewise.
51534         (RUN_TEST_fl_f): Likewise.
51535         (RUN_TEST_fff_f): Likewise.
51536         (RUN_TEST_c_f): Likewise.
51537         (RUN_TEST_f_f1): Likewise.
51538         (RUN_TEST_fF_f1): Likewise.
51539         (RUN_TEST_fI_f1): Likewise.
51540         (RUN_TEST_ffI_f1): Likewise.
51541         (RUN_TEST_c_c): Likewise.
51542         (RUN_TEST_cc_c): Likewise.
51543         (RUN_TEST_f_i): Likewise.
51544         (RUN_TEST_f_i_tg): Likewise.
51545         (RUN_TEST_ff_i_tg): Likewise.
51546         (RUN_TEST_f_b): Likewise.
51547         (RUN_TEST_f_b_tg): Likewise.
51548         (RUN_TEST_f_l): Likewise.
51549         (RUN_TEST_f_L): Likewise.
51550         (RUN_TEST_sincos): Likewise.
51551         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51552         whether to show exceptions.  Do not include ");\n" in return
51553         value.
51554         (special_functions): Output call to RUN_TEST_sincos instead of
51555         check_float calls.  Update calls to new_test.
51556         (parse_args): Output call to single RUN_TEST_* macro instead of
51557         check_* calls and other assignments.  Update calls to new_test.
51559         [BZ #2546]
51560         [BZ #2560]
51561         [BZ #5159]
51562         [BZ #15426]
51563         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51564         input to result for tgamma overflow.
51565         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51566         (gamma_coeff): New variable.
51567         (NCOEFF): New macro.
51568         (gamma_positive): New function.
51569         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51570         underflow here.  Use gamma_positive instead of exp (lgamma) for
51571         other arguments.
51572         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51573         (gamma_coeff): New variable.
51574         (NCOEFF): New macro.
51575         (gammaf_positive): New function.
51576         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51577         underflow here.  Use gamma_positive instead of exp (lgamma) for
51578         other arguments.
51579         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51580         (gamma_coeff): New variable.
51581         (NCOEFF): New macro.
51582         (gammal_positive): New function.
51583         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51584         underflow here.  Use gamma_positive instead of exp (lgamma) for
51585         other arguments.
51586         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51587         (gamma_coeff): New variable.
51588         (NCOEFF): New macro.
51589         (gammal_positive): New function.
51590         (__ieee754_gammal_r): Handle positive infinity, overflow and
51591         underflow here.  Handle NaN the same as positive infinity.  Remove
51592         check x < 0xffffffff for negative integers.  Use gamma_positive
51593         instead of exp (lgamma) for other arguments.
51594         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51595         (gamma_coeff): New variable.
51596         (NCOEFF): New macro.
51597         (gammal_positive): New function.
51598         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51599         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51600         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51601         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51602         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51603         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51604         * sysdeps/generic/math_private.h (__gamma_productf): New
51605         prototype.
51606         (__gamma_product): Likewise.
51607         (__gamma_productl): Likewise.
51608         * math/Makefile (libm-calls): Add gamma_product.
51609         * math/libm-test.inc (tgamma_test): Add more tests.
51610         * sysdeps/i386/fpu/libm-test-ulps: Update.
51611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51613 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51615         * benchtests/bench-skeleton.c (main): Preheat CPU.
51617 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51619         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51621 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51623         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51624         and _dl_skip_args_internal.
51626 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51628         * manual/message.texi (Message Translation): Talk about users.
51629         Message to key mapping impacts design.
51631 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51633         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51635         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51637         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51638         * sysdeps/wordsize-64/glob64.c: ... here.
51640         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51641         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51642         New macros.
51644         * debug/getlogin_r_chk.c: Moved to ...
51645         * login/getlogin_r_chk.c: ... here.
51646         * debug/Makefile (routines): Move getlogin_r_chk to ...
51647         * login/Makefile (routines): ... here.
51648         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51649         * login/Versions (libc: GLIBC_2.4): ... here.
51651         * io/poll.c (__poll): Renamed from poll.
51652         Add libc_hidden_def.
51653         (poll): Define as weak alias.
51655         * debug/ptsname_r_chk.c: Moved to ...
51656         * login/ptsname_r_chk.c: ... here.
51657         * debug/Makefile (routines): Move ptsname_r_chk to ...
51658         * login/Makefile (routines): ... here.
51659         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51660         * login/Versions (libc: GLIBC_2.4): ... here.
51662         * posix/getlogin.c: Moved to ...
51663         * login/getlogin.c: ... here.
51664         * posix/getlogin_r.c: Moved to ...
51665         * login/getlogin_r.c: ... here.
51666         * posix/getlogin_r.c: Moved to ...
51667         * login/getlogin_r.c: ... here.
51668         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51669         * login/Makefile (routines): ... here.
51670         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51671         * login/Versions (libc: GLIBC_2.0): ... here.
51673         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51674         (setrlimit): Define as weak alias.
51676         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51677         Call __ names for open, ftruncate, and close.
51678         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51679         (truncate): Define as weak alias.
51681 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51683         * math/gen-libm-test.pl (parse_args): Initialize x before each
51684         test of frexp, modf and remquo.
51686         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51687         test signgam value.
51689 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51691         [BZ #15418]
51692         [BZ #15419]
51693         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51694         internal tests.
51695         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51697 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51699         * elf/dl-writev.h: New file.
51700         * elf/dl-misc.c: Include it.
51701         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51702         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51704 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51706         * math/libm-test.inc (noXFails): Remove variable.
51707         (noXPasses): Likewise.
51708         (BUILD_COMPLEX_INT): Remove macro.
51709         (print_screen): Remove xfail argument.
51710         (print_screen_max_error): Likewise.
51711         (update_stats): Likewise.
51712         (print_max_error): Likewise.  Update calls to other affected
51713         functions.
51714         (print_complex_max_error): Likewise.
51715         (test_single_exception): Update calls to print_screen.
51716         (test_single_errno): Likewise.
51717         (check_float_internal): Remove xfail argument.  Update calls to
51718         other affected functions.
51719         (check_float): Likewise.
51720         (check_complex): Likewise.
51721         (check_int): Likewise.
51722         (check_long): Likewise.
51723         (check_bool): Likewise.
51724         (check_longlong): Likewise.
51725         (main): Don't print noXFails and noXPasses.
51726         * math/gen-libm-test.pl (top level): Don't mention expected
51727         failure handling in comment.
51728         (new_test): Don't handle expected failures.
51729         (parse_args): Don't mention expected failure handling in comment.
51730         (generate_testfile): Don't handle expected failures.
51731         (parse_ulps): Likewise.
51732         (print_ulps_file): Likewise.
51733         (get_failure): Remove function.
51734         (output_test): Don't handle expected failures.
51735         * make/README.libm-test: Don't mention expected failure handling.
51737         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51738         (minus_zero): Likewise.
51739         (plus_infty): Likewise.
51740         (minus_infty): Likewise.
51741         (qnan_value): Likewise.
51742         (max_value): Likewise.
51743         (min_value): Likewise.
51744         (min_subnorm_value): Likewise.
51745         (initialize): Do not initialize those variables dynamically.
51747 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51749         * io/open.c (__open_2): Moved to ...
51750         * io/open_2.c: ... this new file.
51751         * io/open64.c (__open64_2): Moved to ...
51752         * io/open64_2.c: ... this new file.
51753         * io/openat.c (__openat_2): Moved to ...
51754         * io/openat_2.c: ... this new file.
51755         * io/openat64.c (__openat64_2): Moved to ...
51756         * io/openat64_2.c: ... this new file.
51757         * io/Makefile (routines): Add them.
51758         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51759         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51760         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51761         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51762         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51763         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51764         (__openat64): Add hidden_ver.
51765         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51766         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51768         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51769         Separately conditionalize setting of GLRO(dl_sysinfo) so
51770         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51771         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51773 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51775         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51776         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51777         definition.
51778         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51779         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51780         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51781         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51782         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51784 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51786         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51787         test signgam value.
51789         * math/libm-test.inc (hypot_test): Do not use
51790         IGNORE_ZERO_INF_SIGN.
51792 2013-05-03  Andreas Jaeger  <aj@suse.de>
51794         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51795         Linux 3.9.
51796         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51797         (PF_MAX): Adjust for VSOCK change.
51799 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51803 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51805         [BZ #15264]
51806         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51807         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51808         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51810 2013-05-02  David S. Miller  <davem@davemloft.net>
51812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51814 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51816         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51818 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51820         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51822 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51824         [BZ #14952]
51825         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51826         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51827         Use __attribute__ ((__gnu_inline__)).
51828         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51829         Don't use __attribute__ ((__gnu_inline__)).
51831 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51833         [BZ #15423]
51834         * math/s_catan.c (__catan): Handle small real or imaginary part of
51835         input specially to avoid spurious underflow.
51836         * math/s_catanf.c (__catanf): Likewise.
51837         * math/s_catanh.c (__catanh): Likewise.
51838         * math/s_catanhf.c (__catanhf): Likewise.
51839         * math/s_catanhl.c (__catanhl): Likewise.
51840         * math/s_catanl.c (__catanl): Likewise.
51841         * math/libm-test.inc (catan_test): Add more tests.
51842         (catanh_test): Likewise.
51843         * sysdeps/i386/fpu/libm-test-ulps: Update.
51844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51846 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51850 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51852         [BZ #15416]
51853         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51854         accurately for denominator in atan2.
51855         * math/s_catanf.c (__catanf): Likewise.
51856         * math/s_catanh.c (__catanh): Likewise.
51857         * math/s_catanhf.c (__catanhf): Likewise.
51858         * math/s_catanhl.c (__catanhl): Likewise.
51859         * math/s_catanl.c (__catanl): Likewise.
51860         * math/libm-test.inc (catan_test): Add more tests.
51861         (catanh_test): Likewise.
51862         * sysdeps/i386/fpu/libm-test-ulps: Update.
51863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51865 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51867         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51869         * benchtests/Makefile (bench): Remove slow benchmarks.
51870         * benchtests/atan-inputs: Add slow benchmark inputs.
51871         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51872         (BENCH_FUNC): Accept variant offset.
51873         (VARIANT): Define.
51874         * benchtests/bench-skeleton.c (main): Run benchmark for each
51875         variant.
51876         * benchtests/cos-inputs: Add slow benchmark inputs.
51877         * benchtests/exp-inputs: Likewise.
51878         * benchtests/pow-inputs: Likewise.
51879         * benchtests/sin-inputs: Likewise.
51880         * benchtests/slowatan-inputs: Remove.
51881         * benchtests/slowatan.c: Remove.
51882         * benchtests/slowcos-inputs: Remove.
51883         * benchtests/slowcos.c: Remove.
51884         * benchtests/slowexp-inputs: Remove.
51885         * benchtests/slowexp.c: Remove.
51886         * benchtests/slowpow-inputs: Remove.
51887         * benchtests/slowpow.c: Remove.
51888         * benchtests/slowsin-inputs: Remove.
51889         * benchtests/slowsin.c: Remove.
51890         * benchtests/slowtan-inputs: Remove.
51891         * benchtests/slowtan.c: Remove.
51892         * benchtests/tan-inputs: Add slow benchmark inputs.
51893         * scripts/bench.pl: Parse comments and directives.
51895         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51896         in CPPFLAGS.
51897         ($(objpfx)bench-%.c): Remove *-ITER.
51898         * benchtests/bench-modf.c: Remove definition of ITER.
51899         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51900         (main): Loop for DURATION seconds instead of fixed number of
51901         iterations.
51902         * scripts/bench.pl: Don't expect iterations in parameters.
51904 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51906         * io/fchdir.c (__fchdir): Renamed from fchdir.
51907         (fchdir): Define as weak alias.
51909 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51911         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51912         (ERRNO_EDOM): Likewise.
51913         (ERRNO_ERANGE): Likewise.
51914         (noErrnoTests): New variable.
51915         (init_max_error): Set errno to 0.
51916         (test_single_errno): New function.
51917         (test_errno): Likewise.
51918         (check_float_internal): Call test_errno.  Set errno to 0.
51919         (check_complex): Refer to errno tests in comment.
51920         (check_int): Call test_errno.  Set errno to 0.
51921         (check_long): Likewise.
51922         (check_bool): Likewise.
51923         (check_longlong): Likewise.
51924         (cos_test): Use ERRNO_* flags for errno tests instead of
51925         check_int.
51926         (expm1_test): Likewise.
51927         (fmod_test): Likewise.
51928         (ilogb_test): Likewise.
51929         (lgamma_test): Likewise.
51930         (pow_test): Likewise.
51931         (remainder_test): Likewise.
51932         (sin_test): Likewise.
51933         (tan_test): Likewise.
51934         (yn_test): Likewise.
51935         (initialize): Set errno to 0.
51936         (main): Print number of errno tests.
51937         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51939 2013-04-29  Andreas Jaeger  <aj@suse.de>
51941         [BZ #15084]
51942         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51943         and RES_USEVC.
51945         [BZ #15085]
51946         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51947         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51948         unimplemented.
51950         [BZ #15380]
51951         * stdlib/random.c (__initstate): Return NULL if
51952         __initstate fails.
51954         [BZ #15086]
51955         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51956         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51957         RES_SNGLKUPREOP.
51959 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51963 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51965         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51966         of individual tests.
51967         (casin_test): Likewise.
51968         (casinh_test): Likewise.
51970 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51972         [BZ #15409]
51973         * math/s_catan.c (__catan): Handle arguments with large real or
51974         imaginary part separately without squaring.
51975         * math/s_catanf.c (__catanf): Likewise.
51976         * math/s_catanh.c (__catanh): Likewise.
51977         * math/s_catanhf.c (__catanhf): Likewise.
51978         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51979         and redefine.
51980         (__catanhl): Handle arguments with large real or imaginary part
51981         separately without squaring.
51982         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51983         and redefine.
51984         (__catanl): Handle arguments with large real or imaginary part
51985         separately without squaring.
51986         * math/libm-test.inc (catan_test): Add more tests.
51987         (catanh_test): Likewise.
51988         * sysdeps/i386/fpu/libm-test-ulps: Update.
51989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51991 2013-04-27  Andreas Jaeger  <aj@suse.de>
51993         [BZ #15007]
51994         * stdlib/stdlib.h: Update guards for qecvt.
51995         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51996         <stdlib.h>.
51998 2013-04-27  Allan McRae  <allan@archlinux.org>
52000         * sysdeps/i386/fpu/libm-test-ulps: Update.
52002 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52004         [BZ #15406]
52005         * math/s_catan.c: Include <float.h>.
52006         (__catan): Ensure underflow exception occurs for underflowed
52007         result.
52008         * math/s_catanf.c: Include <float.h>.
52009         (__catanf): Ensure underflow exception occurs for underflowed
52010         result.
52011         * math/s_catanh.c: Include <float.h>.
52012         (__catanh): Ensure underflow exception occurs for underflowed
52013         result.
52014         * math/s_catanhf.c: Include <float.h>.
52015         (__catanhf): Ensure underflow exception occurs for underflowed
52016         result.
52017         * math/s_catanhl.c: Include <float.h>.
52018         (__catanhl): Ensure underflow exception occurs for underflowed
52019         result.
52020         * math/s_catanl.c: Include <float.h>.
52021         (__catanl): Ensure underflow exception occurs for underflowed
52022         result.
52023         * math/libm-test.inc (catan_test): Add more tests.
52024         (catanh_test): Likewise.
52026         [BZ #15405]
52027         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52028         underflowed result.
52029         * math/s_ccoshf.c (__ccoshf): Likewise.
52030         * math/s_ccoshl.c (__ccoshl): Likewise.
52031         * math/s_csin.c (__csin): Likewise.
52032         * math/s_csinf.c (__csinf): Likewise.
52033         * math/s_csinh.c (__csinh): Likewise.
52034         * math/s_csinhf.c (__csinhf): Likewise.
52035         * math/s_csinhl.c (__csinhl): Likewise.
52036         * math/s_csinl.c (__csinl): Likewise.
52037         * math/libm-test.inc (ccos_test): Add more tests.
52038         (ccosh_test): Likewise.
52039         (csin_test): Likewise.
52040         (csinh_test): Likewise.
52042 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52044         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52045         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52046         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52047         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52048         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52049         powerpc/power5+/fpu folders.
52050         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52053 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52057 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52059         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52060         additions to variable.
52061         [$(config-machine) = x86_64] (modules-names): Likewise.
52062         ($(objpfx)tst-audit3): Remove dependency.
52063         ($(objpfx)tst-audit3.out): Likewise.
52064         ($(objpfx)tst-audit4): Likewise.
52065         ($(objpfx)tst-audit4.out): Likewise.
52066         ($(objpfx)tst-audit5): Likewise.
52067         ($(objpfx)tst-audit5.out): Likewise.
52068         ($(objpfx)tst-audit6): Likewise.
52069         ($(objpfx)tst-audit6.out): Likewise.
52070         ($(objpfx)tst-audit7): Likewise.
52071         ($(objpfx)tst-audit7.out): Likewise.
52072         (tst-audit3-ENV): Remove variable.
52073         (tst-audit4-ENV): Likewise.
52074         (tst-audit5-ENV): Likewise.
52075         (tst-audit6-ENV): Likewise.
52076         (tst-audit7-ENV): Likewise.
52077         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52078         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52079         addition to variable.
52080         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52081         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52082         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52083         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52084         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52085         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52086         tst-audit3, tst-audit4 and tst-audit5.
52087         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52088         tst-audit6 and tst-audit7.
52089         [$(subdir) = elf] (modules-names): Add audit modules for those
52090         tests.
52091         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52092         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52093         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52094         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52095         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52096         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52097         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52098         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52099         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52100         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52101         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52102         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52103         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52104         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52105         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52106         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52107         Likewise.
52108         [$(subdir) = elf && $(config-cflags-avx) = yes]
52109         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52110         [$(subdir) = elf && $(config-cflags-avx) = yes]
52111         (CFLAGS-tst-auditmod4a.c): Likewise.
52112         [$(subdir) = elf && $(config-cflags-avx) = yes]
52113         (CFLAGS-tst-auditmod4b.c): Likewise.
52114         [$(subdir) = elf && $(config-cflags-avx) = yes]
52115         (CFLAGS-tst-auditmod6b.c): Likewise.
52116         [$(subdir) = elf && $(config-cflags-avx) = yes]
52117         (CFLAGS-tst-auditmod6c.c): Likewise.
52118         [$(subdir) = elf && $(config-cflags-avx) = yes]
52119         (CFLAGS-tst-auditmod7b.c): Likewise.
52120         * elf/tst-audit3.c: Move to ...
52121         * sysdeps/x86_64/tst-audit3.c: ... here.
52122         * elf/tst-audit4.c: Move to ...
52123         * sysdeps/x86_64/tst-audit4.c: ... here.
52124         * elf/tst-audit5.c: Move to ...
52125         * sysdeps/x86_64/tst-audit5.c: ... here.
52126         * elf/tst-audit6.c: Move to ...
52127         * sysdeps/x86_64/tst-audit6.c: ... here.
52128         * elf/tst-audit7.c: Move to ...
52129         * sysdeps/x86_64/tst-audit7.c: ... here.
52130         * elf/tst-auditmod3a.c: Move to ...
52131         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52132         * elf/tst-auditmod3b.c: Move to ...
52133         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52134         * elf/tst-auditmod4a.c: Move to ...
52135         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52136         * elf/tst-auditmod4b.c: Move to ...
52137         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52138         * elf/tst-auditmod5a.c: Move to ...
52139         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52140         * elf/tst-auditmod5b.c: Move to ...
52141         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52142         * elf/tst-auditmod6a.c: Move to ...
52143         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52144         * elf/tst-auditmod6b.c: Move to ...
52145         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52146         * elf/tst-auditmod6c.c: Move to ...
52147         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52148         * elf/tst-auditmod7a.c: Move to ...
52149         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52150         * elf/tst-auditmod7b.c: Move to ...
52151         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52153 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52155         [BZ #15366]
52156         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52157         define unconditionally.
52158         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52159         define unconditionally.
52160         (INT8_C, INT16_C, etc.): Likewise.
52162 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52164         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52165         __ehdr_start with hidden visibility.
52167         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52169 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52171         * math/libm-test.inc (cos_test): Use accurate hex constants.
52172         (sincost_test): Likewise.
52174 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52176         * math/libm-test.inc (catan_test): Add more tests.
52177         (catanh_test): Likewise.
52179         * math/s_catanf.c (__catanf): Use suffixed floating-point
52180         constants.
52181         * math/s_catanhf.c (__catanhf): Likewise.
52182         * math/s_catanhl.c (__catanhl): Likewise.
52183         * math/s_catanl.c (__catanl): Likewise.
52185         [BZ #15394]
52186         * math/s_catan.c (__catan): Calculate imaginary part of result
52187         with log1p not log unless computing log of number close to 0.
52188         * math/s_catanf.c (__catanf): Likewise.
52189         * math/s_catanl.c (__catanl): Likewise.
52190         * math/s_catanh.c (__catanh): Calculate real part of result with
52191         log1p not log unless computing log of number close to 0.
52192         * math/s_catanhf.c (__catanhf): Likewise.
52193         * math/s_catanhl.c (__catanhl): Likewise.
52194         * math/libm-test.inc (catan_test): Add more tests.
52195         (catanh_test): Likewise.
52196         * sysdeps/i386/fpu/libm-test-ulps: Update.
52197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52199 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52201         * benchtests/Makefile: Mention files in which fast and slow
52202         paths of math functions are implemented.
52204 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52206         * sysdeps/posix/timespec_get.c: New file.
52208 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52210         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52211         POWER.
52212         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52213         for POWER.
52214         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52215         powerpc/power5/fpu folders.
52216         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52217         * benchtests/Makefile: Add modf testcase.
52218         * benchtests/bench-modf.c: New file: Benchmark test for mo
52220 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52222         [BZ #14888]
52223         * time/Makefile (tests): Add tst-strptime-whitespace.
52224         * time/strptime_l.c (get_number): Use ISSPACE.
52225         (__strptime_internal): Likewise.
52226         * time/tst-strptime-whitespace.c: New test case.
52228 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52230         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52231         member.
52232         (_nss_files_init): Set it here.
52234 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52236         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52237         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52238         unsigned.
52240 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52242         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52244 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52246         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52247         size just once.
52249 2013-04-21  David S. Miller  <davem@davemloft.net>
52251         * po/ru.po: Update Russion translation from translation project.
52253 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52255         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52256         and setfsgid.
52258 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52260         * configure.in: Remove i386 configure warning. Remove i386 case.
52261         * configure: Regenerate.
52262         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52263         Add example to error message.
52264         * sysdeps/i386/configure: Regenerate.
52266 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52268         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52269         slowtan.
52270         * benchtests/cos-inputs: New file.
52271         * benchtests/slowcos-inputs: New file.
52272         * benchtests/slowcos.c: New file.
52273         * benchtests/slowtan-inputs: New file.
52274         * benchtests/slowtan.c: New file.
52275         * benchtests/tan-inputs: New file.
52277 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52279         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52280         considered kosher.
52282 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52284         * benchtests/Makefile: Include cppflags-iterator.mk to add
52285         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52287         * Makefile.in (bench-clean): New target.
52288         * benchtests/Makefile (bench-clean): Likewise.
52290 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52292         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52294 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52296         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52298 2013-04-15  Andreas Schwab  <schwab@suse.de>
52300         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52301         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52302         * nscd/pwdcache.c (cache_addpw): Likewise.
52303         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52304         more than recsize.
52306 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52308         * benchtests/Makefile (bench): Write all output to
52309         bench-out.tmp together.
52311 2013-04-15  Andreas Schwab  <schwab@suse.de>
52313         * nscd/nscd.c (main): Don't fork again after closing files.
52315 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52317         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52319         * benchtests/Rules (bench-deps): Collect dependencies into a
52320         single variable.  Add Makefile to dependencies.
52321         ($(objpfx)bench-%.c): Depend on bench-deps.
52323 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52324             Xavier Roche  <roche+kml2@exalead.com>
52326         [BZ #15361]
52327         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52328         just that it's a file descriptor.
52329         * manual/llio.texi (Synchronizing AIO Operations): Update description
52330         for EBADF error from aio_fsync.
52332 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52334         * Rules (bench): Move target definition...
52335         * benchtests/Makefile: ... here.
52337 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52339         * math/libm-test.inc (cos_test): Fix PI/2 test.
52340         (sincos_test): Likewise.
52341         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52342         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52344 2013-04-11  Andreas Schwab  <schwab@suse.de>
52346         [BZ #13988]
52347         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52348         accept exponent character only when digits were seen.
52349         * stdio-common/Makefile (tests): Add bug26.
52350         * stdio-common/bug26.c: New file.
52352         [BZ #14293]
52353         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52354         non-freeable.
52356 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52358         * Makeconfig (rtld-prefix): Define built linker prefix.
52359         * Rules (run-bench): Use it.
52360         * math/Makefile (run-regen-ulps): Likewise.
52362         * Rules (bench): Remove eval.
52364 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52365             Roland McGrath  <roland@hack.frob.com>
52366             Ondrej Bilka  <neleai@seznam.cz>
52368         [BZ #15346]
52369         * time/getdate.c: Include ctype.h and alloca.h.
52370         (__getdate_r): Trim leading and trailing spaces of input.
52371         * time/tst-getdate.c (tests): Add tests with leading and
52372         trailing spaces.
52374 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52376         [BZ #14280]
52377         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52378         when computing value.
52380 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52382         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52383         Use testrun.sh to run libm tests.
52385         [BZ #15309]
52386         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52388 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52390         [BZ #15264]
52391         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52393 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52395         * Makefile.in (regen-ulps): New target.
52396         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52397         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52398         [ifneq (no,$(PERL)] (regen-ulps): New target.
52399         [ifeq (no,$(PERL)] (regen-ulps): New target.
52400         * math/libm-test.inc (ulps_file_name): Define.
52401         (output_dir): New variable.
52402         (options): Add "output-dir" option.
52403         (parse_opt): Handle 'o' case.
52404         (main): If output_dir is non-NULL use it as a prefix
52405         otherwise use "".
52406         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52408 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52410         [BZ #10060, #10062]
52411         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52412         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52413         fail configure if __sync_val_compare_and_swap is not inlined.
52414         * sysdeps/i386/configure: Regenerate.
52415         * configure.in: Build for i686 when configured for i386.
52416         * configure: Regenerate.
52417         * README: Remove i386 reference.
52419 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52421         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52422         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52424 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52426         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52427         (lmsnanval): New variables.
52428         (F): Add conversion tests.
52429         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52430         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52432         * stdio-common/tstdiomisc.c (F): Properly collect individual
52433         tests' results.
52435         [BZ #14686, #15336]
52436         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52437         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52438         Instead, use input NaN values or generate a qNaN by arithmetic
52439         operation.  Also fix bugs to comply with the standard.
52440         * math/libm-test.inc (remainder_test): Add more tests.
52442         [BZ #15335, #15342]
52443         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52444         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52445         input NaN values or generate a qNaN by arithmetic operation.
52447         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52448         unreachable code.
52450         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52451         definitions.
52453 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52455         [BZ #14478]
52456         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52457         underflowed result.
52458         * math/s_cexpf.c (__cexpf): Likewise.
52459         * math/s_cexpl.c (__cexpl): Likewise.
52460         * math/libm-test.inc (cexp_test): Add more tests.
52462 2013-04-03  Andreas Schwab  <schwab@suse.de>
52464         [BZ #15330]
52465         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52466         order arrays from heap if bigger than alloca cutoff.
52468 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52470         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52471         (SNAN_TESTS_double): Refer to GCC PR56831.
52472         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52473         GCC PR56828.
52475 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52477         * Rules (bench): Move bench.out after the run is complete.
52479         * Rules (bench): Echo currently running benchmark.
52481         * benchtests/Makefile (bench): Add atan and slowatan.
52482         * benchtests/atan-inputs: New file.
52483         * benchtests/slowatan-inputs: New file.
52484         * benchtests/slowatan.c: New file.
52486         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52488         its value.
52490         [BZ #15305]
52491         * sysdeps/unix/sysv/linux/kernel-features.h
52492         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52493         __ASSUME_XFS_RESTRICTED_CHOWN.
52494         * sysdeps/unix/sysv/linux/pathconf.c
52495         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52496         Save and restore errno.
52498 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52500         [BZ #15327]
52501         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52502         arguments using __kernel_casinh.
52503         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52504         arguments using __kernel_casinhf.
52505         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52506         arguments using __kernel_casinhl.
52507         * math/libm-test.inc (cacosh_test): Add more tests.
52508         * sysdeps/i386/fpu/libm-test-ulps: Update.
52509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52511 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52513         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52514         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52516         * bench/Makefile (bench): Add sin and slowsin.
52517         * benchtests/sin-inputs: New file.
52518         * benchtests/slowsin-inputs: New file.
52519         * benchtests/slowsin.c: New file.
52521         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52522         (bench): Add slowexp and slowpow.
52523         (exp-ITER): Increase iterations.
52524         (pow-ITER): Likewise.
52525         * benchtests/exp-inputs: Change input.
52526         * benchtests/pow-inputs: Likewise.
52527         * benchtests/slowexp-inputs: New file.
52528         * benchtests/slowexp.c: New file.
52529         * benchtests/slowpow-inputs: New file.
52530         * benchtests/slowpow.c: New file.
52532 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52534         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52535         instructions.
52536         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52537         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52538         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52539         * benchtests/Makefile: Add rint benchtest.
52540         * benchtests/rint-inputs: Input for rint benchtest.
52542 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52544         * Versions.def (libm): Add GLIBC_2.18.
52545         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52546         hidden libm prototypes.
52547         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52548         * math/Makefile (libm-calls): Add s_issignaling.
52549         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52550         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52551         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52552         declaration.
52553         * math/math.h [__USE_GNU] (issignaling): New macro.
52554         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52555         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52556         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52557         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52558         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52559         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52560         * manual/arith.texi (issignaling): New section.
52561         * manual/libm-err-tab.pl (@all_functions): Update comment.
52562         * math/gen-libm-test.pl (parse_args): Apply special handling for
52563         issignaling.
52564         * math/libm-test.inc (print_float, issignaling_test): New
52565         functions.
52566         (check_float_internal): Add issignaling checks.
52567         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52568         default definition.
52569         * sysdeps/powerpc/math-tests.h: New file.
52570         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52571         tests.
52572         * math/test-snan.c (TEST_FUNC): Likewise.
52574 2013-03-30  David S. Miller  <davem@davemloft.net>
52576         * po/de.po: Update from translation team.
52578 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52580         [BZ #10357]
52581         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52582         imaginary part less than 1.0 and real part less than 0.5
52583         specially.
52584         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52585         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52586         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52587         (cacos_test): Add more tests.
52588         (casin_test): Likewise.
52589         (casinh_test): Likewise.
52590         * sysdeps/i386/fpu/libm-test-ulps: Update.
52591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52593 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52595         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52596         ONE with its value.
52598         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52599         (__pow_mp): Replace ONE and MONE with their values.
52600         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52601         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52602         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52603         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52604         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52605         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52607         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52609         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52610         (__pow_mp): Replace ZERO and MZERO with their values.
52611         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52612         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52613         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52615         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52616         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52617         (__sqr): Likewise.
52619         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52621         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52623 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52625         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52626         Declare with __attribute__ ((weak)).
52627         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52628         Call __call_tls_dtors only if it's not NULL.
52630 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52632         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52633         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52634         magic __ehdr_start linker symbol if it's defined.
52635         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52636         them up here if it was already done.
52638         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52639         (_dl_aux_init): Use const in cast when setting it.
52640         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52641         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52642         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52644         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52645         Declare them here.
52646         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52647         * csu/libc-tls.c: Nor here.
52648         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52650         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52651         (__libc_message): Never call vsyslog.
52653 2013-03-28  Alan Modra  <amodra@gmail.com>
52655         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52656         Define as empty.
52657         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52658         Likewise.
52660 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52662         [BZ #15214]
52663         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52664         underflow.
52665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52667 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52669         [BZ #15304]
52670         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52671         Don't add gid passed as argument.
52673         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52675 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52677         [BZ #15307]
52678         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52679         imaginary part between 1.0 and 1.5 and real part less than 0.5
52680         specially.
52681         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52682         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52683         * math/libm-test.inc (cacos_test): Add more tests.
52684         (casin_test): Likewise.
52685         (casinh_test): Likewise.
52686         * sysdeps/i386/fpu/libm-test-ulps: Update.
52687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52689 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52691         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52692         constants.
52693         (norm): Likewise.
52694         (denorm): Likewise.
52695         (__dbl_mp): Likewise.
52696         (add_magnitudes): Likewise.
52697         (sub_magnitudes): Likewise.
52698         (__add): Likewise.
52699         (__sub): Likewise.
52700         (__mul): Likewise.
52701         (__sqr): Likewise.
52702         (__inv): Likewise.
52703         (__dvd): Likewise.
52705         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52706         commented code.
52707         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52708         (__dubcos): Likewise.
52709         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52710         (__ieee754_acos): Likewise.
52711         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52712         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52713         (__exp1): Likewise.
52714         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52716         (log1): Likewise.
52717         (my_log2): Likewise.
52718         (checkint): Likewise.
52719         * sysdeps/ieee754/dbl-64/e_remainder.c
52720         (__ieee754_remainder): Likewise.
52721         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52723         (bsloww): Likewise.
52724         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52726         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52727         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52728         MANTISSA_STORE_T to store computations on mantissa.  Use
52729         macros for rounding and division.
52730         (denorm): Likewise.
52731         (__dbl_mp): Likewise.
52732         (add_magnitudes): Likewise.
52733         (sub_magnitudes): Likewise.
52734         (__mul): Likewise.
52735         (__sqr): Likewise.
52736         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52737         powers of two in terms of TWOPOW macro.
52738         (mp_no): Make type of mantissa as MANTISSA_T.
52739         [!RADIXI]: Define RADIXI.
52740         [!TWO52]: Define TWO52.
52741         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52743 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52745         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52746         llroundl symbol when building for PPC32.
52748 2013-03-24  Mark H Weaver  <mhw@netris.org>
52750         * manual/arith.texi (Normalization Functions): Fix prototypes for
52751         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52753 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52755         [BZ #13889]
52756         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52757         high value to check if expl overflow.
52758         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52759         to check for underflow and overflow.
52760         * math/libm-test.inc: Add exp test.
52762 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52764         [BZ #11120]
52765         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52766         with NOT_IN_libc.
52768 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52770         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52771         symbol.
52773 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52775         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52776         wrap blocks consisting of several statements.
52778         * sysdeps/generic/math-tests.h: New file.
52779         * sysdeps/i386/fpu/math-tests.h: Likewise.
52780         * math/test-snan.c: Include it.
52781         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52783 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52785         [BZ #15285]
52786         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52787         (__ieee754_j0l): Do not improve calculations using cos of twice
52788         input for inputs above LDBL_MAX / 2.0L.
52789         (__ieee754_y0l): Likewise.
52790         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52791         (__ieee754_j1l): Do not improve calculations using cos of twice
52792         input for inputs above LDBL_MAX / 2.0L.
52793         (__ieee754_y1l): Likewise.
52794         * math/libm-test.inc (j0_test): Add another test.
52795         (j1_test): Likewise.
52796         (y0_test): Likewise.
52797         (y1_test): Likewise.
52798         * sysdeps/i386/fpu/libm-test-ulps: Update.
52800 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52802         * Rules ($(objpfx)bench-%.c): Include code from a C source
52803         file.
52805 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52807         [BZ #15287]
52808         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52809         imaginary part 1.0 and real part less than 0.5 specially.
52810         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52811         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52812         * math/libm-test.inc (cacos_test): Add more tests.
52813         (casin_test): Likewise.
52814         (casinh_test): Likewise.
52815         * sysdeps/i386/fpu/libm-test-ulps: Update.
52816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52818 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52820         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52821         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52823 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52825         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52826         * config.make.in (config-cflags-sse4): Remove variable.
52827         (config-cflags-avx): Likewise.
52828         (config-cflags-sse2avx): Likewise.
52829         (config-cflags-novzeroupper): Likewise.
52830         (config-asflags-i686): Likewise.
52831         (have-mfma4): Likewise.
52832         (have-as-vis3): Likewise.
52833         (MIG): Likewise.
52834         * configure.in (MIG): Do not AC_SUBST.
52835         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52836         (libc_cv_cc_sse4): Do not AC_SUBST.
52837         (libc_cv_cc_avx): Likewise.
52838         (libc_cv_cc_sse2avx): Likewise.
52839         (libc_cv_cc_novzeroupper): Likewise.
52840         (libc_cv_cc_fma4): Likewise.
52841         (libc_cv_as_i686): Likewise.
52842         (libc_cv_sparc_as_vis3): Likewise.
52843         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52844         LIBC_CONFIG_VAR.
52845         (config-asflags-i686): Likewise.
52846         (config-cflags-avx): Likewise.
52847         (config-cflags-sse2avx): Likewise.
52848         (have-mfma4): Likewise.
52849         (config-cflags-novzeroupper): Likewise.
52850         * sysdeps/mach/configure.in (MIG): Likewise.
52851         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52852         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52853         LIBC_CONFIG_VAR.
52854         (config-cflags-avx): Likewise.
52855         (config-cflags-sse2avx): Likewise.
52856         (have-mfma4): Likewise.
52857         (config-cflags-novzeroupper): Likewise.
52858         * configure: Regenerated.
52859         * sysdeps/i386/configure: Likewise.
52860         * sysdeps/mach/configure: Likewise.
52861         * sysdeps/sparc/configure: Likewise.
52862         * sysdeps/x86_64/configure: Likewise.
52864 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52866         [BZ #14812]
52867         * locale/programs/localedef.c (options): Put N_ translation marker
52868         on argument names, not just descriptions.
52870 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52872         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52874 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52876         [BZ #14176]
52877         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52879 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52881         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52882         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52883         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52884         [!BEFORE_ABORT] (before_abort): New function.
52885         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52886         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52887         (writev_for_fatal): New function.
52888         (WRITEV_FOR_FATAL): New macro; call that.
52889         (backtrace_and_maps): New function.
52890         (BEFORE_ABORT): New macro; call that.
52891         (struct str_list): Type removed.
52892         (__libc_message, __libc_fatal): Functions removed.
52893         Include <sysdeps/posix/libc_fatal.c> instead.
52895 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52897         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52898         constants.
52899         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52900         double constants.
52902 2013-03-19  Andreas Schwab  <schwab@suse.de>
52904         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52905         * sysdeps/gnu/configure: Regenerate.
52907         * configure.in: Substitute libc_cv_rtlddir.
52908         * configure: Regenerate.
52909         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52910         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52911         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52912         * elf/Makefile (install-others, CFLAGS-interp.c)
52913         (ldso_install, common-ldd-rewrite): Likewise.
52914         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52915         $(inst_slibdir)/$(rtld-installed-name).
52916         * scripts/rellns-sh: Add -p option.
52917         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52918         for source.
52920 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52922         * manual/nptl.texi: Renamed to ...
52923         * manual/threads.texi: ... this.
52924         * manual/Makefile (chapters): Update.
52926 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52928         [BZ #14812]
52929         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52930         on argument names, not just descriptions.
52931         * malloc/memusagestat.c (options): Likewise.
52932         * nss/getent.c (options): Likewise.
52934 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52936         [BZ #14812]
52937         * iconv/iconv_prog.c (options): Put N_ translation marker
52938         on argument names, not just descriptions.
52939         * iconv/iconvconfig.c (options): Likewise.
52941 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52943         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52944         implementation which is faster on all x86_64 architectures.
52945         Tested on AMD, Intel Nehalem, SNB, IVB.
52946         * sysdeps/x86_64/strnlen.S: Likewise.
52948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52949         Remove all multiarch strlen and strnlen versions.
52950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52951         Remove strlen and strnlen related parts.
52953         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52954         Inline strlen part.
52955         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52957         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52958         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52959         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52960         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52961         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52962         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52964 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52966         * manual/memory.texi (Malloc Tunable Parameters):
52967         Sort parameters alphabetically. Add comments for missing entries.
52969 2013-03-17  David S. Miller  <davem@davemloft.net>
52971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52973 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52975         [BZ #15283]
52976         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52977         for arguments at most half maximum finite value.
52978         * math/libm-test.inc (j0_test): Add more tests.
52979         (j1_test): Likewise.
52980         (y0_test): Likewise.
52981         (y1_test): Likewise.
52982         * sysdeps/i386/fpu/libm-test-ulps: Update.
52983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52985         [BZ #14155]
52986         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52987         1 / x and functions P and Q for arguments above 0x1p256L.
52988         (__ieee754_y0l): Likewise.
52989         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52990         (__ieee754_y1l): Likewise.
52991         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52992         (j1_test): Likewise.
52993         (y0_test): Likewise.
52994         (y1_test): Likewise.
52996 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52998         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52999         variable.
53001 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53003         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53004         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53005         zero since it's initialized to EXEC_PAGESIZE.
53007         * sysdeps/unix/sysv/linux/ldsodefs.h
53008         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53009         * sysdeps/generic/ldsodefs.h: ... here.
53011 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53013         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53015         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53016         math/test-snan.c.
53017         * math/test-snan.c: Renamed from
53018         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53019         * math/Makefile (tests): Add test-snan.
53020         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53021         test-powerpc-snan.
53023         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53024         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53025         functions.
53026         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53027         __builtin_nan family of functions.
53028         * math/libm-test.inc (initialize): Initialize qnan_value with
53029         __builtin_nan family of functions.
53030         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53031         Remove variables.
53032         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53033         Remove functions.
53034         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53035         storage class.  Initialize qNaN_var and sNaN_var with
53036         __builtin_nan and __builtin_nans families of functions,
53037         respectively.
53039         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53040         (sqrt_test): Remove duplicate test with qNaN input.
53041         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53042         (round_test, signbit_test, significand_test): Note missing +/-Inf
53043         as well as qNaN tests.
53045         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53046         qNaN_var.  Fix a few strings, too.
53047         * math/libm-test.inc (nan_value): Rename to qnan_value.
53048         * math/gen-libm-test.pl (%beautify): Adjust to that.
53049         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53050         * math/test-misc.c (main): Likewise.
53051         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53052         to __qnan_bytes, and __qnan_union, respectively.
53053         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53054         Likewise.
53055         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53056         and lqnanval, respectively.
53057         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53058         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53059         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53060         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53062         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53063         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53064         doubles.
53066         * math/test-misc.c (main): Fix copy'n'pastos.
53067         * misc/tst-efgcvt.c (special): Likewise.
53069         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53070         Remove declarations.
53072 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53074         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53075         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53076         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53077         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53079 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53081         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53082         macro to return vdso values correctly in IFUNC implementations.
53083         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53084         Optimization by using IFUNC.
53086 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53087             Richard Henderson  <rth@redhat.com>
53088             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53090         * Makefile.in (bench): New target.
53091         * NEWS: Mention the benchmark framework.
53092         * Rules (bench): Likewise.
53093         (binaries-bench): Generate binaries for functions to
53094         benchmark.
53095         * benchtests/Makefile: New makefile for benchmark tests.
53096         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53097         programs.
53098         * benchtests/exp-inputs: New input file for EXP function.
53099         * benchtests/pow-inputs: New input file for POW function.
53100         * scripts/bench.pl: New script to generate source files for
53101         benchmark programs.
53103 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53105         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53106         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53107         computations on mantissa.  Use macros for rounding and
53108         division.
53109         (denorm): Likewise.
53110         (__dbl_mp): Likewise.
53111         (add_magnitudes): Likewise.
53112         (sub_magnitudes): Likewise.
53113         (__mul): Likewise.
53114         (__sqr): Likewise.
53115         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53116         powers of two in terms of TWOPOW macro.
53117         (mp_no): Make type of mantissa as MANTISSA_T.
53118         [!RADIXI]: Define RADIXI.
53119         [!TWO52]: Define TWO52.
53120         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53122         * manual/nptl.texi (cindex): Modify threads to pthreads.
53124 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53126         * sysdeps/x86_64/preconfigure: Regenerated.
53128 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53130         [BZ #14155]
53131         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53132         0x1p28 and above.
53133         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53134         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53135         0x1p28 and above.
53136         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53137         * math/libm-test.inc (j0_test): Do not allow one spurious
53138         underflow exception.
53139         (y1_test): Likewise.
53141 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53143         * manual/Makefile (chapters): Add nptl.
53144         * manual/debug.texi (Debugging Support): Add link to Threads
53145         chapter.
53146         * manual/nptl.texi: New file.
53148         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53150 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53152         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53153         for non-NULL pointer before the memory validity test. Pointed
53154         out by Holger Brunck <holger.brunck@keymile.com>.
53156 2013-03-13  Andreas Schwab  <schwab@suse.de>
53158         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53159         instead of .os.
53161 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53163         * timezone/zic.c: Update from tzcode 2013b.
53165 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53167         * manual/install.texi (Configuring and compiling):
53168         Mention i686 and i586.
53169         * INSTALL: Regenerate.
53171 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53173         * sysdeps/init_array/elf-init.c: New file.
53174         * csu/elf-init.c
53175         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53176         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53178         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53179         __gmon_start__ as global, but as static with a .preinit_array pointer.
53180         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53181         * sysdeps/init_array/crti.S: New file, empty except for comments.
53182         * sysdeps/init_array/crtn.S: Likewise.
53184 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53186         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53187         definining bcopy.
53188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53189         Remove Prefer_SSE_for_memop.
53190         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53191         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53192         HAS_PREFER_SSE_FOR_MEMOP.
53193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53194         memset-x86-64.
53195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53196         Remove bzero, memset ifunc support.
53197         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53198         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53199         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53200         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53202 2013-03-11  Andreas Schwab  <schwab@suse.de>
53204         [BZ #15234]
53205         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53206         by SHLIB_COMPAT.
53207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53208         (GLIBC_2.16): Remove pthread_atfork.
53210 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53212         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53213         (ptestcases.h): Likewise.
53215 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53217         * Makeconfig ($(common-objpfx)config.status): Depend on
53218         sysdeps/*/preconfigure{,.in} too.
53220 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53222         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53223         (__free_hook): Use void * instead of __malloc_ptr_t.
53224         (__malloc_hook): Likewise.
53225         (__realloc_hook): Likewise.
53226         (__memalign_hook): Likewise.
53227         (__after_morecore_hook): Likewise.
53228         * malloc/arena.c (save_malloc_hook): Likewise.
53229         (save_free_hook): Likewise.
53230         * malloc/hooks.c (malloc_hook_ini): Likewise.
53231         (realloc_hook_ini): Likewise.
53232         (memalign_hook_ini): Likewise.
53233         * malloc/malloc.c (malloc_hook_ini): Likewise.
53234         (realloc_hook_ini): Likewise.
53235         (memalign_hook_ini): Likewise.
53236         (__free_hook): Likewise.
53237         (__malloc_hook): Likewise.
53238         (__realloc_hook): Likewise.
53239         (__memalign_hook): Likewise.
53240         (__libc_malloc): Likewise.
53241         (__libc_free): Likewise.
53242         (__libc_realloc): Likewise.
53243         (__libc_memalign): Likewise.
53244         (__libc_valloc): Likewise.
53245         (__libc_pvalloc): Likewise.
53246         (__libc_calloc): Likewise.
53247         (__posix_memalign): Likewise.
53248         * malloc/morecore.c (__sbrk): Likewise.
53249         (__default_morecore): Likewise.
53251         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53253         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53254         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53255         __malloc_ptrdiff_t.
53257         * malloc/malloc.h (__malloc_size_t): Remove macro.
53258         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53259         __malloc_size_t.
53260         (old_memalign_hook): Likewise.
53261         (old_realloc_hook): Likewise.
53262         (struct hdr): Likewise.
53263         (flood): Likewise.
53264         (mallochook): Likewise.
53265         (memalignhook): Likewise.
53266         (reallochook): Likewise.
53267         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53268         (tr_old_realloc_hook): Likewise.
53269         (tr_old_memalign_hook): Likewise.
53270         (tr_mallochook): Likewise.
53271         (tr_reallochook): Likewise.
53272         (tr_memalignhook): Likewise.
53274 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53276         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53277         default_ldbl_pack and using as default implementation.
53278         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53279         implementation.
53280         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53281         redundant definition.
53282         (ldbl_insert_mantissa): Likewise.
53283         (ldbl_canonicalize): Likewise.
53284         (ldbl_nearbyint): Likewise.
53285         (ldbl_pack): Rename to ldbl_pack_ppc.
53286         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53287         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53288         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53290 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53293         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53294         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53295         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53297         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53298         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53299         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53301 2013-03-07  Andreas Jaeger  <aj@suse.de>
53303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53304         bits/mman-linux.h.
53306 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53308         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53309         Include mpa.h and declare __MPEXP.
53310         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53311         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53312         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53313         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53314         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53315         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53316         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53318         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53319         (__slowpow): Use long double EXPL and LOGL functions to
53320         compute POW.
53321         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53322         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53323         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53324         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53325         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53326         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53329         intermediate variable to calculate exponent.
53330         (__sqr): Likewise.
53331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53332         Likewise.
53333         (__sqr): Likewise.
53335         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53336         [!NO__SQR]: Define __sqr.
53337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53338         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53339         sysdeps/ieee754/dbl-64/mpa.c.
53340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53342         [BZ #12723]
53343         * posix/Makefile (tests): Add tst-pathconf.
53344         * posix/tst-pathconf.c: New test case.
53345         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53346         _PC_PIPE_BUF.
53347         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53349 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53351         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53353 2013-03-06  Andreas Jaeger  <aj@suse.de>
53355         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53356         definition via __MAP_ANONYMOUS.
53358         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53359         it's not part of Linux headers.
53361         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53362         (MAP_HUGE_MASK): Define.
53364         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53365         Define.
53366         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53367         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53368         Define.
53369         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53370         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53371         Define.
53372         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53373         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53374         Define.
53375         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53377         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53378         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53379         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53380         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53381         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53382         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53384         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53385         Handle f2fs.
53387         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53388         Handle f2fs and efivarfs.
53390         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53391         f2fs.
53393         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53394         (EFIVARFS_MAGIC): Add.
53395         (F2FS_LINK_MAX): Add.
53397 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53399         * stdio-common/vfprintf.c: Replace __builtin_expect with
53400         __glibc_unlikely.
53402 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53404         [BZ #13550]
53405         * sysdeps/generic/bp-sym.h: Remove file.
53406         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53407         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53408         <bp-sym.h> and <bp-asm.h>.
53409         (__longjmp): Don't use BP_SYM.
53410         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53411         and <bp-asm.h>.
53412         (memcpy): Don't use BP_SYM.
53413         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53414         <bp-sym.h> and <bp-asm.h>.
53415         (memcpy): Don't use BP_SYM.
53416         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53417         <bp-asm.h>.
53418         (memcpy): Don't use BP_SYM.
53419         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53420         <bp-asm.h>.
53421         (memset): Don't use BP_SYM.
53422         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53423         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53424         (__bzero): Don't use BP_SYM.
53425         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53426         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53427         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53428         <bp-sym.h> and <bp-asm.h>.
53429         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53430         pointers.
53431         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53432         <bp-sym.h> and <bp-asm.h>.
53433         (memcpy): Don't use BP_SYM.
53434         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53435         <bp-sym.h> and <bp-asm.h>.
53436         (memset): Don't use BP_SYM.
53437         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53438         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53439         (__bzero): Don't use BP_SYM.
53440         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53441         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53442         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53443         <bp-sym.h> and <bp-asm.h>.
53444         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53445         pointers.
53446         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53447         <bp-sym.h> and <bp-asm.h>.
53448         (memcpy): Don't use BP_SYM.
53449         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53450         <bp-sym.h> and <bp-asm.h>.
53451         (memset): Don't use BP_SYM.
53452         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53453         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53454         (__bzero): Don't use BP_SYM.
53455         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53456         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53457         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53458         <bp-sym.h> and <bp-asm.h>.
53459         (__memchr): Don't use BP_SYM.
53460         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53461         <bp-sym.h> and <bp-asm.h>.
53462         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53463         pointers.
53464         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53465         <bp-sym.h> and <bp-asm.h>.
53466         (memcpy): Don't use BP_SYM.
53467         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53468         <bp-sym.h> and <bp-asm.h>.
53469         (__mempcpy): Don't use BP_SYM.
53470         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53471         <bp-sym.h> and <bp-asm.h>.
53472         (__memrchr): Don't use BP_SYM.
53473         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53474         <bp-sym.h> and <bp-asm.h>.
53475         (memset): Don't use BP_SYM.
53476         (__bzero): Likewise.
53477         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53478         <bp-sym.h> and <bp-asm.h>.
53479         (__rawmemchr): Don't use BP_SYM.
53480         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53481         <bp-sym.h> and <bp-asm.h>.
53482         (__STRCMP): Don't use BP_SYM.
53483         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53484         <bp-sym.h> and <bp-asm.h>.
53485         (strchr): Don't use BP_SYM.
53486         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53487         <bp-sym.h> and <bp-asm.h>.
53488         (__strchrnul): Don't use BP_SYM.
53489         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53490         <bp-sym.h> and <bp-asm.h>.
53491         (strlen): Don't use BP_SYM.
53492         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53493         <bp-sym.h> and <bp-asm.h>.
53494         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53495         pointers.
53496         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53497         <bp-sym.h> and <bp-asm.h>.
53498         (__strnlen): Don't use BP_SYM.
53499         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53500         <bp-sym.h> and <bp-asm.h>.
53501         (__GI__setjmp): Don't use BP_SYM.
53502         (_setjmp): Likewise.
53503         (__sigsetjmp): Likewise.
53504         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53505         (L(start_addresses)): Don't use BP_SYM.
53506         (_start): Likewise.
53507         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53508         <bp-asm.h>.
53509         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53510         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53511         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53512         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53513         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53514         <bp-asm.h>.
53515         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53516         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53517         about bounded pointers.
53518         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53519         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53520         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53521         <bp-asm.h>.
53522         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53523         about bounded pointers.  Remove GKM FIXME comments.
53524         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53525         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53526         <bp-asm.h>.
53527         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53528         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53529         Remove GKM FIXME comments.
53530         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53531         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53532         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53533         <bp-asm.h>.
53534         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53535         about bounded pointers.  Remove GKM FIXME comment.
53536         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53537         and <bp-asm.h>.
53538         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53539         pointers.
53540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53541         <bp-sym.h> and <bp-asm.h>.
53542         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53544         <bp-sym.h> and <bp-asm.h>.
53545         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53546         comment.
53548 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53550         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53551         call free(NULL).
53553 2013-03-05  David S. Miller  <davem@davemloft.net>
53555         * po/es.po: Update from translation team.
53557 2013-03-05  Andreas Jaeger  <aj@suse.de>
53559         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53560         <bits/mman-linux.h>.
53561         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53562         is fine.
53563         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53564         <bits/mman-linux.h> to end of file.
53565         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53566         is fine.
53567         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53568         <bits/mman-linux.h> to end of file.
53569         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53570         is fine.
53571         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53572         <bits/mman-linux.h> to end of file.
53574         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53575         (MCL_CURRENT, MCL_FUTURE): Define here.
53577 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53579         [BZ #15232]
53580         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53581         attribute_hidden.
53582         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53584 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53586         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53587         fourth parameter needed for rt_sigprocmask syscall.
53588         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53589         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53590         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53591         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53593         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53595 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53597         [BZ #13550]
53598         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53599         comment about bounded pointers.
53600         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53601         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53603 2013-03-04  Andreas Jaeger  <aj@suse.de>
53605         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53606         common definitions.
53608         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53609         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53610         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53611         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53612         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53613         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53615 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53617         [BZ #15055]
53618         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53619         __ieee754_sqrl instead of __sqrl.
53621 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53623         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53624         * sysdeps/powerpc/fpu_control.h: ... here.
53625         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53626         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53627         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53628         * sysdeps/powerpc/bits/mathinline.h: ... here.
53630 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53632         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53633         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53634         to just [NEED_DL_SYSINFO_DSO].
53635         * elf/dl-support.c: Likewise.
53636         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53637         * elf/rtld.c (dl_main): Likewise.
53638         * elf/setup-vdso.h (setup_vdso): Likewise.
53639         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53640         * sysdeps/unix/sysv/linux/dl-sysdep.c
53641         (_dl_discover_osversion): Likewise.
53643 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53645         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53646         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53648 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53650         * NEWS: Mention libm performance improvements and non-x86 PI
53651         futex support.
53653         * csu/libc-start.c (__pthread_initialize_minimal): Change
53654         function arguments.
53655         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53657 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53659         [BZ #13550]
53660         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53661         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53662         <bp-sym.h> and <bp-asm.h>.
53663         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53664         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53665         and <bp-asm.h>.
53666         (memcpy): Don't use BP_SYM.
53667         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53668         <bp-asm.h>.
53669         (__mpn_add_n): Don't use BP_SYM.
53670         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53671         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53672         and <bp-asm.h>.
53673         (__mpn_addmul_1): Don't use BP_SYM.
53674         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53675         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53676         <bp-sym.h>.
53677         (_setjmp): Don't use BP_SYM.
53678         (__novmx_setjmp): Likewise.
53679         (__GI__setjmp): Likewise.
53680         (__vmx_setjmp): Likewise.
53681         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53682         <bp-sym.h>.
53683         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53684         (__bzero): Don't use BP_SYM.
53685         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53686         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53687         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53688         <bp-sym.h> and <bp-asm.h>.
53689         (memcpy): Don't use BP_SYM.
53690         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53691         <bp-sym.h> and <bp-asm.h>.
53692         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53693         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53694         <bp-sym.h> and <bp-asm.h>.
53695         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53696         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53697         <bp-asm.h>.
53698         (__mpn_lshift): Don't use BP_SYM.
53699         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53700         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53701         <bp-asm.h>.
53702         (memset): Don't use BP_SYM.
53703         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53704         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53705         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53706         <bp-asm.h>.
53707         (__mpn_mul_1): Don't use BP_SYM.
53708         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53709         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53710         <bp-sym.h> and <bp-asm.h>.
53711         (memcmp): Don't use BP_SYM.
53712         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53713         <bp-sym.h> and <bp-asm.h>.
53714         (memcpy): Don't use BP_SYM.
53715         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53716         <bp-sym.h> and <bp-asm.h>.
53717         (memset): Don't use BP_SYM.
53718         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53719         <bp-sym.h> and <bp-asm.h>.
53720         (strncmp): Don't use BP_SYM.
53721         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53722         <bp-sym.h> and <bp-asm.h>.
53723         (memcpy): Don't use BP_SYM.
53724         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53725         <bp-sym.h> and <bp-asm.h>.
53726         (memset): Don't use BP_SYM.
53727         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53728         <bp-sym.h> and <bp-asm.h>.
53729         (__memchr): Don't use BP_SYM.
53730         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53731         <bp-sym.h> and <bp-asm.h>.
53732         (memcmp): Don't use BP_SYM.
53733         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53734         <bp-sym.h> and <bp-asm.h>.
53735         (memcpy): Don't use BP_SYM.
53736         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53737         <bp-sym.h> and <bp-asm.h>.
53738         (__mempcpy): Don't use BP_SYM.
53739         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53740         <bp-sym.h> and <bp-asm.h>.
53741         (__memrchr): Don't use BP_SYM.
53742         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53743         <bp-sym.h> and <bp-asm.h>.
53744         (memset): Don't use BP_SYM.
53745         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53746         <bp-sym.h> and <bp-asm.h>.
53747         (__rawmemchr): Don't use BP_SYM.
53748         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53749         <bp-sym.h> and <bp-asm.h>.
53750         (__STRCMP): Don't use BP_SYM.
53751         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53752         <bp-sym.h> and <bp-asm.h>.
53753         (strchr): Don't use BP_SYM.
53754         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53755         <bp-sym.h> and <bp-asm.h>.
53756         (__strchrnul): Don't use BP_SYM.
53757         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53758         <bp-sym.h> and <bp-asm.h>.
53759         (strlen): Don't use BP_SYM.
53760         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53761         <bp-sym.h> and <bp-asm.h>.
53762         (strncmp): Don't use BP_SYM.
53763         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53764         <bp-sym.h> and <bp-asm.h>.
53765         (__strnlen): Don't use BP_SYM.
53766         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53767         <bp-asm.h>.
53768         (__mpn_rshift): Don't use BP_SYM.
53769         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53770         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53771         <bp-sym.h> and <bp-asm.h>.
53772         (__sigsetjmp): Don't use BP_SYM.
53773         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53774         (L(start_addresses)): Don't use BP_SYM.
53775         (_start): Likewise.
53776         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53777         <bp-asm.h>.
53778         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53779         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53780         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53781         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53782         <bp-asm.h>.
53783         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53784         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53785         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53786         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53787         <bp-asm.h>.
53788         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53789         comments.
53790         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53791         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53792         <bp-asm.h>.
53793         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53794         FIXME comments.
53795         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53796         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53797         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53798         <bp-asm.h>.
53799         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53800         comment.
53801         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53802         and <bp-asm.h>.
53803         (strncmp): Don't use BP_SYM,
53804         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53805         <bp-asm.h>.
53806         (__mpn_sub_n): Don't use BP_SYM.
53807         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53808         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53809         and <bp-asm.h>.
53810         (__mpn_submul_1): Don't use BP_SYM.
53811         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53813         <bp-sym.h> and <bp-asm.h>.
53814         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53816         <bp-sym.h> and <bp-asm.h>.
53817         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53818         comment.
53820 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53823         Use ZK to minimize writes to Z.
53824         (sub_magnitudes): Simplify code a bit.
53825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53826         Use ZK to minimize writes to Z.
53827         (sub_magnitudes): Simplify code a bit.
53829 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53831         * csu/gmon-start.c: Add special exception to license text.
53833 2013-02-27  Richard Henderson  <rth@redhat.com>
53835         * scripts/config.guess: Update from config.git.
53836         * scripts/config.sub: Likewise.
53838 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53840         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53842         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53844         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53846         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53848         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53850 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53852         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53853         [$(build-shared = yes].
53855 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53857         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53858         (__mul): Reduce iterations for calculating mantissa.
53860         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53861         MPTWO.
53862         (__mpranred): Likewise.
53864         [BZ #15160]
53865         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53866         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53868 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53870         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53871         Define __attribute__.
53873 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53875         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53876         unused.
53877         * posix/regex_internal.h (__attribute): Remove.
53878         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53879         (re_string_context_at): Likewise.
53880         (bitset_not): Use __attribute__ and mark function as possibly
53881         unused.
53882         (bitset_merge): Likewise.
53883         (bitset_mask): Likewise.
53884         (re_string_char_size_at): Likewise.
53885         (re_string_wchar_at): Likewise.
53886         (re_string_elem_size_at): Likewise.
53888 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53890         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53891         code.
53892         (cc32): Likewise.
53894         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53895         (__acr): Likewise.
53896         (__cpy): Likewise.
53897         (norm): Likewise.
53898         (denorm): Likewise.
53899         (__dbl_mp): Likewise.
53900         (add_magnitudes): Likewise.
53901         (sub_magnitudes): Likewise.
53902         (__mul): Likewise.
53903         (__inv): Likewise.
53905         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53906         style.
53908         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53909         style.
53911         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53912         code.
53914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53915         up changes with default code.
53916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53917         Likewise.
53919 2013-02-24  Allan McRae  <allan@archlinux.org>
53921         * manual/socket.texi (The Internet Namespace): Order menu items
53922         to match that in the file.
53924         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53925         node listing of the info page menu.
53927 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53929         [BZ #13550]
53930         * sysdeps/i386/bp-asm.h: Remove file.
53931         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53932         (PARMS): Do not use macros from bp-asm.h.
53933         (S1): Likewise.
53934         (S2): Likewise.
53935         (SIZE): Likewise.
53936         (__mpn_add_n): Do not use BP_SYM
53937         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53938         "bp-asm.h".
53939         (PARMS): Do not use macros from bp-asm.h.
53940         (S1): Likewise.
53941         (SIZE): Likewise.
53942         (__mpn_addmul_1): Do not use BP_SYM
53943         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53944         "bp-asm.h".
53945         (PARMS): Do not use macros from bp-asm.h.
53946         (SIGMSK): Likewise.
53947         (_setjmp): Likewise.  Do not use BP_SYM.
53948         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53949         "bp-asm.h".
53950         (PARMS): Do not use macros from bp-asm.h.
53951         (SIGMSK): Likewise.
53952         (setjmp): Likewise.  Do not use BP_SYM.
53953         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53954         "bp-asm.h".
53955         (PARMS): Do not use macros from bp-asm.h.
53956         (__frexp): Do not use BP_SYM.
53957         (frexp): Likewise.
53958         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53959         "bp-asm.h".
53960         (PARMS): Do not use macros from bp-asm.h.
53961         (__frexpf): Do not use BP_SYM.
53962         (frexpf): Likewise.
53963         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53964         "bp-asm.h".
53965         (PARMS): Do not use macros from bp-asm.h.
53966         (__frexpl): Do not use BP_SYM.
53967         (frexpl): Likewise.
53968         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53969         "bp-asm.h".
53970         (PARMS): Do not use macros from bp-asm.h.
53971         (__remquo): Do not use BP_SYM.
53972         (remquo): Likewise.
53973         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53974         "bp-asm.h".
53975         (PARMS): Do not use macros from bp-asm.h.
53976         (__remquof): Do not use BP_SYM.
53977         (remquof): Likewise.
53978         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53979         "bp-asm.h".
53980         (PARMS): Do not use macros from bp-asm.h.
53981         (__remquol): Do not use BP_SYM.
53982         (remquol): Likewise.
53983         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53984         "bp-asm.h".
53985         (PARMS): Do not use macros from bp-asm.h.
53986         (DEST): Likewise.
53987         (SRC): Likewise.
53988         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53989         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53990         "bp-asm.h".
53991         (PARMS): Do not use macros from bp-asm.h.
53992         (strlen): Do not use BP_SYM.
53993         * sysdeps/i386/i586/add_n.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         (S2): Likewise.
53998         (SIZE): Likewise.
53999         (__mpn_add_n): Do not use BP_SYM.
54000         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54001         "bp-asm.h".
54002         (PARMS): Do not use macros from bp-asm.h.
54003         (S1): Likewise.
54004         (SIZE): Likewise.
54005         (__mpn_addmul_1): Do not use BP_SYM.
54006         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54007         weak_alias.
54008         (bzero): Likewise.
54009         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54010         "bp-asm.h".
54011         (PARMS): Do not use macros from bp-asm.h.
54012         (S): Likewise.
54013         (SIZE): Likewise.
54014         (__mpn_lshift): Do not use BP_SYM.
54015         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54016         "bp-asm.h".
54017         (PARMS): Do not use macros from bp-asm.h.
54018         (DEST): Likewise.
54019         (SRC): Likewise.
54020         (LEN): Likewise.
54021         (memcpy): Likewise.  Do not use BP_SYM.
54022         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54023         libc_hidden_def and weak_alias.
54024         (mempcpy): Do not use BP_SYM in weak_alias.
54025         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54026         "bp-asm.h".
54027         (PARMS): Do not use macros from bp-asm.h.
54028         (DEST): Likewise.
54029         (LEN): Likewise.
54030         [!BZERO_P] (CHR): Likewise.
54031         (memset): Likewise.  Do not use BP_SYM.
54032         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54033         "bp-asm.h".
54034         (PARMS): Do not use macros from bp-asm.h.
54035         (S1): Likewise.
54036         (SIZE): Likewise.
54037         (__mpn_mul_1): Do not use BP_SYM.
54038         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54039         "bp-asm.h".
54040         (PARMS): Do not use macros from bp-asm.h.
54041         (S): Likewise.
54042         (SIZE): Likewise.
54043         (__mpn_rshift): Do not use BP_SYM.
54044         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54045         "bp-asm.h".
54046         (PARMS): Do not use macros from bp-asm.h.
54047         (STR): Likewise.
54048         (CHR): Likewise.
54049         (strchr): Likewise.  Do not use BP_SYM.
54050         (index): Do not use BP_SYM in weak_alias.
54051         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54052         "bp-asm.h".
54053         (PARMS): Do not use macros from bp-asm.h.
54054         (DEST): Likewise.
54055         (SRC): Likewise.
54056         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54057         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54058         "bp-asm.h".
54059         (PARMS): Do not use macros from bp-asm.h.
54060         (strlen): Do not use BP_SYM.
54061         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54062         "bp-asm.h".
54063         (PARMS): Do not use macros from bp-asm.h.
54064         (S1): Likewise.
54065         (S2): Likewise.
54066         (SIZE): Likewise.
54067         (__mpn_sub_n): Do not use BP_SYM.
54068         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54069         "bp-asm.h".
54070         (PARMS): Do not use macros from bp-asm.h.
54071         (S1): Likewise.
54072         (SIZE): Likewise.
54073         (__mpn_submul_1): Do not use BP_SYM.
54074         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54075         "bp-asm.h".
54076         (PARMS): Do not use macros from bp-asm.h.
54077         (S1): Likewise.
54078         (S2): Likewise.
54079         (SIZE): Likewise.
54080         (__mpn_add_n): Do not use BP_SYM.
54081         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54082         weak_alias.
54083         (bzero): Likewise.
54084         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54085         "bp-asm.h".
54086         (PARMS): Do not use macros from bp-asm.h.
54087         (BLK2): Likewise.
54088         (LEN): Likewise.
54089         (memcmp): Do not use BP_SYM.
54090         (bcmp): Do not use BP_SYM in weak_alias.
54091         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54092         "bp-asm.h".
54093         (PARMS): Do not use macros from bp-asm.h.
54094         (DEST): Likewise.
54095         (SRC): Likewise.
54096         (LEN): Likewise.
54097         (memcpy): Likewise.  Do not use BP_SYM.
54098         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54099         "bp-asm.h".
54100         (PARMS): Do not use macros from bp-asm.h.
54101         (DEST): Likewise.
54102         (SRC): Likewise.
54103         (LEN): Likewise.
54104         (memmove): Likewise.  Do not use BP_SYM.
54105         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54106         "bp-asm.h".
54107         (PARMS): Do not use macros from bp-asm.h.
54108         (DEST): Likewise.
54109         (SRC): Likewise.
54110         (LEN): Likewise.
54111         (__mempcpy): Likewise.  Do not use BP_SYM.
54112         (mempcpy): Do not use BP_SYM in weak_alias.
54113         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54114         "bp-asm.h".
54115         (PARMS): Do not use macros from bp-asm.h.
54116         (DEST): Likewise.
54117         (LEN): Likewise.
54118         [!BZERO_P] (CHR): Likewise.
54119         (memset): Likewise.  Do not use BP_SYM.
54120         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54121         "bp-asm.h".
54122         (PARMS): Do not use macros from bp-asm.h.
54123         (STR2): Likewise.
54124         (strcmp): Do not use BP_SYM.
54125         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54126         "bp-asm.h".
54127         (PARMS): Do not use macros from bp-asm.h.
54128         (STR): Likewise.
54129         (DELIM): Likewise.
54130         [USE_AS_STRTOK_R] (SAVE): Likewise.
54131         (FUNCTION): Likewise.  Do not use BP_SYM.
54132         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54133         aliases.
54134         (strtok_r): Likewise.
54135         (__GI___strtok_r): Likewise.
54136         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54137         (PARMS): Do not use macros from bp-asm.h.
54138         (S): Likewise.
54139         (SIZE): Likewise.
54140         (__mpn_lshift): Do not use BP_SYM.
54141         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54142         (PARMS): Do not use macros from bp-asm.h.
54143         (STR): Likewise.
54144         (CHR): Likewise.
54145         (__memchr): Do not use BP_SYM.
54146         (memchr): Do not use BP_SYM in weak_alias.
54147         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54148         (PARMS): Do not use macros from bp-asm.h.
54149         (BLK2): Likewise.
54150         (LEN): Likewise.
54151         (memcmp): Do not use BP_SYM.
54152         (bcmp): Do not use BP_SYM in weak_alias.
54153         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54154         (PARMS): Do not use macros from bp-asm.h.
54155         (S1): Likewise.
54156         (SIZE): Likewise.
54157         (__mpn_mul_1): Do not use BP_SYM.
54158         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54159         "bp-asm.h".
54160         (PARMS): Do not use macros from bp-asm.h.
54161         (STR): Likewise.
54162         (CHR): Likewise.
54163         (__rawmemchr): Do not use BP_SYM.
54164         (rawmemchr): Do not use BP_SYM in weak_alias.
54165         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54166         (PARMS): Do not use macros from bp-asm.h.
54167         (S): Likewise.
54168         (SIZE): Likewise.
54169         (__mpn_rshift): Do not use BP_SYM.
54170         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54171         (PARMS): Do not use macros from bp-asm.h.
54172         (SIGMSK): Likewise.
54173         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54174         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54175         (_start): Do not use BP_SYM.
54176         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54177         (PARMS): Do not use macros from bp-asm.h.
54178         (DEST): Likewise.
54179         (SRC): Likewise.
54180         (__stpcpy): Likewise.  Do not use BP_SYM.
54181         (stpcpy): Do not use BP_SYM in weak_alias.
54182         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54183         "bp-asm.h".
54184         (PARMS): Do not use macros from bp-asm.h.
54185         (DEST): Likewise.
54186         (SRC): Likewise.
54187         (LEN): Likewise.
54188         (__stpncpy): Likewise.  Do not use BP_SYM.
54189         (stpncpy): Do not use BP_SYM in weak_alias.
54190         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54191         (PARMS): Do not use macros from bp-asm.h.
54192         (STR): Likewise.
54193         (CHR): Likewise.
54194         (strchr): Likewise.  Do not use BP_SYM.
54195         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54196         "bp-asm.h".
54197         (PARMS): Do not use macros from bp-asm.h.
54198         (STR): Likewise.
54199         (CHR): Likewise.
54200         (__strchrnul): Likewise.  Do not use BP_SYM.
54201         (strchrnul): Do not use BP_SYM in weak_alias.
54202         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54203         "bp-asm.h".
54204         (PARMS): Do not use macros from bp-asm.h.
54205         (STOP): Likewise.
54206         (strcspn): Do not use BP_SYM.
54207         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54208         "bp-asm.h".
54209         (PARMS): Do not use macros from bp-asm.h.
54210         (STR): Likewise.
54211         (STOP): Likewise.
54212         (strpbrk): Likewise.  Do not use BP_SYM.
54213         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54214         "bp-asm.h".
54215         (PARMS): Do not use macros from bp-asm.h.
54216         (STR): Likewise.
54217         (CHR): Likewise.
54218         (strrchr): Likewise.  Do not use BP_SYM.
54219         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54220         (PARMS): Do not use macros from bp-asm.h.
54221         (SKIP): Likewise.
54222         (strspn): Do not use BP_SYM.
54223         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54224         (PARMS): Do not use macros from bp-asm.h.
54225         (STR): Likewise.
54226         (DELIM): Likewise.
54227         (SAVE): Likewise.
54228         (FUNCTION): Likewise.  Do not use BP_SYM.
54229         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54230         aliases.
54231         (strtok_r): Likewise.
54232         (__GI___strtok_r): Likewise.
54233         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54234         (PARMS): Do not use macros from bp-asm.h.
54235         (S1): Likewise.
54236         (S2): Likewise.
54237         (SIZE): Likewise.
54238         (__mpn_sub_n): Do not use BP_SYM.
54239         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54240         "bp-asm.h".
54241         (PARMS): Do not use macros from bp-asm.h.
54242         (S1): Likewise.
54243         (SIZE): Likewise.
54244         (__mpn_submul_1): Do not use BP_SYM.
54245         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54246         <bp-sym.h>.
54247         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54248         and <bp-asm.h>.
54249         (PARMS): Do not use macros from bp-asm.h.
54250         (FLAGS): Likewise.
54251         (PTID): Likewise.
54252         (TLS): Likewise.
54253         (CTID): Likewise.
54254         (__clone): Do not use BP_SYM.
54255         (clone): Do not use BP_SYM in weak_alias.
54256         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54257         and <bp-asm.h>.
54258         (PARMS): Do not use macros from bp-asm.h.
54259         (LEN): Likewise.
54260         (__mmap64): Do not use BP_SYM.
54261         (mmap64): Do not use BP_SYM in weak_alias.
54262         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54263         <bp-sym.h> and <bp-asm.h>.
54264         (PARMS): Do not use macros from bp-asm.h.
54265         (__posix_fadvise64_l64): Do not use BP_SYM.
54266         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54267         (PARMS): Do not use macros from bp-asm.h.
54268         (NSOPS): Likewise.
54269         (semtimedop): Do not use BP_SYM.
54270         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54271         and <bp-asm.h>.
54273 2013-02-21  Allan McRae  <allan@archlinux.org>
54275         * manual/message.texi (Charset conversion in gettext):
54276         Move @end statement to beginning of line.
54278 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54281         static.
54282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54283         Likewise.
54285         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54286         (denorm): Likewise.
54287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54288         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54290 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54292         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54293         tail-call to the resolved function if pltexit isn't needed.
54295 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54298         or Y being zero as being unlikely.
54299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54300         Likewise.
54302 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54304         * manual/nss.texi (System Databases and Name Service Switch):
54305         Remove frobnicate @pxref.
54307 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54309         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54310         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54312 2013-02-20  Petr Machata  <pmachata@redhat.com>
54314         * elf/elf.h (R_ARM_TARGET1): New macro.
54315         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54316         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54317         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54318         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54319         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54320         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54321         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54322         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54323         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54324         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54325         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54326         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54327         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54328         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54329         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54330         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54331         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54332         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54333         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54334         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54335         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54336         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54337         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54338         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54339         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54340         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54341         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54342         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54343         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54344         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54345         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54346         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54347         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54348         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54349         (R_ARM_THM_GOT_BREL12): Likewise.
54350         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54351         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54352         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54353         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54354         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54355         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54356         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54357         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54358         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54360 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54362         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54363         __attribute_used__ to __attribute__ ((unused)).
54365 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54367         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54368         powerpc mpa.c.
54369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54370         comment formatting.
54371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54373 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54375         [BZ #13550]
54376         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54377         Remove macro.
54378         (ENTER): Remove both macro definitions.
54379         (LEAVE): Likewise.
54380         (CHECK_BOUNDS_LOW): Likewise.
54381         (CHECK_BOUNDS_HIGH): Likewise.
54382         (CHECK_BOUNDS_BOTH): Likewise.
54383         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54384         (RETURN_BOUNDED_POINTER): Likewise.
54385         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54386         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54387         (POP_ERRNO_LOCATION_RETURN): Likewise.
54388         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54389         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54390         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54391         macros.
54392         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54393         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54394         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54395         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54396         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54397         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54398         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54399         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54400         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54401         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54402         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54403         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54404         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54405         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54406         removed macros.
54407         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54408         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54409         macros.
54410         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54411         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54412         * sysdeps/i386/i586/memset.S (memset): Likewise.
54413         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54414         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54415         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54416         macros.
54417         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54418         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54419         Change uses of L(2) to L(out).
54420         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54421         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54422         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54423         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54424         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54425         removed macros.
54426         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54427         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54428         macros.
54429         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54430         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54431         (RETURN): Do not use macro LEAVE.
54432         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54433         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54434         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54435         * sysdeps/i386/i686/memset.S (memset): Likewise.
54436         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54437         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54438         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54439         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54440         Likewise.
54441         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54442         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54443         L(1_2) and L(1_3) into L(1).
54444         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54445         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54446         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54447         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54448         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54449         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54450         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54451         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54452         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54453         macros.
54454         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54455         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54456         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54457         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54458         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54459         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54460         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54461         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54462         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54463         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54464         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54465         * sysdeps/i386/strspn.S (strspn): Likewise.
54466         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54467         conditional code.
54468         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54469         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54470         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54471         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54472         L(1_3) into L(1_1).
54473         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54474         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54475         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54476         macros.
54477         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54479 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54481         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54482         macro.
54484 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54486         * math/atest-exp.c (exp_mpn): Remove ROUND.
54487         * math/atest-exp2.c (exp_mpn): Likewise.
54488         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54490         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54491         * stdlib/tst-tls-atexit-lib.c: Likewise.
54492         * stdlib/tst-tls-atexit.c: Likewise.
54494 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54496         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54497         and __attribute_alloc_size__.
54499 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54501         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54502         __attribute_alloc_size__.
54503         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54504         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54506 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54508         * include/programs/xmalloc.h: New file.
54509         * catgets/gencat.c: Include it.
54510         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54511         * elf/pldd.c: Likewise.
54512         * iconv/iconv_charmap.c: Likewise.
54513         * iconv/iconvconfig.c: Likewise.
54514         * iconv/strtab.c: Likewise.
54515         * locale/programs/locale.c: Likewise.
54516         * locale/programs/localedef.h: Likewise.
54517         * locale/programs/simple-hash.c: Likewise.
54518         * nscd/nscd.h: Likewise.
54519         * nss/makedb.c: Likewise.
54520         * sysdeps/generic/ldconfig.h: Likewise.
54522 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54524         * Versions.def: Add GLIBC_2.18.
54525         * include/link.h (struct link_map): New member l_tls_dtor_count.
54526         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54527         (__call_tls_dtors): Likewise.
54528         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54529         __cxa_thread_atexit_impl.
54530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54531         Likewise.
54532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54533         Likewise.
54534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54535         Likewise.
54536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54537         Likewise.
54538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54540         Likewise.
54541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54542         Likewise.
54543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54545         Likewise.
54546         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54547         (tests): Add test case tst-tls-atexit.
54548         (modules-names): Add shared library for tst-tls-atexit.
54549         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54550         (GLIBC_PRIVATE): Add __call_tls_dtors.
54551         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54552         for libstdc++.
54553         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54554         * stdlib/tst-tls-atexit.c: New test case.
54555         * stdlib/tst-tls-atexit-lib.c: New test case.
54557         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54559         * elf/Versions (ld): Add _dl_find_dso_for_object.
54560         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54561         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54562         (dl_open_worker): Use _dl_find_dso_for_object.
54563         * elf/dl-sym.c (do_sym): Likewise.
54564         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54566 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54568         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54569         Syntactic changes only.
54570         (_dl_runtime_profile): Do a tail-call to the resolved function.
54572 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54574         [BZ #13550]
54575         * sysdeps/x86_64/bp-asm.h: Remove file.
54576         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54577         <bp-sym.h> and <bp-asm.h>.
54578         (__clone): Do not use BP_SYM.
54579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54580         <bp-sym.h> and <bp-asm.h>.
54581         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54582         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54583         "bp-asm.h".
54584         (_setjmp): Do not use BP_SYM.
54585         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54586         "bp-asm.h".
54587         (setjmp): Do not use BP_SYM.
54588         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54589         libc_hidden_def.
54590         (mempcpy): Do not use BP_SYM in weak_alias.
54591         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54592         "bp-asm.h".
54593         (strchr): Do not use BP_SYM.
54594         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54595         "bp-asm.h".
54596         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54597         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54598         (_start): Do not use BP_SYM.
54599         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54600         "bp-asm.h".
54601         (strcat): Do not use BP_SYM.
54602         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54603         "bp-asm.h".
54604         (STRCMP): Do not use BP_SYM.
54605         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54606         "bp-asm.h".
54607         (STRCPY): Do not use BP_SYM.
54608         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54609         "bp-asm.h".
54610         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54611         "bp-asm.h".
54612         (FUNCTION): Do not use BP_SYM.
54613         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54614         weak_alias.
54615         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54617 2013-02-17  Andreas Jaeger  <aj@suse.de>
54619         * time/Versions: Sort entries.
54620         * string/Versions: Likewise.
54621         * resolv/Versions: Likewise.
54622         * posix/Versions: Likewise.
54623         * iconv/Versions: Likewise.
54624         * elf/Versions: Likewise.
54625         * wcsmbs/Versions: Likewise.
54627 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54629         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54630         loop termination condition.
54632         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54633         variable to calculate EZ.
54634         (__sqr): Likewise.
54636         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54637         the lower precision input.
54639 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54641         [BZ #13550]
54642         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54643         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54644         (run-via-rtld-prefix): Do not handle %-bp tests.
54645         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54646         (all-object-suffixes): Remove .ob.
54647         (bppfx): Remove variable.
54648         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54649         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54650         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54651         [$(build-bounded) = yes] (libtype.ob): Likewise.
54652         * Makerules (elide-routines.ob): Remove variable.
54653         (do-tests-clean): Do not handle *-bp.out.
54654         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54655         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54656         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54657         (tests): Do not include $(tests-bp.out).
54658         (xtests): Do not include $(xtests-bp.out).
54659         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54660         [$(build-bounded) = yes] ($(addprefix
54661         $(objpfx),$(binaries-bounded))): Remove rule.
54662         ($(objpfx)%-bp.out): Remove rule.
54663         * config.make.in (build-bounded): Remove variable.
54664         * crypt/Makefile [$(build-bounded) = yes]
54665         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54666         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54667         append to variable.
54668         [$(build-bounded) = yes] (install-lib): Likewise.
54669         [$(build-bounded) = yes] (generated): Likewise.
54670         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54671         Remove rule.
54672         * intl/Makefile [$(build-bounded) = yes]
54673         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54674         * math/Makefile [$(build-bounded) = yes]
54675         ($(tests:%=$(objpfx)%-bp): Likewise.
54676         * misc/Makefile [$(build-bounded) = yes]
54677         ($(objpfx)tst-tsearch-bp): Likewise.
54678         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54679         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54680         Remove dependency.
54681         * string/Makefile (o-objects.ob): Remove variable.
54682         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54683         (CFLAGS-.ob): Remove variable.
54684         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54685         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54686         both definitions of variable.
54687         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54688         (ASFLAGS-.ob): Remove variable.
54690 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54692         [BZ #13550]
54693         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54694         Remove __BOUNDED_POINTERS__ from condition.
54695         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54696         * string/bits/string2.h [!__NO_STRING_INLINES &&
54697         !__BOUNDED_POINTERS__]: Likewise.
54698         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54699         Likewise.
54700         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54701         Remove conditional code.
54702         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54703         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54704         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54705         condition.
54707         [BZ #13550]
54708         * csu/libc-start.c: Do not include <bp-sym.h>.
54709         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54710         * elf/dl-open.c: Do not include <bp-sym.h>.
54711         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54712         * math/fegetenv.c: Do not include <bp-sym.h>.
54713         (fegetenv): Do not use BP_SYM in versioned symbols.
54714         * nptl/sysdeps/pthread/bits/libc-lockP.h
54715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54716         <bp-sym.h>.
54717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54718         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54720         (__pthread_mutex_destroy): Likewise.
54721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54722         (__pthread_mutex_lock): Likewise.
54723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54724         (__pthread_mutex_trylock): Likewise.
54725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54726         (__pthread_mutex_unlock): Likewise.
54727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54728         (__pthread_mutexattr_init): Likewise.
54729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54730         (__pthread_mutexattr_destroy): Likewise.
54731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54732         (__pthread_mutexattr_settype): Likewise.
54733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54734         (__pthread_rwlock_init): Likewise.
54735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54736         (__pthread_rwlock_destroy): Likewise.
54737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54738         (__pthread_rwlock_rdlock): Likewise.
54739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54740         (__pthread_rwlock_tryrdlock): Likewise.
54741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54742         (__pthread_rwlock_wrlock): Likewise.
54743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54744         (__pthread_rwlock_trywrlock): Likewise.
54745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54746         (__pthread_rwlock_unlock): Likewise.
54747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54748         (__pthread_key_create): Likewise.
54749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54750         (__pthread_setspecific): Likewise.
54751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54752         (__pthread_getspecific): Likewise.
54753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54754         Likewise.
54755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54756         (_pthread_cleanup_push_defer): Likewise.
54757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54758         (_pthread_cleanup_pop_restore): Likewise.
54759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54760         (pthread_setcancelstate): Likewise.
54761         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54762         <bp-sym.h>.
54763         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54764         (memchr): Do not use BP_SYM in weak_alias.
54765         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54766         (fegetenv): Do not use BP_SYM in versioned symbols.
54767         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54768         (fesetenv): Do not use BP_SYM in versioned symbols.
54769         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54770         (feupdateenv): Do not use BP_SYM in versioned symbols.
54771         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54772         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54773         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54774         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54775         (open64): Do not use BP_SYM in weak_alias.
54776         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54777         (fegetenv): Do not use BP_SYM in versioned symbols.
54778         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54779         (fesetenv): Do not use BP_SYM in versioned symbols.
54780         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54781         (feupdateenv): Do not use BP_SYM in versioned symbols.
54782         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54783         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54784         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54785         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54786         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54787         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54788         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54789         <bp-sym.h>.
54790         (__libc_start_main): Do not use BP_SYM.
54792 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54795         redundant return line.
54796         (norm): Likewise.
54797         (denorm): Likewise.
54798         (dbl_mp): Likewise.
54799         (sub_magnitudes): Likewise.
54800         (__add): Likewise.
54801         (__sub): Likewise.
54802         (__mul): Likewise.
54803         (__inv): Likewise.
54804         (__dvd): Likewise.
54805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54806         (norm): Likewise.
54807         (denorm): Likewise.
54808         (dbl_mp): Likewise.
54809         (sub_magnitudes): Likewise.
54810         (__add): Likewise.
54811         (__sub): Likewise.
54812         (__mul): Likewise.
54813         (__inv): Likewise.
54814         (__dvd): Likewise.
54816         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54817         instead of __mul.
54818         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54819         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54820         (cc32): Likewise.
54822         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54823         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54825         of __mul for squares.
54826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54827         function
54828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54829         Likewise.
54830         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54831         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54833 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54835         [BZ #13550]
54836         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54837         code.
54838         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54839         prototype or function definition.  Rename ubp_* variables and
54840         parameters.  Remove argv definitions conditional on
54841         [__BOUNDED_POINTERS__].
54842         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54843         * elf/dl-runtime.c (_dl_fixup): Likewise.
54844         * include/set-hooks.h (RUN_HOOK): Likewise.
54845         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54846         definition.
54847         * string/strcpy.c (strcpy): Do not use __unbounded.
54848         * sysdeps/generic/frame.h (struct layout): Likewise.
54849         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54850         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54851         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54852         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54853         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54854         (__backtrace): Likewise.
54855         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54856         use __ptrvalue.
54857         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54858         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54859         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54860         Likewise.
54861         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54862         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54863         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54864         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54865         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54866         Do not use __unbounded.
54867         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54868         Rename __unboundedrlimits parameter to rlimits in prototype.
54869         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54870         Do not use __unbounded.
54871         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54872         not use __ptrvalue.
54873         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54874         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54875         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54876         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54877         __ptrvalue or __unbounded.
54878         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54879         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54880         use __unbounded.
54881         (__new_msgctl): Do not use __ptrvalue.
54882         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54883         __unbounded.
54884         (__libc_msgrcv): Do not use __ptrvalue.
54885         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54886         startup_info): Do not use __unbounded.
54887         (__libc_start_main): Likewise.  Rename ubp_* variables and
54888         parameters.  Remove argv definitions conditional on
54889         [__BOUNDED_POINTERS__].
54890         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54891         __ptrvalue.
54892         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54893         use __unbounded.
54894         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54895         or __ptrvalue.
54896         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54897         use __unbounded.
54898         (__new_shmctl): Do not use __ptrvalue.
54899         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54900         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54901         Likewise.
54902         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54903         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54904         (__libc_sigaction): Likewise.
54905         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54906         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54907         Likewise.
54908         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54910 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54912         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54914         * string/mempcpy.c: Implement by calling memcpy.
54916 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54918         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54921         evaluation.
54923         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54924         values in the mantissa.
54926         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54927         minimize writes to Z.
54928         (sub_magnitudes): Simplify code a bit.
54930 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54932         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54933         from the message.  The linker prefixes all warnings with that already.
54935 2013-02-12  Andreas Schwab  <schwab@suse.de>
54937         [BZ #15078]
54938         * posix/regexec.c (extend_buffers): Add parameter min_len.
54939         (check_matching): Pass minimum needed length.
54940         (clean_state_log_if_needed): Likewise.
54941         (get_subexp): Likewise.
54942         * posix/Makefile (tests): Add bug-regex34.
54943         (bug-regex34-ENV): Define.
54944         * posix/bug-regex34.c: New file.
54946         [BZ #11561]
54947         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54948         elements compare against the byte sequence of it, not its name.
54949         * posix/Makefile (tests): Add bug-regex35.
54950         (bug-regex35-ENV): Define.
54951         * posix/bug-regex35.c: New file.
54953 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54955         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54956         comment.
54957         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54958         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54959         (CHECK_EOL): Add undef.
54961 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54963         * bits/stdlib-bsearch.h: New file.
54964         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54965         * stdlib/stdlib.h: Likewise.
54967 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54969         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54970         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54971         declaration.
54972         * manual/search.texi (Array Search Function): Add missing const in
54973         lfind prototype.
54974         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54975         declaration to use rlim_t.
54976         (Basic Scheduling Functions): Remove erroneous const from
54977         sched_getparam prototype.  Remove erroneous * from
54978         sched_get_priority_max and sched_get_priority_min prototypes.
54979         (Resource Usage): Fix summary @comment on vtimes to refer to
54980         sys/vtimes.h rather than vtimes.h.
54981         Add missing *s in vtimes prototype.
54982         (Limits on Resources): Fix ulimit prototype to return long int.
54983         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54984         prototypes to use long int rather than double.
54985         (BSD Random): Fix initstate and setstate to use char *, not void *.
54986         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54987         prototype to make second argument 'struct aiocb64 *const[]'.
54988         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54989         (Status of AIO Operations): Remove erroneous const in aio_return and
54990         aio_return64 prototypes.
54991         (Synchronizing I/O): Fix sync prototype to return void.
54992         * manual/startup.texi (Suboptions): Remove an erroneous const in
54993         getsubopt prototype.
54994         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54995         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54996         use size_t rather than int.
54997         (Scanning All Users): Likewise for getpwent_r.
54998         (Setting Groups): Add missing const to setgroups prototype.
54999         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55000         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55001         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55002         'const void *' rather than 'const char *'.
55003         (Host Address Functions): Likewise for inet_ntop.
55004         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55005         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55006         ssize_t for return value.
55007         (Sending Data): Likewise for send, sendto, sendmsg.
55008         (Socket Option Functions): Add a missing const in setsockopt prototype.
55009         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55010         use wchar_t for the argument.
55011         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55012         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55013         take no arguments.
55014         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55015         double/float/long double for second argument.
55016         Fix return types of significand, significandf, significandl.
55017         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55018         argument in fchmod prototype.
55019         (File Owner): Use uid_t and gid_t in fchown prototype.
55020         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55021         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55022         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55023         use 'const struct dirent **' as argument types to CMP function pointer
55024         argument.
55025         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55026         (File Times): Fix summary magic @comment for struct utimbuf and utime
55027         to refer to utime.h, not time.h.
55028         * manual/string.texi (Argz Functions): Add missing const in
55029         argz_extract and argz_next prototypes.
55030         (Finding Tokens in a String): Likewise for basename.
55031         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55032         (Copying and Concatenation): Fix typo in wmemmove prototype.
55033         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55034         (Signal Stack): Remove erroneous const in sigstack prototype.
55035         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55036         prototype.
55037         (Simple Calendar Time): Likewise for stime.
55038         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55039         prototype.
55040         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55041         say sys/sysctl.h instead.
55042         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55043         and vsyslog prototypes.
55045 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55047         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55048         Remove.
55050 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55052         * misc/sys/mman.h: Fix typo in mremap comment.
55054 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55056         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55057         the '\0' terminator.
55059 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55061         [BZ #13550]
55062         * debug/segfault.c: Don't include <bp-checks.h>.
55063         * sysdeps/generic/bp-checks.h: Remove file.
55064         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55065         (__GETDENTS): Don't use CHECK_N.
55066         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55067         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55068         (__getgroups): Don't use CHECK_N.
55069         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55070         (setgroups): Don't use CHECK_N.
55071         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55072         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55073         (__libc_msgrcv): Don't use CHECK_N.
55074         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55075         (__libc_msgsnd): Don't use CHECK_N.
55076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55077         <bp-checks.h>.
55078         (__libc_pread): Don't use CHECK_N.
55079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55080         include <bp-checks.h>.
55081         (__libc_pread64): Don't use CHECK_N.
55082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55083         include <bp-checks.h>.
55084         (__libc_pwrite): Don't use CHECK_N.
55085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55086         include <bp-checks.h>.
55087         (__libc_pwrite64): Don't use CHECK_N.
55088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55089         <bp-checks.h>.
55090         (__libc_pread): Don't use CHECK_N.
55091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55092         include <bp-checks.h>.
55093         (__libc_pread64): Don't use CHECK_N.
55094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55095         include <bp-checks.h>.
55096         (__libc_pwrite): Don't use CHECK_N.
55097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55098         include <bp-checks.h>.
55099         (__libc_pwrite64): Don't use CHECK_N.
55100         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55101         (do_pread): Don't use CHECK_N.
55102         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55103         (do_pread64): Don't use CHECK_N.
55104         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55105         (do_pwrite): Don't use CHECK_N.
55106         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55107         (do_pwrite64): Don't use CHECK_N.
55108         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55109         (__libc_readv): Don't use CHECK_N.
55110         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55111         (semop): Don't use CHECK_N.
55112         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55113         <bp-checks.h>.
55114         (semtimedop): Don't use CHECK_N.
55115         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55116         (__libc_pread): Don't use CHECK_N.
55117         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55118         <bp-checks.h>.
55119         (__libc_pread64): Don't use CHECK_N.
55120         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55121         <bp-checks.h>.
55122         (__libc_pwrite): Don't use CHECK_N.
55123         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55124         <bp-checks.h>.
55125         (__libc_pwrite64): Don't use CHECK_N.
55126         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55127         <bp-checks.h>.
55128         (__libc_msgrcv): Don't use CHECK_N.
55129         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55130         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55131         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55132         (__libc_writev): Don't use CHECK_N.
55134 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55136         * string/strcpy.c: Removed unused variable.
55138         * Makeconfig (+sysdep-includes): Define with := rather than =.
55139         Use an existing include/ subdir of each sysdeps dir before it.
55141 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55143         * nscd/connection.c (register_traced_file): Comment function.
55144         [HAVE_INOTIFY] (union __inev): Define.
55145         [HAVE_INOTIFY] (inotify_check_files): New function.
55146         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55147         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55148         clear_db_cache.
55149         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55151 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55153         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55154         loaded if not already and that a failure is permanent.
55156 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55158         [BZ #15006]
55159         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55160         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55162 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55164         [BZ #13550]
55165         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55166         (CHECK_1_NULL_OK): Likewise.
55167         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55168         (__fxstat): Do not use CHECK_1.
55169         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55170         <bp-checks.h>.
55171         (___fxstat64): Do not use CHECK_1.
55172         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55173         <bp-checks.h>.
55174         (__fxstatat): Do not use CHECK_1.
55175         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55176         <bp-checks.h>.
55177         (__fxstatat64): Do not use CHECK_1.
55178         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55179         <bp-checks.h>.
55180         (__fxstat): Do not use CHECK_1.
55181         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55182         <bp-checks.h>.
55183         (__fxstatat): Do not use CHECK_1.
55184         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55185         <bp-checks.h>.
55186         (__getresgid): Do not use CHECK_1.
55187         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55188         <bp-checks.h>.
55189         (__getresuid): Do not use CHECK_1.
55190         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55191         <bp-checks.h>.
55192         (__lxstat): Do not use CHECK_1.
55193         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55194         <bp-checks.h>.
55195         (__old_msgctl): Do not use CHECK_1.
55196         (__new_msgctl): Likewise.
55197         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55198         <bp-checks.h>.
55199         (__new_setrlimit): Do not use CHECK_1.
55200         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55201         <bp-checks.h>.
55202         (__old_shmctl): Do not use CHECK_1.
55203         (__new_shmctl): Likewise.
55204         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55205         <bp-checks.h>.
55206         (__xstat): Do not use CHECK_1.
55207         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55208         (__lxstat): Do not use CHECK_1.
55209         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55210         <bp-checks.h>.
55211         (___lxstat64): Do not use CHECK_1.
55212         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55213         (__old_msgctl): Do not use CHECK_1.
55214         (__new_msgctl): Likewise.
55215         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55216         <bp-checks.h>.
55217         (__gettimeofday): Do not use CHECK_1.
55218         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55219         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55220         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55221         <bp-checks.h>.
55222         (__gettimeofday): Do not use CHECK_1.
55223         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55224         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55225         (__new_shmctl): Do not use CHECK_1.
55226         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55227         <bp-checks.h>.
55228         (do_sigtimedwait): Do not use CHECK_1.
55229         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55230         <bp-checks.h>.
55231         (do_sigwaitinfo): Do not use CHECK_1.
55232         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55233         <bp-checks.h>.
55234         (msgctl): Do not use CHECK_1.
55235         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55236         <bp-checks.h>.
55237         (shmctl): Do not use CHECK_1.
55238         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55239         (ustat): Do not use CHECK_1.
55240         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55241         <bp-checks.h>.
55242         (__fxstat): Do not use CHECK_1.
55243         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55244         <bp-checks.h>.
55245         (__fxstatat): Do not use CHECK_1.
55246         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55247         <bp-checks.h>.
55248         (__lxstat): Do not use CHECK_1.
55249         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55250         <bp-checks.h>.
55251         (__xstat): Do not use CHECK_1.
55252         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55253         (__xstat): Do not use CHECK_1.
55254         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55255         (___xstat64): Do not use CHECK_1.
55257         [BZ #13550]
55258         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55259         definitions.
55260         (CHECK_BOUNDS_HIGH): Likewise.
55261         * string/strcpy.c: Do not include <bp-checks.h>.
55262         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55264 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55266         * nscd/nscd-client.h (__nscd_drop_map_ref):
55267         Add __attribute__ ((unused)).
55268         * nis/nss-nisplus.h (niserr2nss): Likewise.
55270         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55271         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55273         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55274         Remove inline keyword.
55275         * include/rounding-mode.h (round_away): Likewise.
55276         * libio/wfileops.c (adjust_wide_data): Likewise.
55277         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55278         (__m128i_strloadu_tolower): Likewise.
55279         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55280         (__m128i_strloadu_tolower): Likewise.
55281         * time/mktime.c (ydhms_diff): Likewise.
55282         * locale/elem-hash.h (elem_hash): Likewise.
55283         * locale/setlocale.c (setdata): Likewise.
55284         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55285         (re_string_wchar_at): Likewise.
55286         (bitset_not, bitset_merge, bitset_mask): Likewise.
55287         [!(__GNUC__ > 3)] (inline): Remove macro.
55288         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55289         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55290         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55291         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55292         * string/memcmp.c (memcmp_bytes): Likewise.
55293         * locale/programs/locarchive.c (compute_hashval): Likewise.
55294         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55295         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55296         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55297         * nss/getent.c (print_rpc, print_protocols): Likewise.
55298         (print_passwd, print_group, print_aliases): Likewise.
55299         * nis/nss-nisplus.h (niserr2nss): Likewise.
55300         * nscd/connections.c (restart_p): Likewise.
55301         Change return type to bool.
55303 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55305         * Makeconfig (all-Depend-files): Add existing
55306         $(sorted-subdirs:=/Depend) files.
55307         (all-subdirs): Remove nss.
55308         * sysdeps/unix/inet/Subdirs: Add it here instead.
55309         * hesiod/Depend: New file.
55311         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55312         instead of calling alloca.
55314         * io/lseek.c (__lseek): Rename to __libc_lseek.
55315         Define __lseek as an alias.
55317         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55319 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55321         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55322         else clause and remove check for non-standard endianness.
55324 2013-02-04  David S. Miller  <davem@davemloft.net>
55326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55328 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55330         [BZ #13550]
55331         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55332         (__ubp_memchr): Remove prototype.
55333         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55334         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55335         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55336         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55337         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55338         Remove alias.
55339         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55340         (__ubp_memchr): Likewise.
55341         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55342         (__ubp_memchr): Likewise.
55343         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55344         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55345         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55346         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55347         CHECK_STRING.
55348         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55349         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55350         (__getcwd): Do not use CHECK_STRING.
55351         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55352         <bp-checks.h>.
55353         (__real_chown): Do not use CHECK_STRING.
55354         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55355         <bp-checks.h>.
55356         (fchownat): Do not use CHECK_STRING.
55357         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55358         CHECK_STRING.
55359         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55360         <bp-checks.h>.
55361         (__lchown): Do not use CHECK_STRING.
55362         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55363         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55364         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55365         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55367         include <bp-checks.h>.
55368         (truncate64): Do not use CHECK_STRING.
55369         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55370         <bp-checks.h>.
55371         (__real_chown): Do not use CHECK_STRING.
55372         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55373         <bp-checks.h>.
55374         (__lchown): Do not use CHECK_STRING.
55375         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55376         <bp-checks.h>.
55377         (__chown): Do not use CHECK_STRING.
55378         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55379         <bp-checks.h>.
55380         (truncate64): Do not use CHECK_STRING.
55381         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55382         Likewise.
55383         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55384         (__xmknod): Do not use CHECK_STRING.
55385         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55386         <bp-checks.h>.
55387         (__xmknodat): Do not use CHECK_STRING.
55388         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55389         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55391 2013-02-04  Andreas Schwab  <schwab@suse.de>
55393         [BZ #14142]
55394         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55395         * include/netdb.h: Likewise for h_errno.
55396         * elf/tst-stackguard1.c: Include <tls.h>.
55398 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55400         * elf/link.h (struct link_map): Extend the l_addr comment.
55401         * include/link.h (struct link_map): Likewise.
55403 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55405         [BZ #13550]
55406         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55407         (BOUNDED_1): Remove macro.
55408         * debug/backtrace.c: Don't include <bp-checks.h>.
55409         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55410         (__backtrace): Likewise.
55411         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55412         <bp-checks.h>.
55413         (__backtrace): Don't use BOUNDED_1.
55414         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55415         <bp-checks.h>.
55416         (__backtrace): Don't use BOUNDED_1.
55417         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55418         (__backtrace): Don't use BOUNDED_1.
55419         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55420         (shmat): Don't use BOUNDED_N.
55422 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55424         [BZ #13550]
55425         * sysdeps/generic/bp-start.h: Remove file.
55426         * csu/libc-start.c: Don't include <bp-start.h>.
55427         (LIBC_START_MAIN): Set up __environ directly instead of using
55428         INIT_ARGV_and_ENVIRON.
55429         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55430         <bp-start.h>.
55432         [BZ #13550]
55433         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55434         definitions.
55435         (CHECK_FCNTL): Likewise.
55436         (CHECK_N_PAGES): Likewise.
55438         [BZ #13550]
55439         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55440         definitions.
55441         (CHECK_SIGSET_NULL_OK): Likewise.
55442         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55443         <bp-checks.h>.
55444         (sigpending): Don't use CHECK_SIGSET.
55445         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55446         <bp-checks.h>.
55447         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55448         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55449         <bp-checks.h>.
55450         (do_sigsuspend): Don't use CHECK_SIGSET.
55451         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55452         use CHECK_SIGSET.
55453         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55454         (do_sigwait): Don't use CHECK_SIGSET.
55455         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55456         use CHECK_SIGSET.
55457         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55458         include <bp-checks.h>.
55459         (sigpending): Don't use CHECK_SIGSET.
55460         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55461         include <bp-checks.h>.
55462         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55463         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55464         <bp-checks.h>.
55465         (sigpending): Don't use CHECK_SIGSET.
55466         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55467         <bp-checks.h>.
55468         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55470         [BZ #13550]
55471         * sysdeps/generic/bp-semctl.h: Remove file.
55472         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55473         <bp-checks.h> and <bp-semctl.h>.
55474         (__old_semctl): Don't use CHECK_SEMCTL.
55475         (__new_semctl): Likewise.
55476         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55477         and <bp-semctl.h>.
55478         (__old_semctl): Don't use CHECK_SEMCTL.
55479         (__new_semctl): Likewise.
55480         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55481         <bp-checks.h> and <bp-semctl.h>.
55482         (__old_semctl): Don't use CHECK_SEMCTL.
55483         (__new_semctl): Likewise.
55484         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55485         <bp-checks.h> and <bp-semctl.h>.
55486         (semctl): Don't use CHECK_SEMCTL.
55488         [BZ #13550]
55489         * Makerules (elide-bp-thunks): Remove variable.
55490         (elide-routines.oS): Don't use $(elide-bp-thunks).
55491         (elide-routines.os): Likewise.
55492         (elide-routines.o): Likewise.
55493         (elide-routines.op): Likewise.
55494         (elide-routines.og): Likewise.
55495         (objects): Don't use $(bp-thunks).
55496         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55497         include.
55498         (common-generated): Do not add s-proto-bp.d.
55499         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55500         (int): Likewise.
55501         (typ): Likewise.
55502         Do not generate makefile rules for bounded-pointer thunks.
55503         * sysdeps/generic/bp-thunks.h: Remove file.
55504         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55505         * sysdeps/unix/s-proto-bp.S: Likewise.
55507         [BZ #15062]
55508         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55509         parts of result separately when argument is not close to line from
55510         -i to i and one part of argument is small.
55511         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55512         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55513         * math/libm-test.inc (cacos_test): Add more tests.
55514         (casin_test): Likewise.
55515         (casinh_test): Likewise.
55516         * sysdeps/i386/fpu/libm-test-ulps: Update.
55517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55519 2013-01-31  David S. Miller  <davem@davemloft.net>
55521         * po/de.po: Update from translation team.
55523 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55525         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55527 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55529         * configure.in (_AC_PROG_CC_C89): New definition.
55530         * configure: Regenerate.
55532         * configure.in (AC_PROG_CPP): New definition.
55533         * configure: Regenerate.
55535 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55537         * debug/tst-backtrace.h: New file.
55538         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55539         (ret): Remove variable.
55540         (x): Likewise.
55541         (FAIL): Remove macro.
55542         (NO_INLINE): Likewise.
55543         (fn1): Use match function instead of strstr.
55544         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55545         (ret): Remove variable.
55546         (x): Likewise.
55547         (FAIL): Remove macro.
55548         (NO_INLINE): Likewise.
55549         (fn): Use match function instead of strstr.
55550         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55551         (ret): Remove variable.
55552         (x): Likewise.
55553         (FAIL): Remove macro.
55554         (NO_INLINE): Likewise.
55555         (handle_signal): Use match function instead of strstr.
55556         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55557         (ret): Remove variable.
55558         (x): Likewise.
55559         (FAIL): Remove macro.
55560         (NO_INLINE): Likewise.
55561         (handle_signal): Use match function instead of strstr.
55563 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55565         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55567 2013-01-23  David S. Miller  <davem@davemloft.net>
55569         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55570         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55571         argument of CAS if possible.
55572         * sysdeps/sparc/sparc64/bits/atomic.h
55573         (__arch_compare_and_exchange_val_32_acq): Likewise.
55574         (__arch_compare_and_exchange_val_64_acq): Likewise.
55576 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55578         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55579         * sysdeps/posix/ulimit.c: ... this.
55580         Include <limits.h>.
55581         * sysdeps/unix/bsd/ulimit.c: Remove file.
55583 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55585         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55586         (LDFLAGS-tst-array5): Likewise.
55588 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55590         [BZ #15036]
55591         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55592         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55593         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55594         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55596 2013-01-21  David S. Miller  <davem@davemloft.net>
55598         * sysdeps/sparc/backtrace.c: New file.
55599         * sysdeps/sparc/sparc32/backtrace.h: New file.
55600         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55601         * sysdeps/sparc/sparc64/backtrace.h: New file.
55602         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55603         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55604         -funwind-tables.
55606 2013-01-21  Andreas Schwab  <schwab@suse.de>
55608         [BZ #15020]
55609         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55610         closed its stdout.
55612 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55615         "mpa2.h".
55616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55618 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55619             Mark Mitchell  <mark@codesourcery.com>
55620             Tom de Vries  <tom@codesourcery.com>
55621             Paul Pluzhnikov  <ppluzhnikov@google.com>
55623         * debug/tst-backtrace2.c: New file.
55624         * debug/tst-backtrace3.c: Likewise.
55625         * debug/tst-backtrace4.c: Likewise.
55626         * debug/tst-backtrace5.c: Likewise.
55627         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55628         (CFLAGS-tst-backtrace3.c): Likewise.
55629         (CFLAGS-tst-backtrace4.c): Likewise.
55630         (CFLAGS-tst-backtrace5.c): Likewise.
55631         (LDFLAGS-tst-backtrace2): Likewise.
55632         (LDFLAGS-tst-backtrace3): Likewise.
55633         (LDFLAGS-tst-backtrace4): Likewise.
55634         (LDFLAGS-tst-backtrace5): Likewise.
55635         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55636         tst-backtrace4 and tst-backtrace5.
55638 2013-01-18  Anton Blanchard  <anton@samba.org>
55639             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55641         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55642         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55643         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55644         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55646         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55647         "+r" and remove output regs list as redundant.  Add explicit inline
55648         asm to specify register of return val to work around compiler codegen
55649         bug.  Remove (int) cast on return value.  Add return type parameter to
55650         use in macro so that this macro does not truncate return value for
55651         64-bit values.
55652         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55653         pass to INTERNAL_VSYSCALL_NCS.
55654         (INLINE_VSYSCALL): Add 'long int' as return type to
55655         INTERNAL_VSYSCALL_NCS macro invocation.
55656         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55657         INTERNAL_VSYSCALL_NCS macro invocation.
55658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55660 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55662         [BZ #14496]
55663         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55664         Fix application of SIMD FP exception mask.
55666         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55667         mp_no from a power of two.
55668         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55669         __mpexp_twomm1.  Use __pow_mp.
55671         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55672         multiplication.
55674 2013-01-17  David S. Miller  <davem@davemloft.net>
55676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55678 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55680         [BZ #15023]
55681         * include/complex.h: Condition contents on [!_COMPLEX_H].
55682         (__kernel_casinhf): New prototype.
55683         (__kernel_casinh): Likewise.
55684         (__kernel_casinhl): Likewise.
55685         * math/Makefile (libm_calls): Add k_casinh.
55686         * math/k_casinh.c: New file.
55687         * math/k_casinhf.c: Likewise.
55688         * math/k_casinhl.c: Likewise.
55689         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55690         finite nonzero arguments.
55691         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55692         finite nonzero arguments.
55693         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55694         finite nonzero arguments.
55695         * math/s_casinh.c: Do not include <float.h>.
55696         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55697         * math/s_casinhf.c: Do not include <float.h>.
55698         (__casinhf): Move code for finite nonzero arguments to
55699         k_casinhf.c.
55700         * math/s_casinhl.c: Do not include <float.h>.
55701         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55702         redefine.
55703         (__casinhl): Move code for finite nonzero arguments to
55704         k_casinhl.c.
55705         * math/libm-test.inc (cacos_test): Add more tests.
55706         * sysdeps/i386/fpu/libm-test-ulps: Update.
55707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55709 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55711         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55712         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55713         [!HAVE_MREMAP]: Remove [defined linux] case.
55714         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55716 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55718         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55720 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55722         * elf/elf.h (R_386_SIZE32): New relocation.
55723         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55724         R_386_SIZE32.
55725         (elf_machine_rela): Likewise.
55726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55727         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55729 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55731         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55732         (FP_FAST_FMA): Do not define.
55733         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55734         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55735         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55736         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55737         !_SOFT_FLOAT]: Likewise.
55738         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55739         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55740         value.
55741         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55742         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55743         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55744         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55745         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55746         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55747         file.
55749 2013-01-16  Andreas Schwab  <schwab@suse.de>
55751         [BZ #14327]
55752         * include/stdlib.h (__mktemp): Add declaration.
55753         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55754         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55756 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55758         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55759         definitions.
55760         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55761         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55762         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55763         definitions here.
55764         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55765         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55766         definitions.
55767         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55768         and ONE.
55769         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55770         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55771         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55772         definitions.
55773         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55774         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55775         definitions.
55776         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55778         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55780 2013-01-15  David S. Miller  <davem@davemloft.net>
55782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55783         trunc{,f} to libm-sysdep_routes.
55784         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55786         file.
55787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55789         file.
55790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55791         file.
55792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55794         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55795         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55796         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55797         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55798         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55799         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55802         nearbyint{,f} to libm-sysdep_routes.
55803         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55805         New file.
55806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55807         file.
55808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55809         New file.
55810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55811         file.
55812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55814         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55815         file.
55816         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55817         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55818         file.
55819         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55820         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55821         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55823         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55824         libc_feholdexcept and libc_fesetenv.
55826 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55828         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55830 2013-01-14  David S. Miller  <davem@davemloft.net>
55832         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55833         (SPARC_ASM_VIS2_IFUNC): Likewise.
55834         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55836         use of 'siam' instruction.
55837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55838         Likewise.
55839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55840         Likewise.
55841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55842         Likewise.
55843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55848         file.
55849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55850         file.
55851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55852         file.
55853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55854         file.
55855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55860         new VIS2 routines.
55861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55864         Likewise.
55865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55870         routines to libm-sysdep_routines.
55871         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55874         fdim/fdimf to libm-sysdep_routines.
55875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55876         file.
55877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55879         file.
55880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55883         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55884         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55885         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55886         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55888 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55890         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55891         to optimize copies.
55893         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55898         local variable MPTWO.
55899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55900         Likewise.
55902 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55904         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55905         GLOB_NOESCAPE.
55907 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55909         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55911 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55913         * manual/pattern.texi (glob_t): Document gl_flags.
55914         (glob64_t): Likewise.
55916 2013-01-11  David S. Miller  <davem@davemloft.net>
55918         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55919         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55920         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55921         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55922         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55923         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55924         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55925         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55926         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55927         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55928         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55929         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55930         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55932         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55933         sparc V9 rather than using V8 code.
55934         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55935         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55937         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55938         Move to...
55939         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55940         Here.
55942 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55944         [BZ #14941]
55945         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55946         not in the main loop.
55947         * configure: Regenerated.
55949 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55951         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55952         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55953         to just #else.
55954         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55955         [!__GLIBC_HAVE_LONG_LONG] case.
55956         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55957         condition to just #else.
55958         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55959         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55960         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55961         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55962         unconditional.
55963         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55964         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55965         #elif condition to just #else.
55966         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55967         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55968         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55969         #elif condition to just #else.
55971 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55973         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55974         (EF_MIPS_ARCH_64): Fix value.
55975         (EF_MIPS_ARCH_32R2): New.
55976         (EF_MIPS_ARCH_64R2): New.
55978 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55980         * Makeconfig (+link-pie-before-libc): New.
55981         (+link-pie-after-libc): Likewise.
55982         (+link-pie-tests): Likewise.
55983         (+link-pie): Rewritten.
55984         (link-before-libc): Remove $(config-LDFLAGS).
55985         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55986         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55987         (config-LDFLAGS): Renamed to ...
55988         (rtld-LDFLAGS): This.
55989         (rtld-tests-LDFLAGS): New macro.
55990         (link-libc-rpath-link): Likewise.
55991         (link-libc-tests-rpath-link): Likewise.
55992         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55993         (link-libc): Prepand $(link-libc-rpath-link).
55994         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55995         (test-program-prefix): New macro.
55996         (test-via-rtld-prefix): Likewise.
55997         (test-program-cmd): Likewise.
55998         (host-test-program-cmd): Likewise.
55999         * Makefile ($(common-objpfx)testrun.sh): Replace
56000         $(run-program-prefix) with $(test-program-prefix).
56001         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56002         $(rtld-LDFLAGS).
56003         ($(common-objpfx)shlib.lds): Likewise.
56004         (build-module-helper): Likewise.
56005         ($(common-objpfx)format.lds): Likewise.
56006         * Rules (binaries-pie-tests): New.
56007         (binaries-pie-notests): Likewise.
56008         (binaries-pie): Rewritten.
56009         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56010         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56011         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56012         (make-test-out): Replace $(host-built-program-cmd) with
56013         $(host-test-program-cmd).
56014         * config.make.in (build-hardcoded-path-in-tests): New variable.
56015         * configure.in (--enable-hardcoded-path-in-tests): New configure
56016         option.
56017         (hardcoded_path_in_tests): New AC_SUBST.
56018         * configure: Regenerated.
56019         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56020         $(built-program-cmd) with $(test-program-cmd).
56021         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56022         (test_program_cmd): This.
56023         * elf/Makefile ($(objpfx)order.out): Run test with
56024         $(test-program-prefix).
56025         ($(objpfx)order2.out): Likewise.
56026         ($(objpfx)tst-initorder.out): Likewise.
56027         ($(objpfx)tst-initorder2.out): Likewise.
56028         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56029         $(test-program-cmd).
56030         ($(objpfx)tst-array1-static.out): Likewise.
56031         ($(objpfx)tst-array2.out): Likewise.
56032         ($(objpfx)tst-array3.out): Likewise.
56033         ($(objpfx)tst-array4.out): Likewise.
56034         ($(objpfx)tst-array5.out): Likewise.
56035         ($(objpfx)tst-array5-static.out): Likewise.
56036         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56037         $(test-program-cmd).
56038         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56039         $(run-program-prefix) with $(test-program-prefix).
56040         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56041         (test_program_prefix): This.
56042         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56043         $(run-program-prefix) with $(test-program-prefix).
56044         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56045         (test_program_prefix): This.
56046         * iconvdata/tst-tables.sh: Likewise.
56047         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56048         $(run-program-prefix) with $(test-program-prefix).
56049         ($(objpfx)tst-translit.out): Likewise.
56050         ($(objpfx)tst-gettext2.out): Likewise.
56051         ($(objpfx)tst-gettext4.out): Likewise.
56052         ($(objpfx)tst-gettext6.out): Likewise.
56053         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56054         (test_program_prefix): This.
56055         * intl/tst-gettext2.sh: Likewise.
56056         * intl/tst-gettext4.sh  Likewise.
56057         * intl/tst-gettext6.sh: Likewise.
56058         * intl/tst-translit.sh: Likewise.
56059         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56060         with $(test-program-cmd).
56061         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56062         $(run-program-prefix) with $(test-program-prefix).
56063         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56064         (test_program_prefix): This.
56065         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56066         $(run-program-prefix) with $(test-program-prefix).
56067         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56068         (test_program_prefix): This.
56069         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56070         * posix/Makefile ($(objpfx)globtest.out): Replace
56071         $(run-via-rtld-prefix) and $(test-wrapper) with
56072         $(test-program-prefix) and $(test-via-rtld-prefix).
56073         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56074         $(test-program-prefix).
56075         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56076         $(host-test-program-cmd).
56077         (tst-spawn-ARGS): Likewise.
56078         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56079         $(test-program-prefix).
56080         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56081         (test_via_rtld_prefix): This.
56082         (test_wrapper): Renamed to ...
56083         (test_program_prefix): This.
56084         (run_program_prefix): Replaced by test_program_prefix.
56085         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56086         (test_program_prefix): This.
56087         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56088         with $(host-test-program-cmd).
56089         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56090         $(run-program-prefix) with $(test-program-prefix).
56091         ($(objpfx)tst-printf.out): Likewise.
56092         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56093         $(test-program-cmd).
56094         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56095         (test_program_prefix): This.
56096         * stdio-common/tst-unbputc.sh: Likewise.
56097         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56098         $(run-program-prefix) with $(test-program-prefix).
56099         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56100         (test_program_prefix): This.
56101         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56102         $(built-program-cmd) with $(test-program-cmd).
56104 2013-01-11  Andreas Jaeger  <aj@suse.de>
56106         [BZ #15003]
56107         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56108         value. Sync with Linux 3.7.
56110 2013-01-10  David S. Miller  <davem@davemloft.net>
56112         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56113         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56114         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56116 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56118         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56119         never set.
56120         * configure: Regenerated.
56122 2013-01-10  David S. Miller  <davem@davemloft.net>
56124         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56125         sparc V9 rather than using V8 code.
56126         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56127         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56129 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56131         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56132         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56133         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56134         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56135         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56136         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56137         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56138         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56139         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56140         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56141         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56142         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56143         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56144         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56145         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56146         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56147         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56148         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56149         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56150         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56151         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56152         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56153         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56154         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56155         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56156         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56157         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56159 2013-01-10  David S. Miller  <davem@davemloft.net>
56161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56163 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56165         * posix/Makefile (tests-static): New variable.
56166         (tests): Add $(tests-static).
56167         (tst-exec-static-ARGS): New variable.
56168         (tst-spawn-static-ARGS): Likewise.
56169         * posix/tst-exec-static.c: New file.
56170         * posix/tst-spawn-static.c: Likewise.
56171         * posix/tst-exec.c: Support run directly.
56172         * posix/tst-spawn.c: Likewise.
56174 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56176         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56177         long.
56178         * math/bits/mathcalls.h (llrint): Likewise.
56179         (llround): Likewise.
56180         * stdlib/stdlib.h (struct drand48_data): Likewise.
56181         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56182         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56183         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56184         Likewise.
56185         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56186         Likewise.
56187         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56188         (elf_greg_t): Likewise.
56189         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56190         (__jmp_buf): Likewise.
56191         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56192         definitions.
56193         (llrint): Likewise, for all definitions.
56194         (llrintl): Likewise.
56196         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56197         Remove [__GNUC__] condition.
56198         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56199         condition to just [__USE_ISOC99].
56200         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56202 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56204         [BZ #14200]
56205         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56206         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56207         defined.
56208         (_POSIX_V6_ILP32_OFF32): Likewise.
56209         (_XBS5_ILP32_OFF32): Likewise.
56210         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56211         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56213 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56215         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56217         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56218         doubles __mpexp_twomm1.  Adjust usage.
56219         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56220         Remove.
56222 2013-01-10  Andreas Schwab  <schwab@suse.de>
56224         [BZ #14964]
56225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56226         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56228 2013-01-09  David S. Miller  <davem@davemloft.net>
56230         [BZ #15003]
56231         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56232         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56233         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56234         (TCP_FASTOPEN): Define.
56235         (tcp_repair_opt): New structure.
56236         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56237         enum values.
56238         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56239         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56240         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56241         (tcp_cookie_transactions): New structure.
56243 2013-01-09  Anton Blanchard  <anton@samba.org>
56245         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56246         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56247         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56248         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56250 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56252         * include/features.h (__USE_ANSI): Remove.
56254 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56256         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56258         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56260 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56262         * sysdeps/s390/fpu/libm-test-ulps: Update.
56264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56266         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56267         (__acr): Likewise.
56268         (__cpy): Likewise.
56269         (norm): Likewise.
56270         (denorm): Likewise.
56271         (__mp_dbl): Likewise.
56272         (__dbl_mp): Likewise.
56273         (add_magnitudes): Likewise.
56274         (sub_magnitudes): Likewise.
56275         (__add): Likewise.
56276         (__sub): Likewise.
56277         (__mul): Likewise.
56278         (__inv): Likewise.
56279         (__dvd): Likewise.
56280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56281         (__acr): Likewise.
56282         (__cpy): Likewise.
56283         (norm): Likewise.
56284         (denorm): Likewise.
56285         (__mp_dbl): Likewise.
56286         (__dbl_mp): Likewise.
56287         (add_magnitudes): Likewise.
56288         (sub_magnitudes): Likewise.
56289         (__add): Likewise.
56290         (__sub): Likewise.
56291         (__mul): Likewise.
56292         (__inv): Likewise.
56293         (__dvd): Likewise.
56294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56295         (__acr): Likewise.
56296         (__cpy): Likewise.
56297         (norm): Likewise.
56298         (denorm): Likewise.
56299         (__mp_dbl): Likewise.
56300         (__dbl_mp): Likewise.
56301         (add_magnitudes): Likewise.
56302         (sub_magnitudes): Likewise.
56303         (__add): Likewise.
56304         (__sub): Likewise.
56305         (__mul): Likewise.
56306         (__inv): Likewise.
56307         (__dvd): Likewise.
56309 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56311         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56312         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56313         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56314         2 && __USE_EXTERN_INLINES]: Likewise.
56316 2013-01-08  Andreas Jaeger  <aj@suse.de>
56318         [BZ# 14985]
56319         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56320         Remove.
56321         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56322         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56324 2013-01-07  Anton Blanchard  <anton@samba.org>
56326         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56327         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56328         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56329         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56330         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56331         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56332         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56333         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56335         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56336         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56337         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56338         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56339         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56340         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56341         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56342         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56344         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56345         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56346         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56347         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56349         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56350         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56351         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56352         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56353         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56355         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56356         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56358         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56359         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56360         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56361         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56362         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56364         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56365         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56366         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56368         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56370 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56372         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56373         (__MALLOC_PMT): Likewise.
56374         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56375         [__GNUC__], only on [_LIBC].
56376         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56377         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56378         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56379         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56380         forward declaration.
56381         (realloc_hook_ini): Likewise.
56382         (memalign_hook_ini): Likewise.
56383         (__libc_memalign): Do not use __MALLOC_PMT in variable
56384         declaration.
56385         (__libc_valloc): Likewise.
56386         (__libc_pvalloc): Likewise.
56387         (__libc_calloc): Likewise.
56388         (__posix_memalign): Likewise.
56390         [BZ #14996]
56391         * math/s_casinh.c: Include <float.h>.
56392         (__casinh): Do not do computation with squaring and square root
56393         for large arguments.
56394         * math/s_casinhf.c: Include <float.h>.
56395         (__casinhf): Do not do computation with squaring and square root
56396         for large arguments.
56397         * math/s_casinhl.c: Include <float.h>.
56398         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56399         (__casinhl): Do not do computation with squaring and square root
56400         for large arguments.
56401         * math/libm-test.inc (casin_test): Add more tests.
56402         (casinh_test): Likewise.
56403         * sysdeps/i386/fpu/libm-test-ulps: Update.
56404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56406 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56408         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56409         (__x86_64_raw_data_cache_size): Likewise.
56410         (__x86_64_data_cache_size_half): Likewise.
56411         (__x86_64_raw_data_cache_size_half): Likewise.
56412         (__x86_64_shared_cache_size): Likewise.
56413         (__x86_64_raw_shared_cache_size): Likewise.
56414         (__x86_64_shared_cache_size_half): Likewise.
56415         (__x86_64_raw_shared_cache_size_half): Likewise.
56416         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56417         to ...
56418         (__x86_data_cache_size): This.
56419         (__x86_64_raw_data_cache_size): Renamed to ...
56420         (__x86_raw_data_cache_size): This.
56421         (__x86_64_data_cache_size_half): Renamed to ...
56422         (__x86_data_cache_size_half): This.
56423         (__x86_64_raw_data_cache_size_half): Renamed to ...
56424         (__x86_raw_data_cache_size_half): This.
56425         (__x86_64_shared_cache_size): Renamed to ...
56426         (__x86_shared_cache_size): This.
56427         (__x86_64_raw_shared_cache_size): Renamed to ...
56428         (__x86_raw_shared_cache_size): This.
56429         (__x86_64_shared_cache_size_half): Renamed to ...
56430         (__x86_shared_cache_size_half): This.
56431         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56432         (__x86_raw_shared_cache_size_half): This.
56433         * sysdeps/x86_64/memcpy.S: Updated.
56434         * sysdeps/x86_64/memset.S: Likewise.
56435         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56436         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56437         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56439 2013-01-04  David S. Miller  <davem@davemloft.net>
56441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56443 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56445         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56446         1 to avoid redefinition warning.
56447         (__USE_GNU): Don't define.
56448         (init_signaling_nan): Protoize.
56450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56452 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56454         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56456         (__cpymn): Likewise.
56457         (norm): Remove commented code.
56458         (denorm): Likewise.
56459         (__mp_dbl): Likewise.
56460         (__inv): Likewise.
56461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56462         (__cpymn): Likewise.
56463         (norm): Remove commented code.
56464         (denorm): Likewise.
56465         (__mp_dbl): Likewise.
56466         (__inv): Likewise.
56468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56469         mp_no value for 1.0 and 2.0.
56470         (norm): Use RADIXI instead of radixi.d.
56471         (denorm): Likewise.
56472         (__mul): Use 0.0 instead of zero.d.
56473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56474         mp_no value for 1.0 and 2.0.
56475         (norm): Use RADIXI instead of radixi.d.
56476         (denorm): Likewise.
56477         (__mul): Use 0.0 instead of zero.d.
56479 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56481         [BZ #14994]
56482         * math/s_casinh.c (__casinh): Reduce finite argument to first
56483         quadrant then set signs of results at the end.
56484         * math/s_casinhf.c (__casinhf): Likewise.
56485         * math/s_casinhl.c (__casinhl): Likewise.
56486         * math/libm-test.inc (casin_test): Add more tests.
56487         (casinh_test): Likewise.
56488         * sysdeps/i386/fpu/libm-test-ulps: Update.
56489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56491 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56493         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56495         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56497         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56498         declarations.
56499         (denorm): Likewise.
56500         (__mp_dbl): Likewise.
56501         (__inv): Likewise.
56503         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56504         and adjust the header comment.
56506         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56507         variable name from declaration.
56509 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56512         Initialize COMMON_CPUID_INDEX_7 element.
56513         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56514         (CPUID_RTM): Likewise.
56515         (HAS_RTM): Likewise.
56516         (COMMON_CPUID_INDEX_7): New enum.
56518 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56520         [BZ #14981]
56521         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56522         size is zero, record memory as freed.
56524 2013-01-03  Andreas Jaeger  <aj@suse.de>
56526         * po/ia.po: Add new Interlingua translation.
56528 2012-01-03  Allan McRae  <allan@archlinux.org>
56530         * locale/programs/localedef.c: Fix description of '--posix' flag.
56532 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56534         * NEWS: Update dates in second copyright notice.
56535         * README: Update copyright dates in example.
56536         * manual/libc.texinfo: Update copyright dates.
56537         * scripts/test-installation.pl: Update copyright date in --version
56538         output.
56540         * hurd/ctty-input.c: Fix copyright notice formatting.
56541         * hurd/ctty-output.c: Likewise.
56542         * hurd/dtable.c: Likewise.
56543         * hurd/hurd-raise.c: Likewise.
56544         * hurd/hurdprio.c: Likewise.
56545         * hurd/msgportdemux.c: Likewise.
56546         * misc/sys/file.h: Likewise.
56547         * misc/sys/ioctl.h: Likewise.
56548         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56549         * sysdeps/mach/hurd/chdir.c: Likewise.
56550         * sysdeps/mach/hurd/fchdir.c: Likewise.
56551         * sysdeps/mach/hurd/rename.c: Likewise.
56552         * sysdeps/mach/hurd/rmdir.c: Likewise.
56553         * sysdeps/mach/hurd/seekdir.c: Likewise.
56554         * sysdeps/mach/hurd/setsid.c: Likewise.
56555         * sysdeps/posix/wait3.c: Likewise.
56557         * All files with FSF copyright notices: Update copyright dates
56558         using scripts/update-copyrights.
56559         * intl/plural.c: Regenerated.
56560         * locale/programs/charmap-kw.h: Likewise.
56561         * locale/programs/locfile-kw.h: Likewise.
56563 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56565         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56566         four values.
56568         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56569         calculation loop and add branch prediction.
56571         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56572         check access beyond bounds of m1np.
56574         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56575         MPTWO.
56576         (__inv): Remove local variable MPTWO to use the global
56577         constant.
56578         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56580         variable MPTWO.
56581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56582         MP3HALFS static const.
56584 2013-01-01  David S. Miller  <davem@davemloft.net>
56586         * po/ca.po: Update from translation team.
56588 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56590         * scripts/update-copyrights: New file.
56591         * Makeconfig: Reformat copyright notice.
56592         * ctype/ctype.h: Likewise.
56593         * debug/swprintf_chk.c: Likewise.
56594         * elf/dl-cache.c: Likewise.
56595         * elf/dl-debug.c: Likewise.
56596         * elf/dl-object.c: Likewise.
56597         * grp/initgroups.c: Likewise.
56598         * hurd/Makefile: Likewise.
56599         * hurd/hurd/signal.h: Likewise.
56600         * hurd/hurdfault.c: Likewise.
56601         * hurd/hurdioctl.c: Likewise.
56602         * hurd/hurdlookup.c: Likewise.
56603         * hurd/intr-msg.c: Likewise.
56604         * iconv/gconv_open.c: Likewise.
56605         * libio/swprintf.c: Likewise.
56606         * locale/lc-ctype.c: Likewise.
56607         * locale/nl_langinfo.c: Likewise.
56608         * mach/Machrules: Likewise.
56609         * mach/Makefile: Likewise.
56610         * malloc/obstack.h: Likewise.
56611         * manual/Makefile: Likewise.
56612         * manual/tsort.awk: Likewise.
56613         * misc/bits/stab.def: Likewise.
56614         * nis/nis_print_group_entry.c: Likewise.
56615         * nis/nis_table.c: Likewise.
56616         * nis/nss_compat/compat-pwd.c: Likewise.
56617         * nis/nss_compat/compat-spwd.c: Likewise.
56618         * po/Makefile: Likewise.
56619         * posix/fnmatch.c: Likewise.
56620         * posix/regex.h: Likewise.
56621         * resolv/Makefile: Likewise.
56622         * resolv/nss_dns/dns-network.c: Likewise.
56623         * resolv/res_hconf.c: Likewise.
56624         * scripts/gen-sorted.awk: Likewise.
56625         * soft-fp/soft-fp.h: Likewise.
56626         * stdio-common/printf.h: Likewise.
56627         * stdlib/monetary.h: Likewise.
56628         * stdlib/random.c: Likewise.
56629         * stdlib/random_r.c: Likewise.
56630         * sysdeps/generic/Makefile: Likewise.
56631         * sysdeps/gnu/Makefile: Likewise.
56632         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56633         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56634         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56635         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56636         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56637         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56639         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56640         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56641         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56642         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56643         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56644         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56645         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56646         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56647         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56648         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56649         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56650         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56651         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56652         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56653         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56654         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56655         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56656         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56657         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56658         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56659         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56660         * sysdeps/mach/hurd/errnos.awk: Likewise.
56661         * sysdeps/mach/hurd/fork.c: Likewise.
56662         * sysdeps/mach/hurd/getcwd.c: Likewise.
56663         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56664         * sysdeps/mach/hurd/mmap.c: Likewise.
56665         * sysdeps/mach/hurd/utimes.c: Likewise.
56666         * sysdeps/mach/hurd/xmknod.c: Likewise.
56667         * sysdeps/posix/profil.c: Likewise.
56668         * sysdeps/posix/readdir_r.c: Likewise.
56669         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56670         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56671         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56672         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56674         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56675         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56676         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56678         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56679         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56680         * sysdeps/pthread/lio_listio.c: Likewise.
56681         * sysdeps/sparc/dl-procinfo.h: Likewise.
56682         * sysdeps/unix/i386/sysdep.S: Likewise.
56683         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56684         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56685         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56686         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56688         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56689         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56690         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56691         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56692         * sysdeps/wordsize-32/divdi3.c: Likewise.
56693         * time/sys/time.h: Likewise.
56694         * wcsmbs/Makefile: Likewise.
56696 2013-01-01  David S. Miller  <davem@davemloft.net>
56698         * po/fr.po: Update from translation team.
56700         * catgets/gencat.c: Update copyright year.
56701         * csu/version.c: Likewise.
56702         * debug/catchsegv.sh: Likewise.
56703         * debug/pcprofiledump.c: Likewise.
56704         * debug/xtrace.sh: Likewise.
56705         * elf/ldconfig.c: Likewise.
56706         * elf/ldd.bash.in: Likewise.
56707         * elf/pldd.c: Likewise.
56708         * elf/sotruss.ksh: Likewise.
56709         * elf/sprof.c: Likewise.
56710         * iconv/iconv_prog.c: Likewise.
56711         * iconv/iconvconfig.c: Likewise.
56712         * locale/programs/locale.c: Likewise.
56713         * locale/programs/localedef.c: Likewise.
56714         * login/programs/pt_chown.c: Likewise.
56715         * malloc/memusage.sh: Likewise.
56716         * malloc/memusagestat.c: Likewise.
56717         * malloc/mtrace.pl: Likewise.
56718         * nscd/nscd.c: Likewise.
56719         * nss/getent.c: Likewise.
56720         * nss/makedb.c: Likewise.
56721         * posix/getconf.c: Likewise.
56723 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56725         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56726         numbers.
56728 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56730         * math/bits/mathcalls.h (modf): Use __nonnull.
56732 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56734         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56735         (split): Use macro CN instead of the bare value.
56736         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56737         could be used.
56738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56739         instead of the bare value.
56740         (power1): Likewise.
56742 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56744         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56745         __ATAN_TWOM.
56746         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56748         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56749         their values.
56750         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56751         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56752         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56753         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56755 2012-12-28  Andreas Jaeger  <aj@suse.de>
56757         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56758         values are from Linux 3.7.
56760         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56761         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56763 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56765         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56766         TRUE case.
56768         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56769         (norm): Likewise.
56770         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56771         variables with preprocessor constants.
56772         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56773         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56774         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56776 2012-12-27  Bruno Haible  <bruno@clisp.org>
56778         [BZ #14317]
56779         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56780         only if needed.
56782 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56785         and use variable directly.
56786         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56788         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56789         MPONE.
56790         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56791         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56792         variable MPONE.
56793         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56795         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56796         include directive.  Remove local variable MPONE.
56797         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56798         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56799         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56801 2012-12-25  David S. Miller  <davem@davemloft.net>
56803         * version.h (RELEASE): Set to "development".
56804         (VERSION): Set to "2.17.90".
56805         * NEWS: Add 2.18 section.
56807 2012-12-21  David S. Miller  <davem@davemloft.net>
56809         * po/hr.po: Update from translation team.
56811 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56813         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56815 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56817         * NEWS:  Mention new memcpy for MIPS.
56819 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56821         * manual/contrib.texi (Contributors): Spelling correction.
56823 2012-12-15  David S. Miller  <davem@davemloft.net>
56825         * po/ru.po: Update from translation team.
56827 2012-12-13  David S. Miller  <davem@davemloft.net>
56829         * NEWS: Mention IFUNC testsuite enhancements.
56831         * po/pl.po: Update from translation team.
56832         * po/bg.po: Likewise.
56834         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56835         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56837 2012-12-11  David S. Miller  <davem@davemloft.net>
56839         * po/sv.po: Update from translation team.
56841         * po/vi.po: Update from translation team.
56843         * po/cs.po: Update from translation team.
56845         * po/de.po: Update from translation team.
56846         * po/eo.po: Likewise.
56847         * po/nl.po: Likewise.
56849 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56851         [BZ #14246]
56852         * manual/argp.texi (Argp Helper Functions): Move node to follow
56853         Argp Parsing State.
56855         [BZ #14872]
56856         * manual/conf.texi (Limits on File System Capacity): Mention if
56857         terminating null is included in the max size.
56859 2012-12-10  Andreas Jaeger  <aj@suse.de>
56861         * po/cs.po: Update from translation team.
56863 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56865         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56866         void pointer and cast to uintptr_t.
56867         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56868         path.
56869         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56870         * sysdeps/s390/s390-64/memset.S: Likewise.
56872 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56874         [BZ #14833]
56875         * menual/message.texi (Message Translation): Fix typos.
56876         (Helper programs for gettext): Likewise.
56878 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56880         [BZ #14898]
56881         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56882         Change to -1.
56884 2012-12-07  David S. Miller  <davem@davemloft.net>
56886         * po/libc.pot: Update.
56888 2012-12-07  Richard Henderson  <rth@redhat.com>
56890         [BZ #10114]
56891         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56892         normal/normal case to before the switch.
56893         (_FP_DIV): Likewise.
56895 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56896             Mike Frysinger  <vapier@gentoo.org>
56898         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56899         check for __NR_fadvise64_64.
56901 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56903         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56904         0, not just to plain "0" as a statement.
56905         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56906         with cw.
56908 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56910         * NEWS: Use sourceware.org in Bugzilla URL.
56912 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56915         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56917         * stdio-common/tst-put-error.c (do_test): Add newline to the
56918         padded test to ensure flush.
56920 2012-12-05  Jeff Law  <law@redhat.com>
56922         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56924 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56926         * README: Don't refer to ports add-on as distributed separately.
56927         Mention AArch64 in list of systems supported in the ports add-on.
56929         * LICENSES: Add more non-FSF copyright and license notices.
56931         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56932         ((unused)).
56934         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56936         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56937         10000 as width of padded output.
56939 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56941         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56943         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56944         variable LX with __attribute__ ((unused)).
56945         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56946         Likewise.
56947         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56948         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56949         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56950         with __attribute__ ((unused)).
56952 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56954         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56956 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56958         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56959         (CFLAGS-nldbl-acos.c): New variable.
56960         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56961         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56962         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56963         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56964         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56965         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56966         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56967         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56968         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56969         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56970         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56971         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56972         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56973         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56974         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56975         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56976         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56977         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56978         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56979         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56980         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56981         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56982         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56983         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56984         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56985         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56986         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56987         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56988         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56989         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56990         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56991         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56992         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56993         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56994         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56995         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56996         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56997         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56998         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56999         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57000         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57001         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57002         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57003         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57004         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57005         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57006         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57007         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57008         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57009         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57010         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57011         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57012         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57013         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57014         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57015         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57016         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57017         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57018         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57019         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57020         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57021         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57022         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57023         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57024         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57025         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57026         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57027         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57028         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57029         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57030         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57031         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57032         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57033         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57034         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57035         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57036         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57037         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57038         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57039         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57040         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57041         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57042         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57043         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57044         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57045         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57046         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57047         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57048         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57049         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57050         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57051         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57052         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57053         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57054         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57055         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57056         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57059         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57061         [BZ #14914]
57062         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57063         whole low double instead of just low 47 bits when splitting values
57064         into two parts.
57066 2012-12-03  Allan McRae  <allan@archlinux.org>
57068         * manual/stdio.texi (Predefined Printf Handlers): Remove
57069         @hsep and @vsep usage.
57071 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57073         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57074         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57076 2012-12-03  Jeff Law  <law@redhat.com>
57078         * time/sys/time.h (settimeofday): Do not mark TV argument
57079         as __nonnull.
57081 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57083         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57084         when currently writing and seek to current position when not.
57085         * libio/Makefile (tests): Remove bug-fclose1.
57086         * libio/bug-fclose1.c: Delete.
57088 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57090         * manual/arith.texi (feenableexcept): Fix typo.
57091         (fedisableexcept): Likewise.
57093 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57095         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57096         second, differently-typed declaration, rather than a cast.
57098 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57100         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57101         * include/rpc/svc.h: ... here.
57103 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57105         [BZ #13013]
57106         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57107         depending n and resplen2 to catch cases where answer
57108         equals answerp2.
57110 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57112         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57113         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57115 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57117         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57119 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57121         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57123 2012-11-28  Jeff Law  <law@redhat.com>
57125         [BZ #13761]
57126         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57127         dataset_temporary.  Track alloca usage into alloca_used.
57128         If dataset is large allocate and release it via malloc/free.
57130 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57132         [BZ #14197]
57133         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57135 2012-11-28  David S. Miller  <davem@davemloft.net>
57137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57139 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57141         [BZ #14803]
57142         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57143         of pi/2 rounded to nearest to 64 bits.
57144         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57145         nearest to 64 bits.
57146         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57147         bits.
57149 2012-11-28  Jeff Law <law@redhat.com>
57150             Martin Osvald <mosvald@redhat.com>
57152         [BZ #14889]
57153         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57154         * sunrpc/svc.c: Include time.h.
57155         (__svc_accept_failed): New function.
57156         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57157         any reason other than EINTR, call __svc_accept_failed.
57158         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57159         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57161 2012-11-28  Andreas Schwab  <schwab@suse.de>
57163         * scripts/abilist.awk: Also handle indirect functions in .opd
57164         section.
57166 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57168         [BZ #13881]
57169         * sysdeps/x86/fpu/powl_helper.c: New file.
57170         * sysdeps/x86/fpu/Makefile: Likewise.
57171         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57172         (p3): New object.
57173         (__ieee754_powl): Use __powl_helper for finite arguments except
57174         integer exponents below 8.
57175         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57176         (p3): New object.
57177         (__ieee754_powl): Use __powl_helper for finite arguments except
57178         integer exponents below 8.
57179         * math/libm-test.inc (pow_test): Add more tests and enable some
57180         previously disabled tests.
57181         * sysdeps/i386/fpu/libm-test-ulps: Update.
57182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57184 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57185             Carlos O'Donell  <carlos_odonell@mentor.com>
57187         * nss/makedb.c (is_prime): Assert that input is odd and greater
57188         than 4.  Note that fact in a comment too.
57189         (next_prime): Add 4 to input.
57191 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57193         [BZ #11741]
57194         * libio/Makefile (tests): Add test case tst-fwrite-error.
57195         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57196         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57197         * libio/tst-fwrite-error.c: New test case.
57199 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57201         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57202         before casting to void *.
57203         * include/libc-internal.h (__pointer_type): New macro.
57204         (__integer_if_pointer_type_sub): Likewise.
57205         (__integer_if_pointer_type): Likewise.
57206         (cast_to_integer): Likewise.
57207         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57208         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57209         before casting to atomic64_t.
57210         (atomic_exchange_acq): Likewise.
57211         (__arch_exchange_and_add_body): Likewise.
57212         (__arch_add_body): Likewise.
57213         (atomic_add_negative): Likewise.
57214         (atomic_add_zero): Likewise.
57216 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57218         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57219         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57220         (add_fdes): Likewise.
57221         (linear_search_fdes): Likewise.
57222         (binary_search_unencoded_fdes): Likewise.
57224 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57226         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57228 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57230         * configure.in: Autodetect C++ header directories.
57231         * configure: Regenerated.
57233 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57235         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57237 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57241 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57243         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57244         LDBL_MANT_DIG == 106]: Disable some tests.
57245         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57246         Likewise.
57247         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57248         Likewise.
57250         [BZ #14871]
57251         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57252         input for small inputs.  Return +/- pi/2 for large inputs.
57253         * math/libm-test.inc (atan_test): Add more tests.
57255         * sysdeps/generic/unwind-dw2-fde-glibc.c
57256         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57257         __attribute__ ((unused)).
57259         [BZ #14645]
57260         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57261         x * y if x and y are nonzero and z is zero.
57263         [BZ #14811]
57264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57265         nonzero exponents with absolute value below 0x1p-117 to +/-
57266         0x1p-117.
57268         [BZ #14869]
57269         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57270         up arguments below 2**-450, not just those below 2**-500.
57271         * math/libm-test.inc (hypot_test): Add another test.
57273         [BZ #14868]
57274         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57275         Return a+b for ratio over 2**120, not 2**60.
57276         * math/libm-test.inc (hypot_test): Add another test.
57278         * math/libm-test.inc (clog_test): Use
57279         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57280         (clog10_test): Likewise.
57282         [BZ #6778]
57283         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57285 2012-11-22  Andreas Schwab  <schwab@suse.de>
57287         * sysdeps/i386/fpu/libm-test-ulps: Update.
57289 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57291         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57292         printf output with newline.
57294 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57296         [BZ #14865]
57297         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57298         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57299         -z nodlopen, -z initfirst and -z execstack support.
57300         * configure: Regenerated.
57302         * elf/elf.h (DF_1_NODIRECT): New macro.
57303         (DF_1_IGNMULDEF): Likewise.
57304         (DF_1_NOKSYMS): Likewise.
57305         (DF_1_NOHDR): Likewise.
57306         (DF_1_EDITED): Likewise.
57307         (DF_1_NORELOC): Likewise.
57308         (DF_1_SYMINTPOSE): Likewise.
57309         (DF_1_GLOBAUDIT): Likewise.
57310         (DF_1_SINGLETON): Likewise.
57311         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57312         DT_1_SUPPORTED_MASK bits.
57313         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57315 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57317         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57319 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57321         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57322         macro.
57324         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57325         (sendmmsg): Move declarations...
57326         * socket/sys/socket.h: ... here.
57327         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57328         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57329         include it from...
57330         * socket/recvmmsg.c: ... this new file.
57331         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57332         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57333         definition of __sendmmsg hidden.
57334         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57335         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57336         Move ENOSYS stub into and include it from...
57337         * socket/sendmmsg.c: ... this new file.
57338         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57339         (sysdep_routines): Move recvmmsg and sendmmsg...
57340         * socket/Makefile (routines): ... here.
57341         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57342         (GLIBC_PRIVATE): Add __sendmmsg.
57343         * include/sys/socket.h (__sendmmsg): Add declarations.
57344         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57345         sendmmsg.
57347 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57349         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57350         variable I1 with __attribute__ ((unused)).
57351         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57353 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57355         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57356         DUMMY variables with __attribute__ ((unused)).
57358         * bits/byteswap.h: Include <bits/types.h>.
57359         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57361 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57363         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57364         string_t.  Do not manually set errno.
57365         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57366         length with __strnlen.  Make sure to both set errno and return it on
57367         failure.
57369 2012-11-19  David S. Miller  <davem@davemloft.net>
57371         With help from Joseph Myers.
57372         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57373         very large arguments properly.
57374         * math/libm-test.inc (atan_test): New tests.
57375         (atan2_test): New tests.
57376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57379 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57381         [BZ #14856]
57382         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57383         Define to 3.
57385         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57386         [POSIX] (EADDRNOTAVAIL): Likewise.
57387         [POSIX] (EAFNOSUPPORT): Likewise.
57388         [POSIX] (EALREADY): Likewise.
57389         [POSIX] (ECONNABORTED): Likewise.
57390         [POSIX] (ECONNREFUSED): Likewise.
57391         [POSIX] (ECONNRESET): Likewise.
57392         [POSIX] (EDESTADDRREQ): Likewise.
57393         [POSIX] (EDQUOT): Likewise.
57394         [POSIX] (EHOSTUNREACH): Likewise.
57395         [POSIX] (EIDRM): Likewise.
57396         [POSIX] (EISCONN): Likewise.
57397         [POSIX] (ELOOP): Likewise.
57398         [POSIX] (EMULTIHOP): Likewise.
57399         [POSIX] (ENETDOWN): Likewise.
57400         [POSIX] (ENETUNREACH): Likewise.
57401         [POSIX] (ENOBUFS): Likewise.
57402         [POSIX] (ENODATA): Likewise.
57403         [POSIX] (ENOLINK): Likewise.
57404         [POSIX] (ENOMSG): Likewise.
57405         [POSIX] (ENOPROTOOPT): Likewise.
57406         [POSIX] (ENOSR): Likewise.
57407         [POSIX] (ENOSTR): Likewise.
57408         [POSIX] (ENOTCONN): Likewise.
57409         [POSIX] (ENOTSOCK): Likewise.
57410         [POSIX] (EOPNOTSUPP): Likewise.
57411         [POSIX] (EOVERFLOW): Likewise.
57412         [POSIX] (EPROTO): Likewise.
57413         [POSIX] (EPROTONOSUPPORT): Likewise.
57414         [POSIX] (EPROTOTYPE): Likewise.
57415         [POSIX] (ESTALE): Likewise.
57416         [POSIX] (ETIME): Likewise.
57417         [POSIX] (ETXTBSY): Likewise.
57418         [POSIX] (EWOULDBLOCK): Likewise.
57419         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57420         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57421         [POSIX] (SEEK_CUR): Likewise.
57422         [POSIX] (SEEK_END): Likewise.
57423         [POSIX || UNIX98] (mode_t): Do not require.
57424         [POSIX] (off_t): Likewise.
57425         [POSIX] (pid_t): Likewise.
57426         [POSIX] (sys/stat.h): Do not allow header.
57427         [POSIX] (unistd.h): Likewise.
57428         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57429         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57430         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57431         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57432         require.
57433         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57434         sigevent): Specify elements.
57435         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57436         entry.
57437         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57438         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57440         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57441         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57442         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57443         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57444         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57445         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57446         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57447         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57448         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57449         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57450         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57451         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57452         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57453         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57454         Likewise.
57455         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57456         Likewise.
57457         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57458         Likewise.
57459         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57460         Likewise.
57461         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57462         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57463         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57464         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57465         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57466         Specify lower bound on value.
57467         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57468         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57469         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57470         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57471         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57472         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57473         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57474         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57475         value.
57476         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57477         as optional.
57478         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57479         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57480         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57481         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57482         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57483         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57484         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57485         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57486         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57487         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57488         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57489         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57490         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57491         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57492         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57493         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57494         entry.
57495         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57496         optional.
57497         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57498         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57499         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57500         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57501         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57502         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57503         Likewise.
57504         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57505         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57506         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57507         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57508         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57509         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57510         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57511         as optional.
57512         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57513         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57514         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57515         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57516         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57517         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57518         specify as optional.
57519         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57520         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57521         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57522         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57523         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57524         [XPG3] (NL_LANGMAX): Likewise.
57525         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57526         [POSIX || XPG3] (NL_NMAX): Likewise.
57527         [POSIX || XPG3] (NL_SETMAX): Likewise.
57528         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57529         [XPG3] (NZERO): Likewise.
57530         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57531         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57532         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57533         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57534         (REG_ERANGE): Expect.
57535         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57536         optional-constant.
57537         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57538         Use (void) in prototype.
57539         [POSIX] (*_t): Allow.
57540         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57541         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57542         (WRDE_BADVAL): Expect.
57544         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57545         expect.
57546         [XPG3 || XPG4] (O_RSYNC): Likewise.
57547         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57548         Likewise.
57549         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57550         [XPG3 || XPG4] (sigqueue): Likewise.
57551         [XPG3 || XPG4] (sigtimedwait): Likewise.
57552         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57553         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57554         [XPG3 || XPG4] (vsnprintf): Likewise.
57555         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57556         Likewise.
57557         [XPG3 || XPG4] (blksize_t): Likewise.
57558         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57559         Likewise.
57560         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57561         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57562         [XPG3 || XPG4] (struct itimerspec): Likewise.
57563         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57564         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57565         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57566         [XPG3 || XPG4] (clockid_t): Likewise.
57567         [XPG3 || XPG4] (timer_t): Likewise.
57568         [XPG3 || XPG4] (clock_getres): Likewise.
57569         [XPG3 || XPG4] (clock_gettime): Likewise.
57570         [XPG3 || XPG4] (clock_settime): Likewise.
57571         [XPG3 || XPG4] (nanosleep): Likewise.
57572         [XPG3 || XPG4] (timer_create): Likewise.
57573         [XPG3 || XPG4] (timer_delete): Likewise.
57574         [XPG3 || XPG4] (timer_gettime): Likewise.
57575         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57576         [XPG3 || XPG4] (timer_settime): Likewise.
57577         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57578         [XPG3 || XPG4] (getlogin_r): Likewise.
57579         [XPG3 || XPG4] (pread): Likewise.
57580         [XPG3 || XPG4] (pthread_atfork): Likewise.
57581         [XPG3 || XPG4] (pwrite): Likewise.
57583         [BZ #14835]
57584         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57585         <bits/siginfo.h>.
57587 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57589         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57590         finalizing MALLSTREAM.
57592         * sysdeps/mach/hurd/syncfs.c: New file.
57594 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57596         [BZ #14719]
57597         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57598         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57599         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57600         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57601         (_nss_dns_gethostbyname4_r): Likewise.
57602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57603         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57605 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57607         [BZ #13763]
57608         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57610 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57612         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57613         * elf/cache.c (print_entry): Print ",AArch64" for
57614         FLAG_AARCH64_LIB64
57616         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57617         * elf/cache.c (print_entry): Print ",hard-float" for
57618         FLAG_ARM_LIBHF.
57620 2012-11-18  David S. Miller  <davem@davemloft.net>
57622         With help from Joseph Myers.
57623         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57624         cutoff to 2**-13.
57625         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57626         cutoff to 2**-25.
57627         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57628         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57629         small.
57630         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57631         * math/libm-test.inc (y0_test): New tests.
57632         (y1_test): New tests.
57633         * sysdeps/i386/fpu/libm-test-ulps: Update.
57634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57637 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57639         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57640         64-bit targets.
57641         * configure: Regenerated.
57643 2012-11-17  David S. Miller  <davem@davemloft.net>
57645         [BZ #14811]
57646         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57647         nonzero exponents with absolute value below 0x1p-128 to +/-
57648         0x1p-128.
57650 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57652         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57654         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57656         * posix/getconf-speclist.c: New file.
57657         * posix/posix-envs.def: Likewise.
57658         * posix/confstr.c (START_ENV_GROUP): New macro.
57659         (END_ENV_GROUP): Likewise.
57660         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57661         (KNOWN_PRESENT_ENV_STRING): Likewise.
57662         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57663         (UNKNOWN_ENVIRONMENT): Likewise.
57664         (confstr): Include posix-envs.def instead of handling
57665         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57666         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57667         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57668         (END_ENV_GROUP): Likewise.
57669         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57670         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57671         (UNKNOWN_ENVIRONMENT): Likewise.
57672         (__sysconf): Include posix-envs.def instead of handling associated
57673         cases directly here.
57674         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57675         preprocessing getconf-speclist.c rather than running getconf or
57676         generating empty file.
57678 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57680         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57682 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57684         [BZ #14672]
57685         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57687 2012-11-16  David S. Miller  <davem@davemloft.net>
57689         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57690         smaller than LDBL_EPSILON/2.0L, just return xm1.
57692 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57694         * elf/tst-array1.c (init): Set constructor priority to 1000.
57695         (fini): Set destructor priority to 1000.
57696         * elf/tst-array2dep.c: Likewise.
57698 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57700         [BZ #11741]
57701         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57702         (_IO_new_file_xsputn): Also return EOF if none of the input
57703         data was written when overflow failed.
57704         * libio/iopadn.c (_IO_padn): Likewise.
57705         * libio/iowpadn.c (_IO_wpadn): Likewise.
57706         * stdio-common/tst-put-error.c: Add copyright notice.
57707         (do_test): Add case for printing padded string.
57708         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57709         _IO_padn returned error.
57710         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57711         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57712         return EOF.
57714 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57716         * libio/libioP.h: Add comment note that the references to C++
57717         bits are now obsolete.
57719 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57721         * math/libm-test.inc (check_complex): Use asprintf.
57723 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57725         * debug/pcprofiledump.c (print_version): Update copyright year.
57726         * malloc/memusagestat.c (print_version): Likewise.
57728 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57730         [BZ #14831]
57731         * elf/Makefile (tests): Add tst-audit8.
57732         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57733         ($(objpfx)tst-audit8.out): New target.
57734         (tst-audit8-ENV): New variable.
57735         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57736         audit if l_reloc_result is NULL.
57737         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57738         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57739         * elf/tst-audit8.c: New file.
57741 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57743         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57744         * misc/Makefile (CFLAGS-select.c): Define.
57745         * posix/Makefile (CFLAGS-pause.c): Define.
57747 2012-11-13  David S. Miller  <davem@davemloft.net>
57749         * crypt/Makefile: Move test targets after toplevel Rules
57750         inclusion.  Grab any necessary sysdep routines when linking.
57751         * crypt/md5.c (md5_process_block): Remove define, we will always
57752         name it __md5_process_block.
57753         (md5_finish_ctx): Update md5_process_block call.
57754         (md5_stream): Likewise.
57755         (md5_process_bytes): Likewise.
57756         (md5_process_block): Rename to __md5_process_block and move to ...
57757         * crypt/md5-block.c: ... here.
57758         * crypt/sha256.c (sha256_process_block): Move to ...
57759         * crypt/sha256-block.c: ... here.
57760         * crypt/sha512.c (sha512_process_block): Move to ...
57761         * crypt/sha512-block.c: ... here.
57762         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57763         path.
57764         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57765         * sysdeps/sparc/sparc64/multiarch/Makefile
57766         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57767         crypt subdir.
57768         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57769         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57770         multiarch changes.
57771         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57772         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57773         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57774         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57775         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57776         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57777         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57778         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57779         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57780         file.
57781         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57782         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57783         file.
57784         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57786 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57788         * timezone/tzselect.ksh: Update from tzcode git revision
57789         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57790         * timezone/zdump.c: Likewise.
57791         * timezone/zic.c: Likewise.
57792         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57793         in TZVERSION setting, not $(PKGVERSION).
57794         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57795         REPORT_BUGS_TO settings.
57797         [BZ #14838]
57798         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57799         macro.
57801 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57803         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57804         detection to immediately after _FP_ROUND().
57805         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57806         bits are 0.
57808 2012-11-11  David S. Miller  <davem@davemloft.net>
57810         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57811         inttypes.h
57812         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57813         __close rather than their public counterparts.
57815 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57817         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57818         file.
57819         [UNIX98] (sem_timedwait): Do not expect.
57820         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57821         [XPG4 || UNIX98] (sockatmark): Do not expect.
57822         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57823         (clock_getcpuclockid): Do not expect.
57824         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57825         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57826         Do not expect.
57827         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57828         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57829         [UNIX98] (vwscanf): Likewise.
57830         [UNIX98] (vswscanf): Likewise.
57832 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57834         * timezone/version.h: Remove file.
57835         * timezone/README: Do not refer to version.h.
57836         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57837         $(objpfx)version.h.
57838         ($(objpfx)zdump.o): Likewise.
57839         ($(objpfx)version.h): New target.
57841         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57842         2012i.
57843         * timezone/README: Don't mention modification to tzselect.ksh.
57844         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57845         work on unmodified tzselect.ksh.  Substitute version numbers in
57846         tzselect.ksh.
57848         * Makefile (format-me): Remove.
57849         (INSTALL): Adjust indentation.  Use commands directly instead of
57850         using $(format-me).
57852         * aclocal.m4 (ACX_PKGVERSION): New macro.
57853         (ACX_BUGURL): Likewise.
57854         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57855         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57856         (REPORT_BUGS_TO): Likewise.
57857         * configure: Regenerated.
57858         * config.h.in (PKGVERSION): New macro.
57859         (REPORT_BUGS_TO): Likewise.
57860         * config.make.in (PKGVERSION): New variable.
57861         (PKGVERSION_TEXI): Likewise.
57862         (REPORT_BUGS_TO): Likewise.
57863         (REPORT_BUGS_TEXI): Likewise.
57864         * Makefile (format-me): Use -I$(common-objpfx)manual.
57865         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57866         ($(common-objpfx)manual/%): New target.
57867         (manual/%): Remove target.
57868         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57869         (print_version): Use PKGVERSION.
57870         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57871         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57872         and REPORT_BUGS_TO.
57873         ($(objpfx)xtrace): Likewise.
57874         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57875         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57876         (print_version): Use PKGVERSION.
57877         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57878         (do_version): Use PKGVERSION.
57879         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57880         REPORT_BUGS_TO.
57881         (common-ldd-rewrite): Likewise.
57882         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57883         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57884         (print_version): Use PKGVERSION.
57885         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57886         * elf/pldd.c (argp_program_bug_address): Remove variable.
57887         (more_help): New function.
57888         (argp): Use more_help.
57889         (print_version): Use PKGVERSION.
57890         * elf/sln.c (main): Use PKGVERSION.
57891         (usage): Use REPORT_BUGS_TO.
57892         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57893         (top level): Use PKGVERSION.
57894         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57895         (print_version): Use PKGVERSION.
57896         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57897         (print_version): Use PKGVERSION.
57898         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57899         (print_version): Use PKGVERSION.
57900         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57901         (print_version): Use PKGVERSION.
57902         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57903         (print_version): Use PKGVERSION.
57904         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57905         (print_version): Use PKGVERSION.
57906         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57907         and BUGURL.
57908         ($(objpfx)memusage): Likewise.
57909         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57910         (do_version): Use PKGVERSION.
57911         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57912         (print_version): Use PKGVERSION.
57913         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57914         ($PKGVERSION): New variable.
57915         ($REPORT_BUGS_TO): Likewise.
57916         (usage): Use $REPORT_BUGS_TO.
57917         (top level): Use $PKGVERSION.
57918         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57919         ($(objpfx)pkgvers.texi): New rule.
57920         ($(objpfx)stamp-pkgvers): Likewise.
57921         * manual/install.texi: Include pkgvers.texi.
57922         (--with-pkgversion): Document new configure option.
57923         (--with-bugurl): Likewise.
57924         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57925         than necessarily for this particular distribution.  Use
57926         REPORT_BUGS_TO for where to report bugs.
57927         * INSTALL: Regenerated.
57928         * manual/libc.texinfo: Include pkgvers.texi.
57929         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57930         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57931         (print_version): Use PKGVERSION.
57932         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57933         (print_version): Use PKGVERSION.
57934         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57935         (print_version): Use PKGVERSION.
57936         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57937         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57938         macro.
57939         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57940         (print_version): Use PKGVERSION.
57941         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57942         (print_version): Use PKGVERSION.
57943         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57944         and PKGVERSION.
57946         * timezone/checktab.awk: Update from tzcode 2012i.
57947         * timezone/ialloc.c: Likewise.
57948         * timezone/private.h: Likewise.
57949         * timezone/scheck.c: Likewise.
57950         * timezone/tzfile.h: Likewise.
57951         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57952         (TZVERSION): Hardcode tzcode version number.
57953         * timezone/zdump.c: Update from tzcode 2012i.
57954         * timezone/zic.c: Likewise.
57955         * timezone/version.h: New file.
57956         * timezone/README: Describe version.h.  Update upstream location.
57958         [BZ #14824]
57959         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57960         (mktemp): Enable declaration.
57961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57964         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57965         Likewise.
57966         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57967         Likewise.
57968         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57969         Likewise.
57970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57971         Likewise.
57972         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57973         Likewise.
57974         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57975         Likewise.
57977         [BZ #14821]
57978         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57979         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57980         for copies of such integer values.
57981         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57982         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57984 2012-11-09  Andreas Jaeger  <aj@suse.de>
57986         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57987         definitions and declarations that are provided by
57988         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57990 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57992         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57993         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57994         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57995         definition.
57997 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57999         * elf/elf.h: Update comment before AArch64 relocations.
58001 2012-11-07  David S. Miller  <davem@davemloft.net>
58003         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58004         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58005         (__start_context): Declare.
58006         (__makecontext_ret): Delete.
58007         (__makecontext): Hook up __start_context instead of
58008         __makecontext_ret.
58009         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58010         (sysdep_routines): Add __start_context when in stdlib.
58012 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58014         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58015         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58016         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58017         hardcoded "nm".
58018         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58019         (READELF): New variable.  Use it instead of hardcoded "readelf".
58021 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58023         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58024         * sysdeps/x86/Makefile: Here.
58025         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58026         * sysdeps/x86/tst-xmmymm.sh: This.
58028 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58030         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58031         expectations.
58032         [UNIX98] (pthread_barrier_t): Do not expect.
58033         [UNIX98] (pthread_barrierattr_t): Likewise.
58034         [UNIX98] (pthread_spinlock_t): Likewise.
58035         [UNIX98] (pthread_barrier_destroy): Likewise.
58036         [UNIX98] (pthread_barrier_init): Likewise.
58037         [UNIX98] (pthread_barrier_wait): Likewise.
58038         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58039         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58040         [UNIX98] (pthread_barrierattr_init): Likewise.
58041         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58042         [UNIX98] (pthread_getcpuclockid): Likewise.
58043         [UNIX98] (pthread_mutex_timedlock): Likewise.
58044         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58045         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58046         [UNIX98] (pthread_sigmask): Likewise.
58047         [UNIX98] (pthread_spin_destroy): Likewise.
58048         [UNIX98] (pthread_spin_init): Likewise.
58049         [UNIX98] (pthread_spin_lock): Likewise.
58050         [UNIX98] (pthread_spin_trylock): Likewise.
58051         [UNIX98] (pthread_spin_unlock): Likewise.
58052         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58053         Do not expect.
58054         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58055         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58056         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58057         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58058         [XPG3 || XPG4] (pthread_key_t): Likewise.
58059         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58060         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58061         [XPG3 || XPG4] (pthread_once_t): Likewise.
58062         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58063         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58064         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58065         [XPG3 || XPG4] (pthread_t): Likewise.
58067         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58068         not expect.
58069         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58071         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58072         Change function return type to int.
58074         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58075         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58076         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58077         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58078         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58079         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58080         [!POSIX] (posix_madvise): Likewise.
58081         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58082         && !UNIX98].
58083         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58084         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58085         (mode_t): Likewise.
58086         (posix_mem_offset): Likewise.
58087         (posix_typed_mem_get_info): Likewise.
58088         (posix_typed_mem_open): Likewise.
58090         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58091         Change condition to [XOPEN2K8].
58093         * conform/conformtest.pl: Preprocess allow-header data with -x c
58094         instead of from stdin.
58095         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58096         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58097         [C99-based standards] (cerfc): Likewise.
58098         [C99-based standards] (cexp2): Likewise.
58099         [C99-based standards] (cexpm1): Likewise.
58100         [C99-based standards] (clog10): Likewise.
58101         [C99-based standards] (clog1p): Likewise.
58102         [C99-based standards] (clog2): Likewise.
58103         [C99-based standards] (clgamma): Likewise.
58104         [C99-based standards] (ctgamma): Likewise.
58105         [C99-based standards] (cerff): Likewise.
58106         [C99-based standards] (cerfcf): Likewise.
58107         [C99-based standards] (cexp2f): Likewise.
58108         [C99-based standards] (cexpm1f): Likewise.
58109         [C99-based standards] (clog10f): Likewise.
58110         [C99-based standards] (clog1pf): Likewise.
58111         [C99-based standards] (clog2f): Likewise.
58112         [C99-based standards] (clgammaf): Likewise.
58113         [C99-based standards] (ctgammaf): Likewise.
58114         [C99-based standards] (cerfl): Likewise.
58115         [C99-based standards] (cerfcl): Likewise.
58116         [C99-based standards] (cexp2l): Likewise.
58117         [C99-based standards] (cexpm1l): Likewise.
58118         [C99-based standards] (clog10l): Likewise.
58119         [C99-based standards] (clog1pl): Likewise.
58120         [C99-based standards] (clog2l): Likewise.
58121         [C99-based standards] (clgammal): Likewise.
58122         [C99-based standards] (ctgammal): Likewise.
58123         * conform/data/inttypes.h-data [C99-based standards]: Include
58124         stdint.h-data.  Remove all expectations for stdint.h contents.
58125         [C99-based standards] (PRI*): Do not allow.
58126         [C99-based standards] (SCN*): Likewise.
58127         [C99-based standards] (*_t): Likewise.
58128         [C99-based-standards] (PRId8): Expect macro.
58129         [C99-based-standards] (PRIi8): Likewise.
58130         [C99-based-standards] (PRIo8): Likewise.
58131         [C99-based-standards] (PRIu8): Likewise.
58132         [C99-based-standards] (PRIx8): Likewise.
58133         [C99-based-standards] (PRIX8): Likewise.
58134         [C99-based-standards] (SCNd8): Likewise.
58135         [C99-based-standards] (SCNi8): Likewise.
58136         [C99-based-standards] (SCNo8): Likewise.
58137         [C99-based-standards] (SCNu8): Likewise.
58138         [C99-based-standards] (SCNx8): Likewise.
58139         [C99-based-standards] (PRIdLEAST8): Likewise.
58140         [C99-based-standards] (PRIiLEAST8): Likewise.
58141         [C99-based-standards] (PRIoLEAST8): Likewise.
58142         [C99-based-standards] (PRIuLEAST8): Likewise.
58143         [C99-based-standards] (PRIxLEAST8): Likewise.
58144         [C99-based-standards] (PRIXLEAST8): Likewise.
58145         [C99-based-standards] (SCNdLEAST8): Likewise.
58146         [C99-based-standards] (SCNiLEAST8): Likewise.
58147         [C99-based-standards] (SCNoLEAST8): Likewise.
58148         [C99-based-standards] (SCNuLEAST8): Likewise.
58149         [C99-based-standards] (SCNxLEAST8): Likewise.
58150         [C99-based-standards] (PRIdFAST8): Likewise.
58151         [C99-based-standards] (PRIiFAST8): Likewise.
58152         [C99-based-standards] (PRIoFAST8): Likewise.
58153         [C99-based-standards] (PRIuFAST8): Likewise.
58154         [C99-based-standards] (PRIxFAST8): Likewise.
58155         [C99-based-standards] (PRIXFAST8): Likewise.
58156         [C99-based-standards] (SCNdFAST8): Likewise.
58157         [C99-based-standards] (SCNiFAST8): Likewise.
58158         [C99-based-standards] (SCNoFAST8): Likewise.
58159         [C99-based-standards] (SCNuFAST8): Likewise.
58160         [C99-based-standards] (SCNxFAST8): Likewise.
58161         [C99-based-standards] (PRId16): Likewise.
58162         [C99-based-standards] (PRIi16): Likewise.
58163         [C99-based-standards] (PRIo16): Likewise.
58164         [C99-based-standards] (PRIu16): Likewise.
58165         [C99-based-standards] (PRIx16): Likewise.
58166         [C99-based-standards] (PRIX16): Likewise.
58167         [C99-based-standards] (SCNd16): Likewise.
58168         [C99-based-standards] (SCNi16): Likewise.
58169         [C99-based-standards] (SCNo16): Likewise.
58170         [C99-based-standards] (SCNu16): Likewise.
58171         [C99-based-standards] (SCNx16): Likewise.
58172         [C99-based-standards] (PRIdLEAST16): Likewise.
58173         [C99-based-standards] (PRIiLEAST16): Likewise.
58174         [C99-based-standards] (PRIoLEAST16): Likewise.
58175         [C99-based-standards] (PRIuLEAST16): Likewise.
58176         [C99-based-standards] (PRIxLEAST16): Likewise.
58177         [C99-based-standards] (PRIXLEAST16): Likewise.
58178         [C99-based-standards] (SCNdLEAST16): Likewise.
58179         [C99-based-standards] (SCNiLEAST16): Likewise.
58180         [C99-based-standards] (SCNoLEAST16): Likewise.
58181         [C99-based-standards] (SCNuLEAST16): Likewise.
58182         [C99-based-standards] (SCNxLEAST16): Likewise.
58183         [C99-based-standards] (PRIdFAST16): Likewise.
58184         [C99-based-standards] (PRIiFAST16): Likewise.
58185         [C99-based-standards] (PRIoFAST16): Likewise.
58186         [C99-based-standards] (PRIuFAST16): Likewise.
58187         [C99-based-standards] (PRIxFAST16): Likewise.
58188         [C99-based-standards] (PRIXFAST16): Likewise.
58189         [C99-based-standards] (SCNdFAST16): Likewise.
58190         [C99-based-standards] (SCNiFAST16): Likewise.
58191         [C99-based-standards] (SCNoFAST16): Likewise.
58192         [C99-based-standards] (SCNuFAST16): Likewise.
58193         [C99-based-standards] (SCNxFAST16): Likewise.
58194         [C99-based-standards] (PRId32): Likewise.
58195         [C99-based-standards] (PRIi32): Likewise.
58196         [C99-based-standards] (PRIo32): Likewise.
58197         [C99-based-standards] (PRIu32): Likewise.
58198         [C99-based-standards] (PRIx32): Likewise.
58199         [C99-based-standards] (PRIX32): Likewise.
58200         [C99-based-standards] (SCNd32): Likewise.
58201         [C99-based-standards] (SCNi32): Likewise.
58202         [C99-based-standards] (SCNo32): Likewise.
58203         [C99-based-standards] (SCNu32): Likewise.
58204         [C99-based-standards] (SCNx32): Likewise.
58205         [C99-based-standards] (PRIdLEAST32): Likewise.
58206         [C99-based-standards] (PRIiLEAST32): Likewise.
58207         [C99-based-standards] (PRIoLEAST32): Likewise.
58208         [C99-based-standards] (PRIuLEAST32): Likewise.
58209         [C99-based-standards] (PRIxLEAST32): Likewise.
58210         [C99-based-standards] (PRIXLEAST32): Likewise.
58211         [C99-based-standards] (SCNdLEAST32): Likewise.
58212         [C99-based-standards] (SCNiLEAST32): Likewise.
58213         [C99-based-standards] (SCNoLEAST32): Likewise.
58214         [C99-based-standards] (SCNuLEAST32): Likewise.
58215         [C99-based-standards] (SCNxLEAST32): Likewise.
58216         [C99-based-standards] (PRIdFAST32): Likewise.
58217         [C99-based-standards] (PRIiFAST32): Likewise.
58218         [C99-based-standards] (PRIoFAST32): Likewise.
58219         [C99-based-standards] (PRIuFAST32): Likewise.
58220         [C99-based-standards] (PRIxFAST32): Likewise.
58221         [C99-based-standards] (PRIXFAST32): Likewise.
58222         [C99-based-standards] (SCNdFAST32): Likewise.
58223         [C99-based-standards] (SCNiFAST32): Likewise.
58224         [C99-based-standards] (SCNoFAST32): Likewise.
58225         [C99-based-standards] (SCNuFAST32): Likewise.
58226         [C99-based-standards] (SCNxFAST32): Likewise.
58227         [C99-based-standards] (PRId64): Likewise.
58228         [C99-based-standards] (PRIi64): Likewise.
58229         [C99-based-standards] (PRIo64): Likewise.
58230         [C99-based-standards] (PRIu64): Likewise.
58231         [C99-based-standards] (PRIx64): Likewise.
58232         [C99-based-standards] (PRIX64): Likewise.
58233         [C99-based-standards] (SCNd64): Likewise.
58234         [C99-based-standards] (SCNi64): Likewise.
58235         [C99-based-standards] (SCNo64): Likewise.
58236         [C99-based-standards] (SCNu64): Likewise.
58237         [C99-based-standards] (SCNx64): Likewise.
58238         [C99-based-standards] (PRIdLEAST64): Likewise.
58239         [C99-based-standards] (PRIiLEAST64): Likewise.
58240         [C99-based-standards] (PRIoLEAST64): Likewise.
58241         [C99-based-standards] (PRIuLEAST64): Likewise.
58242         [C99-based-standards] (PRIxLEAST64): Likewise.
58243         [C99-based-standards] (PRIXLEAST64): Likewise.
58244         [C99-based-standards] (SCNdLEAST64): Likewise.
58245         [C99-based-standards] (SCNiLEAST64): Likewise.
58246         [C99-based-standards] (SCNoLEAST64): Likewise.
58247         [C99-based-standards] (SCNuLEAST64): Likewise.
58248         [C99-based-standards] (SCNxLEAST64): Likewise.
58249         [C99-based-standards] (PRIdFAST64): Likewise.
58250         [C99-based-standards] (PRIiFAST64): Likewise.
58251         [C99-based-standards] (PRIoFAST64): Likewise.
58252         [C99-based-standards] (PRIuFAST64): Likewise.
58253         [C99-based-standards] (PRIxFAST64): Likewise.
58254         [C99-based-standards] (PRIXFAST64): Likewise.
58255         [C99-based-standards] (SCNdFAST64): Likewise.
58256         [C99-based-standards] (SCNiFAST64): Likewise.
58257         [C99-based-standards] (SCNoFAST64): Likewise.
58258         [C99-based-standards] (SCNuFAST64): Likewise.
58259         [C99-based-standards] (SCNxFAST64): Likewise.
58260         [C99-based-standards] (PRIdMAX): Likewise.
58261         [C99-based-standards] (PRIiMAX): Likewise.
58262         [C99-based-standards] (PRIoMAX): Likewise.
58263         [C99-based-standards] (PRIuMAX): Likewise.
58264         [C99-based-standards] (PRIxMAX): Likewise.
58265         [C99-based-standards] (PRIXMAX): Likewise.
58266         [C99-based-standards] (SCNdMAX): Likewise.
58267         [C99-based-standards] (SCNiMAX): Likewise.
58268         [C99-based-standards] (SCNoMAX): Likewise.
58269         [C99-based-standards] (SCNuMAX): Likewise.
58270         [C99-based-standards] (SCNxMAX): Likewise.
58271         [C99-based-standards] (PRIdPTR): Likewise.
58272         [C99-based-standards] (PRIiPTR): Likewise.
58273         [C99-based-standards] (PRIoPTR): Likewise.
58274         [C99-based-standards] (PRIuPTR): Likewise.
58275         [C99-based-standards] (PRIxPTR): Likewise.
58276         [C99-based-standards] (PRIXPTR): Likewise.
58277         [C99-based-standards] (SCNdPTR): Likewise.
58278         [C99-based-standards] (SCNiPTR): Likewise.
58279         [C99-based-standards] (SCNoPTR): Likewise.
58280         [C99-based-standards] (SCNuPTR): Likewise.
58281         [C99-based-standards] (SCNxPTR): Likewise.
58282         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58283         allow.
58284         * conform/data/stdint.h-data: Update comments to clarify
58285         requirements.
58286         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58287         type.
58288         [C99-based standards] (INT8_MAX): Likewise.
58289         [C99-based standards] (INT16_MIN): Likewise.
58290         [C99-based standards] (INT16_MAX): Likewise.
58291         [C99-based standards] (INT32_MIN): Likewise.
58292         [C99-based standards] (INT32_MAX): Likewise.
58293         [C99-based standards] (INT64_MIN): Likewise.
58294         [C99-based standards] (INT64_MAX): Likewise.
58295         [C99-based standards] (UINT8_MAX): Likewise.
58296         [C99-based standards] (UINT16_MAX): Likewise.
58297         [C99-based standards] (UINT32_MAX): Likewise.
58298         [C99-based standards] (UINT64_MAX): Likewise.
58299         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58300         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58301         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58302         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58303         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58304         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58305         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58306         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58307         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58308         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58309         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58310         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58311         [C99-based standards] (INT_FAST8_MIN): Likewise.
58312         [C99-based standards] (INT_FAST8_MAX): Likewise.
58313         [C99-based standards] (INT_FAST16_MIN): Likewise.
58314         [C99-based standards] (INT_FAST16_MAX): Likewise.
58315         [C99-based standards] (INT_FAST32_MIN): Likewise.
58316         [C99-based standards] (INT_FAST32_MAX): Likewise.
58317         [C99-based standards] (INT_FAST64_MIN): Likewise.
58318         [C99-based standards] (INT_FAST64_MAX): Likewise.
58319         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58320         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58321         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58322         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58323         [C99-based standards] (INTPTR_MIN): Likewise.
58324         [C99-based standards] (INTPTR_MAX): Likewise.
58325         [C99-based standards] (UINTPTR_MAX): Likewise.
58326         [C99-based standards] (INTMAX_MIN): Likewise.
58327         [C99-based standards] (INTMAX_MAX): Likewise.
58328         [C99-based standards] (UINTMAX_MAX): Likewise.
58329         [C99-based standards] (PTRDIFF_MIN): Likewise.
58330         [C99-based standards] (PTRDIFF_MAX): Likewise.
58331         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58332         [C99-based standards] (SIZE_MAX): Likewise.
58333         [C99-based standards] (WCHAR_MAX): Likewise.
58334         [C99-based standards] (WINT_MAX): Likewise.
58335         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58336         constraint on value.
58337         [C99-based standards] (WCHAR_MIN): Likewise.
58338         [C99-based standards] (WINT_MIN): Likewise.
58339         [C99-based standards] (*_t): Allow.
58340         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58341         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58342         Include math.h-data and complex.h-data.  Remove all expectations
58343         of math.h and complex.h contents.
58344         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58345         at end of line.
58346         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58347         (struct tm): Expect tag.
58348         [C99-based-standards] (wcstof): Expect function.
58349         [C99-based-standards] (wcstold): Likewise.
58350         [C99-based-standards] (wcstoll): Likewise.
58351         [C99-based-standards] (wcstoull): Likewise.
58352         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58353         macro-int-constant.  Specify type.
58354         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58355         constraint on value.
58356         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58357         Specify type.
58358         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58359         Specify value.
58360         [ISO C standards]: Do not allow headers.
58361         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58362         wcs[abcdefghijklmnopqrstuvwxyz]*.
58363         [ISO C standards] (*_t): Do not allow.
58364         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58365         Expect function.
58366         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58367         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58368         Specify type.
58369         [ISO C standards]: Do not allow headers.
58370         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58371         is[abcdefghijklmnopqrstuvwxyz]*.
58372         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58373         to[abcdefghijklmnopqrstuvwxyz]*.
58374         [ISO C standards] (*_t): Do not allow.
58375         * conform/data/stdalign.h-data: New file.
58376         * conform/data/stdbool.h-data: Likewise.
58377         * conform/data/stdnoreturn.h-data: Likewise.
58379 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58381         [BZ #14815]
58382         * manual/filesys.texi (Directory Entries): Typo fix.
58383         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58385 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58387         * elf/elf.h (EM_AARCH64): New macro.
58388         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58389         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58390         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58391         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58392         (R_AARCH64_TLSDESC): Likewise.
58393         (NT_ARM_TLS): Likewise.
58394         (NT_ARM_HW_BREAK): Likewise.
58395         (NT_ARM_HW_WATCH): Likewise.
58397 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58399         [BZ #14811]
58400         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58401         (__ieee754_powl): Saturate nonzero exponents with absolute value
58402         below 0x1p-79 to +/- 0x1p-79.
58403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58404         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58405         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58406         nonzero exponents with absolute value below 0x1p-32 to +/-
58407         0x1p-32.
58408         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58409         (__ieee754_powl): Saturate nonzero exponents with absolute value
58410         below 0x1p-79 to +/- 0x1p-79.
58411         * math/libm-test.inc (pow_test): Add more tests.
58413 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58415         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58416         _dl_s390_cap_flags with kernel. Increase string length.
58417         (_dl_s390_platforms): Add z196 and zEC12.
58419 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58421         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58422         Change XOPEN21K to XOPEN2K.
58424 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58426         * string/memmove.c: Use memcpy when possible.
58428 2012-11-06  Andreas Jaeger  <aj@suse.de>
58430         * po/eo.po: Update from translation team.
58432 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58434         [BZ #14793]
58435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58436         exponent and small x and y exponents, scale x or y up.  Increase
58437         by 2 the exponent used in scaling up.
58438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58440         * math/libm-test.inc (fma_test): Add more tests.
58441         (fma_test_towardzero): Likewise.
58442         (fma_test_downward): Likewise.
58443         (fma_test_upward): Likewise.
58445 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58447         [BZ #14805]
58448         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58449         fenv_t *.
58451         [BZ #14801]
58452         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58453         namespace for names of struct fields.
58454         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58455         fenv_t fields.
58456         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58457         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58459 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58461         [BZ #3665]
58462         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58464 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58466         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58467         PTR_DEMANGLE.
58469         [BZ #5246]
58470         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58471         PTR_DEMANGLE.
58473 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58475         [BZ #14797]
58476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58477         definitely overflow as x * y not x * y + z.
58478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58480         * math/libm-test.inc (fma_test): Add more tests.
58481         (fma_test_towardzero): Likewise.
58482         (fma_test_downward): Likewise.
58483         (fma_test_upward): Likewise.
58485 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58487         [BZ #157]
58489         * include/stub-tag.h: Remove file.
58490         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58491         '#include' of it.
58492         * manual/maint.texi (Porting): Don't reference it.
58493         * Makerules ($(objpfx)stubs): Likewise.
58494         * dirent/closedir.c: Don't include <stub-tag.h>.
58495         * dirent/dirfd.c: Likewise.
58496         * dirent/fdopendir.c: Likewise.
58497         * dirent/getdents.c: Likewise.
58498         * dirent/getdents64.c: Likewise.
58499         * dirent/opendir.c: Likewise.
58500         * dirent/readdir.c: Likewise.
58501         * dirent/readdir64.c: Likewise.
58502         * dirent/readdir64_r.c: Likewise.
58503         * dirent/readdir_r.c: Likewise.
58504         * dirent/rewinddir.c: Likewise.
58505         * dirent/seekdir.c: Likewise.
58506         * dirent/telldir.c: Likewise.
58507         * gmon/profil.c: Likewise.
58508         * grp/setgroups.c: Likewise.
58509         * inet/if_index.c: Likewise.
58510         * io/access.c: Likewise.
58511         * io/chdir.c: Likewise.
58512         * io/chmod.c: Likewise.
58513         * io/chown.c: Likewise.
58514         * io/close.c: Likewise.
58515         * io/dup.c: Likewise.
58516         * io/dup2.c: Likewise.
58517         * io/dup3.c: Likewise.
58518         * io/euidaccess.c: Likewise.
58519         * io/faccessat.c: Likewise.
58520         * io/fchdir.c: Likewise.
58521         * io/fchmod.c: Likewise.
58522         * io/fchmodat.c: Likewise.
58523         * io/fchown.c: Likewise.
58524         * io/fchownat.c: Likewise.
58525         * io/fcntl.c: Likewise.
58526         * io/flock.c: Likewise.
58527         * io/fstatfs.c: Likewise.
58528         * io/fstatfs64.c: Likewise.
58529         * io/fstatvfs.c: Likewise.
58530         * io/fstatvfs64.c: Likewise.
58531         * io/futimens.c: Likewise.
58532         * io/fxstat.c: Likewise.
58533         * io/fxstat64.c: Likewise.
58534         * io/fxstatat.c: Likewise.
58535         * io/fxstatat64.c: Likewise.
58536         * io/getcwd.c: Likewise.
58537         * io/isatty.c: Likewise.
58538         * io/lchmod.c: Likewise.
58539         * io/lchown.c: Likewise.
58540         * io/link.c: Likewise.
58541         * io/linkat.c: Likewise.
58542         * io/lseek.c: Likewise.
58543         * io/lseek64.c: Likewise.
58544         * io/lxstat64.c: Likewise.
58545         * io/mkdir.c: Likewise.
58546         * io/mkdirat.c: Likewise.
58547         * io/mkfifo.c: Likewise.
58548         * io/mkfifoat.c: Likewise.
58549         * io/open.c: Likewise.
58550         * io/open64.c: Likewise.
58551         * io/openat.c: Likewise.
58552         * io/openat64.c: Likewise.
58553         * io/pipe.c: Likewise.
58554         * io/pipe2.c: Likewise.
58555         * io/poll.c: Likewise.
58556         * io/posix_fadvise.c: Likewise.
58557         * io/posix_fadvise64.c: Likewise.
58558         * io/posix_fallocate.c: Likewise.
58559         * io/posix_fallocate64.c: Likewise.
58560         * io/read.c: Likewise.
58561         * io/readlink.c: Likewise.
58562         * io/readlinkat.c: Likewise.
58563         * io/rmdir.c: Likewise.
58564         * io/sendfile.c: Likewise.
58565         * io/sendfile64.c: Likewise.
58566         * io/statfs.c: Likewise.
58567         * io/statfs64.c: Likewise.
58568         * io/statvfs.c: Likewise.
58569         * io/statvfs64.c: Likewise.
58570         * io/symlink.c: Likewise.
58571         * io/symlinkat.c: Likewise.
58572         * io/ttyname.c: Likewise.
58573         * io/ttyname_r.c: Likewise.
58574         * io/umask.c: Likewise.
58575         * io/unlink.c: Likewise.
58576         * io/unlinkat.c: Likewise.
58577         * io/utime.c: Likewise.
58578         * io/utimensat.c: Likewise.
58579         * io/write.c: Likewise.
58580         * io/xmknod.c: Likewise.
58581         * io/xmknodat.c: Likewise.
58582         * io/xstat.c: Likewise.
58583         * io/xstat64.c: Likewise.
58584         * login/getpt.c: Likewise.
58585         * login/grantpt.c: Likewise.
58586         * login/unlockpt.c: Likewise.
58587         * math/e_acoshl.c: Likewise.
58588         * math/e_acosl.c: Likewise.
58589         * math/e_asinl.c: Likewise.
58590         * math/e_atan2l.c: Likewise.
58591         * math/e_atanhl.c: Likewise.
58592         * math/e_coshl.c: Likewise.
58593         * math/e_expl.c: Likewise.
58594         * math/e_fmodl.c: Likewise.
58595         * math/e_gammal_r.c: Likewise.
58596         * math/e_hypotl.c: Likewise.
58597         * math/e_j0l.c: Likewise.
58598         * math/e_j1l.c: Likewise.
58599         * math/e_jnl.c: Likewise.
58600         * math/e_lgammal_r.c: Likewise.
58601         * math/e_log10l.c: Likewise.
58602         * math/e_log2l.c: Likewise.
58603         * math/e_logl.c: Likewise.
58604         * math/e_powl.c: Likewise.
58605         * math/e_rem_pio2l.c: Likewise.
58606         * math/e_sinhl.c: Likewise.
58607         * math/e_sqrtl.c: Likewise.
58608         * math/fclrexcpt.c: Likewise.
58609         * math/fedisblxcpt.c: Likewise.
58610         * math/feenablxcpt.c: Likewise.
58611         * math/fegetenv.c: Likewise.
58612         * math/fegetexcept.c: Likewise.
58613         * math/fegetround.c: Likewise.
58614         * math/feholdexcpt.c: Likewise.
58615         * math/fesetenv.c: Likewise.
58616         * math/fesetround.c: Likewise.
58617         * math/feupdateenv.c: Likewise.
58618         * math/fgetexcptflg.c: Likewise.
58619         * math/fraiseexcpt.c: Likewise.
58620         * math/fsetexcptflg.c: Likewise.
58621         * math/ftestexcept.c: Likewise.
58622         * math/k_cosl.c: Likewise.
58623         * math/k_rem_pio2l.c: Likewise.
58624         * math/k_sinl.c: Likewise.
58625         * math/k_tanl.c: Likewise.
58626         * math/s_asinhl.c: Likewise.
58627         * math/s_atanl.c: Likewise.
58628         * math/s_cbrtl.c: Likewise.
58629         * math/s_erfl.c: Likewise.
58630         * math/s_expm1l.c: Likewise.
58631         * math/s_log1pl.c: Likewise.
58632         * math/s_tanhl.c: Likewise.
58633         * misc/acct.c: Likewise.
58634         * misc/brk.c: Likewise.
58635         * misc/chflags.c: Likewise.
58636         * misc/chroot.c: Likewise.
58637         * misc/fchflags.c: Likewise.
58638         * misc/fgetxattr.c: Likewise.
58639         * misc/flistxattr.c: Likewise.
58640         * misc/fremovexattr.c: Likewise.
58641         * misc/fsetxattr.c: Likewise.
58642         * misc/fsync.c: Likewise.
58643         * misc/ftruncate.c: Likewise.
58644         * misc/futimes.c: Likewise.
58645         * misc/futimesat.c: Likewise.
58646         * misc/getdomain.c: Likewise.
58647         * misc/getdtsz.c: Likewise.
58648         * misc/gethostid.c: Likewise.
58649         * misc/gethostname.c: Likewise.
58650         * misc/getloadavg.c: Likewise.
58651         * misc/getpagesize.c: Likewise.
58652         * misc/getsysstats.c: Likewise.
58653         * misc/getxattr.c: Likewise.
58654         * misc/gtty.c: Likewise.
58655         * misc/ioctl.c: Likewise.
58656         * misc/lgetxattr.c: Likewise.
58657         * misc/listxattr.c: Likewise.
58658         * misc/llistxattr.c: Likewise.
58659         * misc/lremovexattr.c: Likewise.
58660         * misc/lsetxattr.c: Likewise.
58661         * misc/lutimes.c: Likewise.
58662         * misc/madvise.c: Likewise.
58663         * misc/mincore.c: Likewise.
58664         * misc/mlock.c: Likewise.
58665         * misc/mlockall.c: Likewise.
58666         * misc/mmap.c: Likewise.
58667         * misc/mprotect.c: Likewise.
58668         * misc/msync.c: Likewise.
58669         * misc/munlock.c: Likewise.
58670         * misc/munlockall.c: Likewise.
58671         * misc/munmap.c: Likewise.
58672         * misc/preadv.c: Likewise.
58673         * misc/preadv64.c: Likewise.
58674         * misc/ptrace.c: Likewise.
58675         * misc/pwritev.c: Likewise.
58676         * misc/pwritev64.c: Likewise.
58677         * misc/readv.c: Likewise.
58678         * misc/reboot.c: Likewise.
58679         * misc/remap_file_pages.c: Likewise.
58680         * misc/removexattr.c: Likewise.
58681         * misc/revoke.c: Likewise.
58682         * misc/select.c: Likewise.
58683         * misc/setdomain.c: Likewise.
58684         * misc/setegid.c: Likewise.
58685         * misc/seteuid.c: Likewise.
58686         * misc/sethostid.c: Likewise.
58687         * misc/sethostname.c: Likewise.
58688         * misc/setregid.c: Likewise.
58689         * misc/setreuid.c: Likewise.
58690         * misc/setxattr.c: Likewise.
58691         * misc/sstk.c: Likewise.
58692         * misc/stty.c: Likewise.
58693         * misc/swapoff.c: Likewise.
58694         * misc/swapon.c: Likewise.
58695         * misc/sync.c: Likewise.
58696         * misc/syncfs.c: Likewise.
58697         * misc/syscall.c: Likewise.
58698         * misc/truncate.c: Likewise.
58699         * misc/ualarm.c: Likewise.
58700         * misc/usleep.c: Likewise.
58701         * misc/ustat.c: Likewise.
58702         * misc/utimes.c: Likewise.
58703         * misc/vhangup.c: Likewise.
58704         * misc/writev.c: Likewise.
58705         * posix/_exit.c: Likewise.
58706         * posix/alarm.c: Likewise.
58707         * posix/execve.c: Likewise.
58708         * posix/fexecve.c: Likewise.
58709         * posix/fork.c: Likewise.
58710         * posix/fpathconf.c: Likewise.
58711         * posix/getaddrinfo.c: Likewise.
58712         * posix/getegid.c: Likewise.
58713         * posix/geteuid.c: Likewise.
58714         * posix/getgid.c: Likewise.
58715         * posix/getgroups.c: Likewise.
58716         * posix/getlogin.c: Likewise.
58717         * posix/getlogin_r.c: Likewise.
58718         * posix/getpgid.c: Likewise.
58719         * posix/getpid.c: Likewise.
58720         * posix/getppid.c: Likewise.
58721         * posix/getresgid.c: Likewise.
58722         * posix/getresuid.c: Likewise.
58723         * posix/getsid.c: Likewise.
58724         * posix/getuid.c: Likewise.
58725         * posix/glob64.c: Likewise.
58726         * posix/nanosleep.c: Likewise.
58727         * posix/pathconf.c: Likewise.
58728         * posix/pause.c: Likewise.
58729         * posix/posix_madvise.c: Likewise.
58730         * posix/pread.c: Likewise.
58731         * posix/pread64.c: Likewise.
58732         * posix/pwrite.c: Likewise.
58733         * posix/pwrite64.c: Likewise.
58734         * posix/sched_getaffinity.c: Likewise.
58735         * posix/sched_getp.c: Likewise.
58736         * posix/sched_gets.c: Likewise.
58737         * posix/sched_primax.c: Likewise.
58738         * posix/sched_primin.c: Likewise.
58739         * posix/sched_rr_gi.c: Likewise.
58740         * posix/sched_setaffinity.c: Likewise.
58741         * posix/sched_setp.c: Likewise.
58742         * posix/sched_sets.c: Likewise.
58743         * posix/sched_yield.c: Likewise.
58744         * posix/setgid.c: Likewise.
58745         * posix/setlogin.c: Likewise.
58746         * posix/setpgid.c: Likewise.
58747         * posix/setresgid.c: Likewise.
58748         * posix/setresuid.c: Likewise.
58749         * posix/setsid.c: Likewise.
58750         * posix/setuid.c: Likewise.
58751         * posix/sleep.c: Likewise.
58752         * posix/spawni.c: Likewise.
58753         * posix/sysconf.c: Likewise.
58754         * posix/times.c: Likewise.
58755         * posix/wait.c: Likewise.
58756         * posix/wait3.c: Likewise.
58757         * posix/wait4.c: Likewise.
58758         * posix/waitpid.c: Likewise.
58759         * resolv/gai_sigqueue.c: Likewise.
58760         * resource/getpriority.c: Likewise.
58761         * resource/getrlimit.c: Likewise.
58762         * resource/getrusage.c: Likewise.
58763         * resource/nice.c: Likewise.
58764         * resource/setpriority.c: Likewise.
58765         * resource/setrlimit.c: Likewise.
58766         * resource/ulimit.c: Likewise.
58767         * rt/aio_cancel.c: Likewise.
58768         * rt/aio_fsync.c: Likewise.
58769         * rt/aio_read.c: Likewise.
58770         * rt/aio_sigqueue.c: Likewise.
58771         * rt/aio_suspend.c: Likewise.
58772         * rt/aio_write.c: Likewise.
58773         * rt/clock_getres.c: Likewise.
58774         * rt/clock_gettime.c: Likewise.
58775         * rt/clock_nanosleep.c: Likewise.
58776         * rt/clock_settime.c: Likewise.
58777         * rt/lio_listio.c: Likewise.
58778         * rt/mq_close.c: Likewise.
58779         * rt/mq_getattr.c: Likewise.
58780         * rt/mq_notify.c: Likewise.
58781         * rt/mq_open.c: Likewise.
58782         * rt/mq_receive.c: Likewise.
58783         * rt/mq_send.c: Likewise.
58784         * rt/mq_setattr.c: Likewise.
58785         * rt/mq_timedreceive.c: Likewise.
58786         * rt/mq_timedsend.c: Likewise.
58787         * rt/mq_unlink.c: Likewise.
58788         * rt/shm_open.c: Likewise.
58789         * rt/shm_unlink.c: Likewise.
58790         * rt/timer_create.c: Likewise.
58791         * rt/timer_delete.c: Likewise.
58792         * rt/timer_getoverr.c: Likewise.
58793         * rt/timer_gettime.c: Likewise.
58794         * rt/timer_settime.c: Likewise.
58795         * setjmp/__longjmp.c: Likewise.
58796         * setjmp/setjmp.c: Likewise.
58797         * signal/kill.c: Likewise.
58798         * signal/killpg.c: Likewise.
58799         * signal/raise.c: Likewise.
58800         * signal/sigaction.c: Likewise.
58801         * signal/sigaltstack.c: Likewise.
58802         * signal/sigblock.c: Likewise.
58803         * signal/sigignore.c: Likewise.
58804         * signal/sigintr.c: Likewise.
58805         * signal/signal.c: Likewise.
58806         * signal/sigpause.c: Likewise.
58807         * signal/sigpending.c: Likewise.
58808         * signal/sigqueue.c: Likewise.
58809         * signal/sigreturn.c: Likewise.
58810         * signal/sigset.c: Likewise.
58811         * signal/sigsetmask.c: Likewise.
58812         * signal/sigstack.c: Likewise.
58813         * signal/sigsuspend.c: Likewise.
58814         * signal/sigtimedwait.c: Likewise.
58815         * signal/sigvec.c: Likewise.
58816         * signal/sigwait.c: Likewise.
58817         * signal/sigwaitinfo.c: Likewise.
58818         * signal/sysv_signal.c: Likewise.
58819         * socket/accept.c: Likewise.
58820         * socket/accept4.c: Likewise.
58821         * socket/bind.c: Likewise.
58822         * socket/connect.c: Likewise.
58823         * socket/getpeername.c: Likewise.
58824         * socket/getsockname.c: Likewise.
58825         * socket/getsockopt.c: Likewise.
58826         * socket/isfdtype.c: Likewise.
58827         * socket/listen.c: Likewise.
58828         * socket/recv.c: Likewise.
58829         * socket/recvfrom.c: Likewise.
58830         * socket/recvmsg.c: Likewise.
58831         * socket/send.c: Likewise.
58832         * socket/sendmsg.c: Likewise.
58833         * socket/sendto.c: Likewise.
58834         * socket/setsockopt.c: Likewise.
58835         * socket/shutdown.c: Likewise.
58836         * socket/sockatmark.c: Likewise.
58837         * socket/socket.c: Likewise.
58838         * socket/socketpair.c: Likewise.
58839         * stdio-common/ctermid.c: Likewise.
58840         * stdio-common/cuserid.c: Likewise.
58841         * stdio-common/remove.c: Likewise.
58842         * stdio-common/rename.c: Likewise.
58843         * stdio-common/renameat.c: Likewise.
58844         * stdio-common/tempname.c: Likewise.
58845         * stdlib/getcontext.c: Likewise.
58846         * stdlib/makecontext.c: Likewise.
58847         * stdlib/setcontext.c: Likewise.
58848         * stdlib/swapcontext.c: Likewise.
58849         * stdlib/system.c: Likewise.
58850         * streams/fattach.c: Likewise.
58851         * streams/fdetach.c: Likewise.
58852         * streams/getmsg.c: Likewise.
58853         * streams/getpmsg.c: Likewise.
58854         * streams/putmsg.c: Likewise.
58855         * streams/putpmsg.c: Likewise.
58856         * sysdeps/unix/bsd/getpt.c: Likewise.
58857         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58858         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58859         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58861         Likewise.
58862         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58863         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58864         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58865         * sysvipc/msgctl.c: Likewise.
58866         * sysvipc/msgget.c: Likewise.
58867         * sysvipc/msgrcv.c: Likewise.
58868         * sysvipc/msgsnd.c: Likewise.
58869         * sysvipc/semctl.c: Likewise.
58870         * sysvipc/semget.c: Likewise.
58871         * sysvipc/semop.c: Likewise.
58872         * sysvipc/semtimedop.c: Likewise.
58873         * sysvipc/shmat.c: Likewise.
58874         * sysvipc/shmctl.c: Likewise.
58875         * sysvipc/shmdt.c: Likewise.
58876         * sysvipc/shmget.c: Likewise.
58877         * termios/tcdrain.c: Likewise.
58878         * termios/tcflow.c: Likewise.
58879         * termios/tcflush.c: Likewise.
58880         * termios/tcgetattr.c: Likewise.
58881         * termios/tcgetpgrp.c: Likewise.
58882         * termios/tcsendbrk.c: Likewise.
58883         * termios/tcsetattr.c: Likewise.
58884         * termios/tcsetpgrp.c: Likewise.
58885         * time/adjtime.c: Likewise.
58886         * time/clock.c: Likewise.
58887         * time/getitimer.c: Likewise.
58888         * time/gettimeofday.c: Likewise.
58889         * time/setitimer.c: Likewise.
58890         * time/settimeofday.c: Likewise.
58891         * time/stime.c: Likewise.
58892         * time/time.c: Likewise.
58894 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58896         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58897         /usr/old/bin.
58899         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58900         instead of spaces.
58901         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58903 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58905         [BZ #14796]
58906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58907         FE_TONEAREST before applying Dekker multiplication and Knuth
58908         addition.  Clear inexact exceptions and check for exact zero
58909         results afterwards.
58910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58911         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58912         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58913         * math/libm-test.inc (fma_test): Add more tests.
58914         (fma_test_towardzero): Likewise.
58915         (fma_test_downward): Likewise.
58916         (fma_test_upward): Likewise.
58917         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58918         function.
58919         (libc_fesetround): New macro.
58920         (libc_fesetroundf): Likewise.
58921         (libc_fesetroundl): Likewise.
58922         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58923         function.
58924         (libc_fesetround_387): Likewise.
58925         (libc_fesetroundf): New macro.
58926         (libc_fesetround): Likewise.
58927         (libc_fesetroundl): Likewise.
58928         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58929         function.
58930         (libc_fesetroundf): New macro.
58931         (libc_fesetround): Likewise.
58932         (libc_fesetroundl): Likewise.
58933         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58934         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58935         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58936         libm_hidden_ver.
58937         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58938         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58939         libm_hidden_def.
58940         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58941         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58942         libm_hidden_ver.
58943         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58944         libm_hidden_def.
58946         [BZ #3439]
58947         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58948         integer constant usable in #if and use that to give value to enum
58949         constant.
58950         (FE_DIVBYZERO): Likewise.
58951         (FE_UNDERFLOW): Likewise.
58952         (FE_OVERFLOW): Likewise.
58953         (FE_INVALID): Likewise.
58954         (FE_INVALID_SNAN): Likewise.
58955         (FE_INVALID_ISI): Likewise.
58956         (FE_INVALID_IDI): Likewise.
58957         (FE_INVALID_ZDZ): Likewise.
58958         (FE_INVALID_IMZ): Likewise.
58959         (FE_INVALID_COMPARE): Likewise.
58960         (FE_INVALID_SOFTWARE): Likewise.
58961         (FE_INVALID_SQRT): Likewise.
58962         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58963         (FE_TONEAREST): Likewise.
58964         (FE_TOWARDZERO): Likewise.
58965         (FE_UPWARD): Likewise.
58966         (FE_DOWNWARD): Likewise.
58967         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58968         (FE_DIVBYZERO): Likewise.
58969         (FE_OVERFLOW): Likewise.
58970         (FE_UNDERFLOW): Likewise.
58971         (FE_INEXACT): Likewise.
58972         (FE_TONEAREST): Likewise.
58973         (FE_DOWNWARD): Likewise.
58974         (FE_UPWARD): Likewise.
58975         (FE_TOWARDZERO): Likewise.
58976         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58977         (FE_UNDERFLOW): Likewise.
58978         (FE_OVERFLOW): Likewise.
58979         (FE_DIVBYZERO): Likewise.
58980         (FE_INVALID): Likewise.
58981         (FE_TONEAREST): Likewise.
58982         (FE_TOWARDZERO): Likewise.
58983         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58984         (FE_OVERFLOW): Likewise.
58985         (FE_UNDERFLOW): Likewise.
58986         (FE_DIVBYZERO): Likewise.
58987         (FE_INEXACT): Likewise.
58988         (FE_TONEAREST): Likewise.
58989         (FE_TOWARDZERO): Likewise.
58990         (FE_UPWARD): Likewise.
58991         (FE_DOWNWARD): Likewise.
58992         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58993         (FE_DIVBYZERO): Likewise.
58994         (FE_OVERFLOW): Likewise.
58995         (FE_UNDERFLOW): Likewise.
58996         (FE_INEXACT): Likewise.
58997         (FE_TONEAREST): Likewise.
58998         (FE_DOWNWARD): Likewise.
58999         (FE_UPWARD): Likewise.
59000         (FE_TOWARDZERO): Likewise.
59002 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59004         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59006 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59008         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59009         commands.  Quote $PWD.
59010         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59011         -x" by "export".
59012         (remove_newlines): Remove.
59014 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59016         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59017         * stdlib/stdlib.h (atof): Moved to ...
59018         * include/bits/stdlib-float.h: Here.  New file.
59019         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59020         * stdlib/bits/stdlib-float.h: New file.
59021         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59022         -mno-sse -mno-mmx.
59023         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59024         <xmmintrin.h>.
59026 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59028         * conform/conformtest.pl (@headers): Add fenv.h.
59029         * conform/data/fenv.h-data: New file.
59030         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59031         include of <math/fenv.h>.
59033         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59034         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59035         && !UNIX98].  Enables tests for XOPEN2K8.
59036         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59037         POSIX2008]: Likewise.
59039         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59040         (struct rusage): Do not expect type or its members.
59042         [BZ #3439]
59043         * math/math.h (FP_NAN): Define macro to integer constant usable in
59044         #if and use that to give value to enum constant.
59045         (FP_INFINITE): Likewise.
59046         (FP_ZERO): Likewise.
59047         (FP_SUBNORMAL): Likewise.
59048         (FP_NORMAL): Likewise.
59050 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59052         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59053         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59054         arguments.
59056 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59058         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59059         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59060         autoconf-time if not.
59061         * configure.in: Remove AC_PREREQ.
59063 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59065         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59066         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59067         of the internal implementation.
59069 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59071         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59072         except include of <misc/sys/syslog.h>.
59074 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59077         function returns with a NULL context exit with zero.
59079 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59081         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59083 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59085         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59086         (run_program_cmd): This.
59087         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59088         (tst_langinfo): New variable.  Use it.
59090 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59092         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59093         floating point opcodes.
59095 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59097         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59098         variable.
59100         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59102         * sysdeps/mach/hurd/powerpc: Remove directory.
59103         * sysdeps/mach/powerpc: Likewise.
59105 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59107         * scripts/check-local-headers.sh: Ignore c++ headers.
59109 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59111         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59112         __libc_cleanup_region_start argument.
59114 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59116         [BZ #14784]
59117         [BZ #14785]
59118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59119         x * y using scaling, not as x * y + z.
59120         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59122         * math/libm-test.inc (fma_test): Add more tests.
59123         (fma_test_towardzero): Likewise.
59124         (fma_test_downward): Likewise.
59125         (fma_test_upward): Likewise.
59127 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59129         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59131 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59133         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59134         New variable.
59136 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59138         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59140 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59143         Fix sort order.
59144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59145         Likewise.
59147 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59150         Fix the order of the list for glibc 2.17.
59151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59152         Likewise.
59154 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59158 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59160         [BZ #14610]
59161         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59162         for low part of x being zero before using __atanl (y).
59163         * math/libm-test.inc (atan2_test): Add another test.
59165         * manual/install.texi (Configuring and compiling): Document
59166         general use of test-wrapper and test-wrapper-env.
59167         * INSTALL: Regenerated.
59169         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59170         (__fma): Do not extract and scale down low bits on after-rounding
59171         systems when result rounded to normal precision would have normal
59172         exponent.
59173         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59174         (__fmal): Do not extract and scale down low bits on after-rounding
59175         systems when result rounded to normal precision would have normal
59176         exponent.
59177         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59178         (__fmal): Do not extract and scale down low bits on after-rounding
59179         systems when result rounded to normal precision would have normal
59180         exponent.
59181         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59182         macro.
59183         (fma_test): Add more tests.
59184         (fma_test_towardzero): Likewise.
59185         (fma_test_downward): Likewise.
59186         (fma_test_upward): Likewise.
59188 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59190         * sysdeps/i386/tininess.h: Renamed to ...
59191         * sysdeps/x86/tininess.h: This.
59192         * sysdeps/x86_64/tininess.h: Removed.
59194 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59196         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59197         input.  Use $(build-program-cmd).
59198         ($(objpfx)tst-array1-static.out): Likewise.
59199         ($(objpfx)tst-array2.out): Likewise.
59200         ($(objpfx)tst-array3.out): Likewise.
59201         ($(objpfx)tst-array4.out): Likewise.
59202         ($(objpfx)tst-array5.out): Likewise.
59203         ($(objpfx)tst-array5-static.out): Likewise.
59205 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59207         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59208         if defined.
59210         * nss/nsswitch.h (nss_interface_function): Provide new
59211         macro for use with NSS functions.
59212         * grp/initgroups.c: Use new macro.
59213         * nss/getXXbyYY.c: Likewise.
59214         * nss/getXXbyYY_r.c: Likewise.
59215         * nss/getXXent.c: Likewise.
59216         * nss/getXXent_r.c: Likewise.
59217         * sysdeps/posix/getaddrinfo.c: Likewise.
59219 2012-10-30  Andreas Jaeger  <aj@suse.de>
59221         * po/ru.po: Update Russion translation from translation project.
59223 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59225         [BZ #14152]
59226         [BZ #14783]
59227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59228         result and shift together with sticky bit instead of replicating
59229         round-to-nearest rounding.
59230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59231         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59232         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59233         missing underflow exceptions.
59234         (fma_test_towardzero): Add more tests.
59235         (fma_test_downward): Likewise.
59236         (fma_test_upward): Likewise.
59238         [BZ #14047]
59239         * sysdeps/generic/tininess.h: New file.
59240         * sysdeps/i386/tininess.h: Likewise.
59241         * sysdeps/sh/tininess.h: Likewise.
59242         * sysdeps/x86_64/tininess.h: Likewise.
59243         * stdlib/tst-strtod-underflow.c: Likewise.
59244         * stdlib/tst-tininess.c: Likewise.
59245         * stdlib/strtod_l.c: Include <tininess.h>.
59246         (round_and_return): Do not set errno for exact underflow cases.
59247         Force an underflow exception when setting errno for underflow.
59248         Determine underflow based on rounding to normal precision if
59249         TININESS_AFTER_ROUNDING.
59250         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59251         ERANGE for exact underflow cases.
59252         * stdlib/Makefile (tests): Add tst-tininess and
59253         tst-strtod-underflow.
59254         ($(objpfx)tst-tininess): Use $(link-libm).
59255         ($(objpfx)tst-strtod-underflow): Likewise.
59257 2012-10-30  Andreas Jaeger  <aj@suse.de>
59259         [BZ#14767]
59260         * elf/Makefile (tests): Remove conditional for have-initfini-array
59261         since this is now always required and the variable does not exist
59262         anymore.
59263         (tests-static): Likewise.
59264         (modules-names): Likewise.
59266         * po/eo.po: Add Esperanto translation from translation project.
59268         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59269         merged with constructor/destructor.
59270         (init_array): Likewise.
59271         * elf/tst-array2dep.c (fini_array): Likewise.
59272         (init_array): Likewise.
59274 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59276         * manual/message.texi: Delete @cartouche tags.
59278 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59280         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59281         EOPNOTSUPP.
59282         * sysdeps/mach/hurd/fsync.c: Likewise.
59284         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59285         [_POSIX_REALTIME_SIGNALS]: Change condition to
59286         [_POSIX_REALTIME_SIGNALS > 0].
59288 2012-10-27  Andreas Jaeger  <aj@suse.de>
59290         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59291         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59293         [__WORDSIZE != 64]: Likewise.
59295 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59297         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59298         *  iconvdata/tst-tables.sh: Likewise.
59300 2012-10-25  David S. Miller  <davem@davemloft.net>
59302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59303         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59304         of strtoull.
59306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59307         ifunc-impl-list.c
59308         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59309         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59310         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59311         file.
59313 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59316         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59317         __getdirentries.
59319 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59320             Jim Blandy  <jimb@codesourcery.com>
59322         * scripts/cross-test-ssh.sh: New file.
59323         * manual/install.texi (Configuring and compiling): Document use of
59324         cross-test-ssh.sh.
59325         * INSTALL: Regenerated.
59327 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59329         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59330         EOPNOTSUPP.
59332 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59334         * Makeconfig (run-program-prefix): Fix comment.
59336 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59337             Jim Blandy  <jimb@codesourcery.com>
59339         * Makeconfig (test-wrapper): New variable,
59340         (test-wrapper-env): Likewise.
59341         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59342         (run-built-tests): Define to yes.
59343         (run-program-prefix): Use $(test-wrapper).
59344         (built-program-cmd): Likewise.
59345         * Rules (make-test-out): Use $(test-wrapper-env) and
59346         $(host-built-program-cmd).
59347         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59348         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59349         tst-pathopt.sh.
59350         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59351         $(test-wrapper-env) to tst-rtld-load-self.sh.
59352         ($(objpfx)order2.out): Use $(test-wrapper).
59353         ($(objpfx)tst-initorder.out): Likewise.
59354         ($(objpfx)tst-initorder2.out): Likewise.
59355         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59356         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59357         (test_wrapper_env): New variable.  Use it to run ld.so.
59358         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59359         Use it to run ld.so.
59360         (test_wrapper_env): Likewise.
59361         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59362         $(test-wrapper) to run-iconv-test.sh.
59363         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59364         (ICONV): Use $test_wrapper.
59365         * posix/Makefile ($(objpfx)globtest.out): Pass
59366         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59367         globtest.sh, not $(run-program-prefix).
59368         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59369         (test_wrapper): Likewise.
59370         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59371         set together with run_via_rtld_prefix.
59372         (run_program_prefix): Define in terms of test_wrapper and
59373         run_via_rtld_prefix.
59375 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59377         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59378         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59379         Targets removed.
59381         [BZ #14743]
59382         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59383         Declare __clock_getres, __clock_gettime, __clock_settime,
59384         __clock_nanosleep, and __clock_getcpuclockid.
59385         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59386         Remove librt_hidden_def (clock_gettime).
59387         * sysdeps/unix/clock_gettime.c: Likewise.
59388         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59390         * rt/clock_getres.c: Define __clock_getres as an alias.
59391         * sysdeps/posix/clock_getres.c: Likewise.
59392         * rt/clock_settime.c: Define __clock_settime as an alias.
59393         * sysdeps/unix/clock_settime.c: Likewise.
59394         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59395         * sysdeps/unix/clock_nanosleep.c: Likewise.
59396         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59397         * rt/clock-compat.c: New file.
59398         * rt/Makefile (librt-routines): Add clock-compat and move
59399         $(clock-routines) to ...
59400         (routines): ... here, new variable.
59401         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59402         Don't add get_clockfreq here.
59403         * rt/Versions (libc: GLIBC_2.17): New version set.
59404         Add clock_* symbols here.
59405         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59406         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59407         (GLIBC_2.17): Add clock_* symbols.
59408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59410         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59412         Likewise.
59413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59414         Likewise.
59415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59419         * NEWS: Mention the move.
59421         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59422         Use __open, __read, __close rather than their public counterparts.
59423         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59424         (__get_clockfreq_via_cpuinfo): Likewise.
59425         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59426         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59428         * config.h.in (HAVE_IFUNC): New #undef.
59429         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59430         was successful.
59431         * configure: Regenerated.
59433 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59435         * configure.in: Move READELF check to start of file.
59436         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59437         libc_cv_asm_gnu_indirect_function in the process.
59438         * configure: Regenerated.
59440 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59442         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59443         send the output to /dev/null.
59444         (libc_cv_cc_with_libunwind): Likewise.
59445         (libc_cv_as_noexecstack): Likewise.
59446         * configure: Regenerate.
59448 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59450         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59452         * posix/globtest.sh (TMPDIR): Do not set.
59453         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59454         (testout): Likewise.
59456 2012-10-24  Andreas Jaeger  <aj@suse.de>
59458         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59459         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59460         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59461         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59462         posix_fadvise64, posix_fallocate64.
59464         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59465         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59466         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59467         Likewise.
59468         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59469         Likewise.
59470         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59473         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59474         <bits/fcntl-linux.h>.
59475         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59477         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59478         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59479         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59480         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59481         [__WORDSIZE != 64]: Likewise.
59483 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59485         * Makeconfig (run-built-tests): New variable.
59486         * Rules [$(cross-compiling) = yes]: Change condition to
59487         [$(run-built-tests) = no].
59488         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59489         to [$(run-built-tests) = yes].
59490         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59491         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59492         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59493         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59494         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59495         * io/Makefile [$(cross-compiling) = no]: Likewise.
59496         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59497         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59498         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59499         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59500         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59501         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59502         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59503         * string/Makefile [$(cross-compiling) = no]: Likewise.
59505         * posix/Makefile ($(objpfx)globtest.out): Pass
59506         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59507         $(rtld-installed-name).
59508         * posix/globtest.sh (elf_objpfx): Remove variable.
59509         (rtld_installed_name): Likewise.
59510         (library_path): Likewise.
59511         (run_program_prefix): New variable.  Use for running globtest
59512         binary.
59514 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59515             Joseph Myers  <joseph@codesourcery.com>
59517         * Makeconfig (host-built-program-cmd): New variable.
59518         * elf/Makefile (tst-stackguard1-ARGS): Use
59519         $(host-built-program-cmd).
59520         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59521         (tst-spawn-ARGS): Likewise.
59522         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59524 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59525             Jim Blandy  <jimb@codesourcery.com>
59527         * Makeconfig (run-via-rtld-prefix): New variable.
59528         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59529         (built-program-cmd): Likewise.
59531 2012-10-22  Andreas Jaeger  <aj@suse.de>
59533         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59534         __O_RSYNC if it exists, otherwise to O_SYNC.
59536 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59537             Joseph Myers  <joseph@codesourcery.com>
59539         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59540         /dev/null.
59541         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59542         from /dev/null
59543         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59544         /dev/null.
59546 2012-10-22  Andreas Jaeger  <aj@suse.de>
59548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59549         Define always.
59550         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59553         bits/fcntl-linux.h.
59555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59556         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59558         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59559         to __O_LARGEFILE.
59560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59561         to __O_LARGEFILE.
59563 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59564             Joseph Myers  <joseph@codesourcery.com>
59566         * config.make.in (NM): New variable.
59568 2012-10-21  Andreas Jaeger  <aj@suse.de>
59570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59571         definitions and declarations that are provided by
59572         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59574 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59576         [BZ #14683]
59577         * elf/Makefile (tests-static): Add tst-leaks1-static.
59578         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59579         ($(objpfx)tst-leaks1-static): New rule.
59580         ($(objpfx)tst-leaks1-static-mem): Likewise.
59581         (tst-leaks1-static-ENV): New macro.
59582         * elf/dl-open.c (dl_open_worker): Check the main application
59583         only if SHARED is defined.
59584         * elf/tst-leaks1-static.c: New file.
59586 2012-10-20  Andreas Jaeger  <aj@suse.de>
59588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59589         generic values for Linux.
59590         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59591         and declarations that are provided by <bits/fcntl-linux.h> and
59592         include <bits/fcntl-linux.h>.
59593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59596 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59598         * io/fcntl.h: Move include of <bits/types.h> to the top and
59599         include it unconditionally.
59601 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59603         * wcsmbs/Makefile (tests-ifunc): New variable.
59604         (tests): Add $(tests-ifunc).
59605         * wcsmbs/test-wcschr-ifunc.c: New file.
59606         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59607         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59608         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59609         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59610         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59612         * string/Makefile (tests-ifunc): New variable.
59613         (tests): Add $(tests-ifunc).
59614         * string/test-memccpy.c (TEST_NAME): New macro.
59615         * string/test-memchr.c (TEST_NAME): Likewise.
59616         * string/test-memcmp.c (TEST_NAME): Likewise.
59617         * string/test-memcpy.c (TEST_NAME): Likewise.
59618         * string/test-memmem.c (TEST_NAME): Likewise.
59619         * string/test-memmove.c (TEST_NAME): Likewise.
59620         * string/test-memset.c (TEST_NAME): Likewise.
59621         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59622         * string/test-stpcpy.c (TEST_NAME): Likewise.
59623         * string/test-stpncpy.c (TEST_NAME): Likewise.
59624         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59625         * string/test-strcasestr.c (TEST_NAME): Likewise.
59626         * string/test-strcat.c (TEST_NAME): Likewise.
59627         * string/test-strchr.c (TEST_NAME): Likewise.
59628         * string/test-strcmp.c(TEST_NAME): Likewise.
59629         * string/test-strcpy.c (TEST_NAME): Likewise.
59630         * string/test-strcspn.c (TEST_NAME): Likewise.
59631         * string/test-strlen.c (TEST_NAME): Likewise.
59632         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59633         * string/test-strncmp.c (TEST_NAME): Likewise.
59634         * string/test-strncpy.c (TEST_NAME): Likewise.
59635         * string/test-strnlen.c (TEST_NAME): Likewise.
59636         * string/test-strpbrk.c (TEST_NAME): Likewise.
59637         * string/test-strrchr.c (TEST_NAME): Likewise.
59638         * string/test-strspn.c (TEST_NAME): Likewise.
59639         * string/test-strstr.c (TEST_NAME): Likewise.
59640         * string/test-bcopy-ifunc.c: New file.
59641         * string/test-bzero-ifunc.c: Likewise.
59642         * string/test-memccpy-ifunc.c: Likewise.
59643         * string/test-memchr-ifunc.c: Likewise.
59644         * string/test-memcmp-ifunc.c: Likewise.
59645         * string/test-memcpy-ifunc.c: Likewise.
59646         * string/test-memmem-ifunc.c: Likewise.
59647         * string/test-memmove-ifunc.c: Likewise.
59648         * string/test-mempcpy-ifunc.c: Likewise.
59649         * string/test-memset-ifunc.c: Likewise.
59650         * string/test-rawmemchr-ifunc.c: Likewise.
59651         * string/test-stpcpy-ifunc.c: Likewise.
59652         * string/test-stpncpy-ifunc.c: Likewise.
59653         * string/test-strcasecmp-ifunc.c: Likewise.
59654         * string/test-strcasestr-ifunc.c: Likewise.
59655         * string/test-strcat-ifunc.c: Likewise.
59656         * string/test-strchr-ifunc.c: Likewise.
59657         * string/test-strchrnul-ifunc.c: Likewise.
59658         * string/test-strcmp-ifunc.c: Likewise.
59659         * string/test-strcpy-ifunc.c: Likewise.
59660         * string/test-strcspn-ifunc.c: Likewise.
59661         * string/test-strlen-ifunc.c: Likewise.
59662         * string/test-strncasecmp-ifunc.c: Likewise.
59663         * string/test-strncat-ifunc.c: Likewise.
59664         * string/test-strncmp-ifunc.c: Likewise.
59665         * string/test-strncpy-ifunc.c: Likewise.
59666         * string/test-strnlen-ifunc.c: Likewise.
59667         * string/test-strpbrk-ifunc.c: Likewise.
59668         * string/test-strrchr-ifunc.c: Likewise.
59669         * string/test-strspn-ifunc.c: Likewise.
59670         * string/test-strstr-ifunc.c: Likewise.
59672         * debug/Makefile (tests-ifunc): New variable.
59673         (tests): Add $(tests-ifunc).
59674         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59675         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59676         * debug/test-stpcpy_chk-ifunc.c: New file.
59677         * debug/test-strcpy_chk-ifunc.c: Likewise.
59679 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59681         [BZ #13601]
59682         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59683         header is not read in.
59685 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59687         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59688         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59689         directly.  Pass built executable to script as
59690         $(built-program-cmd).
59691         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59692         $testprogram without using LD_LIBRARY_PATH and $ldso.
59694         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59695         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59696         $(rtld-installed-name).
59697         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59698         (rtld_installed_name): Likewise.
59699         (library_path): Likewise.
59700         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59701         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59702         $(run-program-prefix) to tst-tables.sh.
59703         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59704         it to run tst-table-from and tst-table-to.
59705         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59706         Pass it to tst-table.sh.
59707         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59708         $(run-program-prefix) to tst-gettext.sh.
59709         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59710         tst-translit.sh.
59711         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59712         tst-gettext2.sh.
59713         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59714         to run tst-gettext.
59715         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59716         to run tst-gettext2.
59717         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59718         to run tst-translit.
59719         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59720         $(run-program-prefix) to tst-mtrace.sh.
59721         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59722         to run tst-mtrace.
59723         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59724         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59725         $(rtld-installed-name).
59726         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59727         (rtld_installed_name): Likewise.
59728         (run_program_prefix): New variable.  Use it to run wordexp-test.
59730         * Makeconfig (ARCH): Remove all definitions.
59731         (machine): Likewise.
59732         [ARCH]: Remove conditional code.
59733         [!objdir]: Give error.
59734         [!objdir] (objpfx): Remove.
59735         [!objdir] (common-objpfx): Likewise.
59736         [!objdir] (common-objdir): Likewise.
59737         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59738         AC_CONFIG_FILES call.
59739         * configure: Regenerated.
59741         [BZ #13888]
59742         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59743         or TMPDIR.
59744         (testout): Likewise.
59746         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59747         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59748         $(rtld-installed-name).
59749         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59750         (rtld_installed_name): Likwise.
59751         (runit): Remove function.
59752         (run_getconf): New variable,  Use it for running getconf binary.
59754 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59756         [BZ #14716]
59757         * string/test-memmem.c (check_result): New function.
59758         (do_one_test): Use it.
59759         (check1): New function.
59760         (test_main): Use it.
59762 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59764         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59766 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59768         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59769         (_G_LSEEK64): Likewise.
59770         (_G_MMAP64): Likewise.
59771         (_G_FSTAT64): Likewise.
59772         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59773         (_G_LSEEK64): Likewise.
59774         (_G_MMAP64): Likewise.
59775         (_G_FSTAT64): Likewise.
59776         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59777         unconditional.  Call __mmap64 directly.
59778         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59779         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59780         __lseek64 directly.
59781         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59782         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59783         __mmap64 directly.
59784         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59785         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59786         __lseek64 directly.
59787         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59788         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59789         __lseek64 directly.
59790         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59791         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59792         __lseek64 directly.
59793         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59794         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59795         __fxstat64 directly.
59796         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59797         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59798         unconditional.
59799         (freopen64) [!_G_OPEN64]: Remove conditional code.
59800         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59801         unconditional.
59802         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59803         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59804         unconditional.
59805         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59806         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59807         unconditional.
59808         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59809         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59810         unconditional.
59811         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59812         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59813         unconditional.
59814         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59815         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59816         unconditional.
59817         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59818         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59819         unconditional.
59820         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59822 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59824         [BZ #12140]
59825         * manual/memory.texi (Malloc Tunable Parameters): Add note
59826         about free list pointers overwriting some perturb bytes.
59827         Wording suggested by Roland McGrath.
59829 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59831         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59832         (lgamma_test): Likewise.
59833         (tgamma_test): Likewise.
59835 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59837         [BZ #14700]
59838         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59839         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59841 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59843         * NEWS: Mention BZ #14716.
59844         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59845         when removing AVAILABLE1_USES_J macro.
59847 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59849         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59850         (__bswap_64): __uint64_t for unsigned 64-bit int.
59852 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59854         * include/string.h (memmem): Declare libc hidden alias.
59855         * string/memmem.c (memmem): Define libc hidden alias.
59856         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59857         __read, __close instead of open, read, close.
59859 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59862         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59863         global and hidden.
59864         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59865         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59866         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59867         Likewise.
59868         (__rawmemchr_sse2): Likewise.
59869         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59870         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59871         (__strchr_sse2): Likewise.
59872         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59873         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59874         (__strcasecmp_sse2): Likewise.
59875         (__strncasecmp_sse2): Likewise.
59876         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59877         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59878         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59879         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59880         (__strrchr_sse2): Likewise.
59881         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59882         ifunc-impl-list.c.
59883         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59884         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59885         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59886         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59887         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59888         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59889         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59890         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59891         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59892         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59893         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59894         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59895         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59896         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59897         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59898         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59899         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59900         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59901         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59902         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59903         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59904         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59905         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59906         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59907         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59908         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59909         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59910         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59911         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59912         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59914         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59915         global and hidden.
59916         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59917         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59918         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59919         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59920         Likewise.
59921         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59922         Likewise.
59923         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59924         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59925         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59926         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59927         ifunc-impl-list.c.
59928         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59929         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59930         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59931         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59932         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59933         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59934         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59935         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59936         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59937         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59938         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59939         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59940         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59941         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59942         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59943         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59944         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59945         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59946         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59947         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59948         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59949         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59950         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59951         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59952         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59953         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59954         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59955         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59956         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59957         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59958         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59959         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59960         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59961         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59962         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59963         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59964         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59965         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59966         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59967         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59968         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59970         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59971         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59972         * include/ifunc-impl-list.h: New file.
59973         * misc/ifunc-impl-list.c: Likewise.
59974         * misc/Makefile (routines): Add ifunc-impl-list.
59975         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59976         * string/test-string.h: Include <ifunc-impl-list.h>.
59977         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59978         TEST_NAME]: New variables.
59979         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59980         are defined.
59981         (test_init): Call __libc_ifunc_impl_list to initialize
59982         func_list if TEST_IFUNC and TEST_NAME are defined.
59984         * string/Makefile (strop-tests): Add bcopy and bzero.
59985         * string/test-bcopy.c: New file.
59986         * string/test-bzero.c: Likewise.
59987         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59988         defined.
59989         * string/test-memset.c: Support bzero test if TEST_BZERO is
59990         defined.
59991         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59992         __libc_memmove.
59993         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59994         __libc_memset.
59995         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59996         of memset.
59998 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60000         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60001         * configure: Regenerated.
60003         * Makeconfig (+link-static-before-libc): Don't include
60004         $(link-static-libc).
60006         * libio/libio.h (_IO_pos_t): Remove.
60008 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60010         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60011         McGrath.
60013 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60015         * crypt/crypt-entry.c: Include fips-private.h.
60016         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60017         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60018         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60019         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60021 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60023         * crypt/crypt-private.h: Include stdbool.h.
60024         (_ufc_setup_salt_r): Return bool.
60025         * crypt/crypt-entry.c: Include errno.h.
60026         (__crypt_r): Return NULL with EINVAL for bad salt.
60027         * crypt/crypt_util.c (bad_for_salt): New.
60028         (_ufc_setup_salt_r): Check that salt is long enough and within
60029         the specified alphabet.
60030         * crypt/badsalttest.c: New file.
60031         * crypt/Makefile (tests): Add it.
60032         ($(objpfx)badsalttest): New.
60034 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60036         * NEWS: Add entry for BZ #14602.
60038 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60040         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60041         type-generic.
60042         * math/libm-test.inc: Update comment listing what functions and
60043         macros are tested.
60044         (isgreater_test): New function.
60045         (isgreaterequal_test): Likewise.
60046         (isless_test): Likewise.
60047         (islessequal_test): Likewise.
60048         (islessgreater_test): Likewise.
60049         (isunordered_test): Likewise.
60050         (main): Call the new functions.
60052 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60054         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60055         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60056         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60057         * sysdeps/i386/configure: Regenerated.
60058         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60059         * sysdeps/mach/configure: Regenerated.
60060         * sysdeps/mach/hurd/configure: Regenerated.
60061         * sysdeps/powerpc/configure: Regenerated.
60062         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60063         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60064         * sysdeps/s390/s390-32/configure: Regenerated.
60065         * sysdeps/s390/s390-64/configure: Regenerated.
60066         * sysdeps/sh/configure: Regenerated.
60067         * sysdeps/sparc/configure: Regenerated.
60068         * sysdeps/unix/sysv/linux/configure: Regenerated.
60069         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60070         * sysdeps/x86_64/configure: Regenerated.
60072         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60073         defined.  Don't check if MAP is NULL.
60075 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60077         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60078         (_G_stat64): Likewise.
60079         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60080         (_G_stat64): Likewise.
60081         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60082         instead of struct _G_stat64.
60083         * libio/fileops.c (mmap_remap_check): Likewise.
60084         (decide_maybe_mmap): Likewise.
60085         (_IO_new_file_seekoff): Likewise.
60086         (_IO_file_stat): Likewise.
60087         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60088         _G_off64_t.
60089         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60090         instead of struct _G_stat64.
60091         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60093 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60095         [BZ #14602]
60096         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60097         Replace with ...
60098         (CHECK_EOL): New macro.
60099         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60100         CHECK_EOL.
60101         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60102         Replace with CHECK_EOL.
60103         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60104         Replace with CHECK_EOL.
60106 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60108         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60109         type-generic.
60110         * math/libm-test.inc: Update comment listing what functions and
60111         macros are tested.
60112         (finite_test): New function.
60113         (isinf_test): Likewise.
60114         (isnan_test): Likewise.
60115         (fpclassify_test): Test subnormal input.
60116         (isfinite_test): Likewise.
60117         (isnormal_test): Likewise.
60118         (main): Call the new functions.
60120 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60122         [BZ #14660]
60123         * Makerules (%.dynsym): Force C locale when running
60124         $(OBJDUMP) --dynamic-syms.
60126 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60128         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60129         <stdint.h>.
60131 2012-10-06  David S. Miller  <davem@davemloft.net>
60133         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60134         upper 32-bits of the length value in %o2 since we use branch-on-register
60135         tests which consider the entire 64-bit register.
60137 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60139         * string/test-strstr.c (check2): Add a test for page boundary.
60141 2012-10-05  David S. Miller  <davem@davemloft.net>
60143         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60144         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60145         file.
60146         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60147         sysdep_routines.
60148         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60149         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60150         and bzero when HWCAP_SPARC_CRYPTO is present.
60152 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60154         [BZ #14602]
60155         * string/test-strstr.c (check2): New function.
60156         (test_main): Call check2.
60158         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60159         and bug-strchr1.
60160         * string/bug-strcasestr1.c (do_test): Moved to ...
60161         * string/test-strcasestr.c (check1): Here.  New function.
60162         (do_one_test): Break out result checking code into ...
60163         (check_result): This.  New function.
60164         (do_one_test): Call check_result.
60165         (test_main): Call check1.
60166         * string/bug-strchr1.c (do_test): Moved to ...
60167         * string/test-strchr.c (check1): Here.  New function.
60168         (do_one_test): Break out result checking code into ...
60169         (check_result): This.  New function.
60170         (do_one_test): Call check_result.
60171         (test_main): Call check1.
60172         * string/bug-strstr1.c (main): Moved to ...
60173         * string/test-strstr.c (check1): Here.  New function.
60174         (do_one_test): Break out result checking code into ...
60175         (check_result): This.  New function.
60176         (do_one_test): Call check_result.
60177         (test_main): Call check1.
60178         * string/bug-strcasestr1.c: Removed.
60179         * string/bug-strchr1.c: Likewise.
60180         * string/bug-strstr1.c: Likewise.
60182         * elf/Makefile (dl-routines): Add hwcaps.
60183         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60184         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60185         (_dl_important_hwcaps): Moved to ...
60186         * elf/dl-hwcaps.c: Here.  New file.
60187         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60189         [BZ #14557]
60190         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60191         if IS_IN_rtld isn't defined.
60193         * elf/dl-support.c (_dl_sysinfo_map): New.
60194         Include "get-dynamic-info.h" and "setup-vdso.h".
60195         (_dl_non_dynamic_init): Call setup_vdso.
60196         * elf/dynamic-link.h: Don't include <assert.h>.
60197         (elf_get_dynamic_info): Moved to ...
60198         * elf/get-dynamic-info.h: Here.  New file.
60199         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60200         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60201         * elf/setup-vdso.h: Here.  New file.
60202         * elf/rtld.c: Include "setup-vdso.h".
60203         (dl_main): Call setup_vdso.
60205 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60207         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60208         creal in comment listing functions tested.  List finite, isinf,
60209         isnan, isless, islessequal, isgreater, isgreaterequal,
60210         islessgreater, isunordered, lgamma_r and pow10 as functions and
60211         macros not tested.  Mention which functions not tested are aliases
60212         for other functions.  Fix typo.  Note that signs of NaNs are not
60213         tested.
60215         * scripts/config.guess: Update from config.git.
60216         * scripts/config.sub: Likewise.
60218 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60220         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60221         * misc/madvise.c (madvise): Renamed to __madvise.
60222         Make madvise a weak alias.
60223         * include/sys/mman.h: Declare __madvise.
60224         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60225         * sysdeps/unix/syscalls.list
60226         (madvise): Make __madvise the strong name, and madvise a weak alias.
60227         * sysdeps/unix/sysv/linux/syscalls.list
60228         (madvise, mmap): Remove redundant entries.
60229         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60230         * malloc/malloc.c (mtrim): Likewise.
60231         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60233 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60235         * sysdeps/mach/hurd/dl-cache.c: File removed.
60236         * config.h.in (USE_LDCONFIG): New #undef.
60237         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60238         * configure: Regenerated.
60239         * elf/Makefile (dl-routines): Add dl-cache only under
60240         [$(use-ldconfig) = yes].
60241         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60242         cache on [USE_LDCONFIG].
60243         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60244         [USE_LDCONFIG].
60245         * elf/rtld.c (dl_main): Likewise.
60247 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60249         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60250         _SC_LEVEL4_CACHE_LINESIZE.
60252 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60254         * sysdeps/unix/bsd/confstr.h: File removed.
60256 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60258         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60259         sys/sdt-config.h.
60261 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60263         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60264         Make 'mapoff' field ElfW(Off) rather than off_t.
60266 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60268         * nscd/Makefile: Remove nscd-cflags and all its users.
60269         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60270         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60272         [BZ #10631]
60273         * malloc.c (malloc_printerr): Clarify error message.
60275 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60277         [BZ #14648]
60278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60279         Set bit_FMA_Usable if FMA is supported.
60280         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60281         macro.
60282         (bit_FMA4_Usable): Updated.
60283         (index_FMA_Usable): New macro.
60284         (CPUID_FMA): Likewise.
60285         (HAS_FMA): Defined with bit_FMA_Usable.
60287 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60289         * bits/types.h (__swblk_t): Type removed.
60290         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60291         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60292         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60293         (__SWBLK_T_TYPE): Likewise.
60294         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60295         (__SWBLK_T_TYPE): Likewise.
60296         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60297         (__SWBLK_T_TYPE): Likewise.
60298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60299         (__SWBLK_T_TYPE): Likewise.
60301 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60302             Honza Horak <hhorak@redhat.com>
60304         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60305         (xdr_mapname): Use YPMAXMAP as maxsize.
60306         (xdr_peername): Use YPMAXPEER as maxsize.
60307         (xdr_keydat): Use YPAXRECORD as maxsize.
60308         (xdr_valdat): Use YPMAXRECORD as maxsize.
60310 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60312         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60314         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60315         * csu/init-first.c: ... here.
60316         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60317         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60318         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60319         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60320         * sysdeps/i386/init-first.c: File removed.
60321         * sysdeps/sh/init-first.c: File removed.
60323 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60325         [BZ #14645]
60326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60327         if x * y might underflow to zero and z is zero.
60328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60329         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60330         * math/libm-test.inc (min_subnorm_value): New variable.
60331         (fma_test): Add more tests.
60332         (fma_test_towardzero): Likewise.
60333         (fma_test_downward): Likewise.
60334         (fma_test_upward): Likewise.
60335         (initialize): Set min_subnorm_value.
60337 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60339         [BZ #14638]
60340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60341         0 + 0.
60342         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60343         mode for addition resulting in exact zero.
60344         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60345         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60346         exact 0 + 0.
60347         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60349         * math/libm-test.inc (fma_test): Add more tests.
60350         (fma_test_towardzero): New function.
60351         (fma_test_downward): Likewise.
60352         (fma_test_upward): Likewise.
60353         (main): Call the new functions.
60355 2012-09-28  David S. Miller  <davem@davemloft.net>
60357         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60359 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60361         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60362         instead of SIGALRM.
60364         * sysdeps/gnu/_G_config.h: Moved to ...
60365         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60366         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60367         * sysdeps/generic/_G_config.h: ... here.
60369         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60371         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60373         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60374         Conditionalize target on [libnss_test1.so-version].
60376         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60378         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60379         (elfobjdir): Move out of conditionals.
60381         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60382         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60383         (__nss_lookup_function): Conditionalize label remove_from_tree on
60384         [!DO_STATIC_NSS || SHARED], matching its only use.
60386 2012-09-28  David S. Miller  <davem@davemloft.net>
60388         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60389         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60390         file.
60391         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60392         sysdep_routines.
60393         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60394         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60395         when HWCAP_SPARC_CRYPTO is present.
60397 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60399         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60401 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60403         [BZ #6530]
60404         * stdio-common/vfprintf.c (process_string_arg): Revert
60405         2000-07-22 change.
60407 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60409         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60410         for testcase.
60411         * stdio-common/tst-sprintf.c: Include <locale.h>
60412         (main): Test sprintf's handling of incomplete multibyte
60413         characters.
60415 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60417         * elf/dl-runtime.c (VERSYMIDX): Removed.
60418         * elf/dl-version.c (VERSYMIDX): Likewise.
60419         * elf/do-rel.h (VERSYMIDX): Likewise.
60420         (VALIDX): Likewise.
60421         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60422         * elf/rtld.c (VALIDX): Likewise.
60423         (ADDRIDX): Likewise.
60424         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60425         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60426         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60427         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60428         (VALIDX): Likewise.
60429         (ADDRIDX): Likewise.
60431 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60433         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60435 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60437         [BZ #11438]
60438         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60439         to global scope.
60440         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60441         addresses are in the same scope as 192.0.2/24.
60442         * posix/gai.conf: Document new scope table defaults.
60444 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60446         [BZ #5298]
60447         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60448         for ftell.  Compute offsets from write pointers instead.
60449         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60451 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60453         [BZ #14543]
60454         * libio/Makefile (tests): New test case tst-fseek.
60455         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60456         combination works in wide mode.
60457         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60458         state when the external buffer state changes.
60460 2012-09-27  David S. Miller  <davem@davemloft.net>
60462         [BZ #14376]
60463         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60464         pass reloc->r_addend in as the 'high' argument to
60465         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60469 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60471         * rt/tst-aio2.c: Include <pthread.h>.
60472         * rt/tst-aio3.c: Likewise.
60474 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60476         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60478 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60480         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60481         contents on [SHARED].
60483 2012-09-26  Marek Polacek  <polacek@redhat.com>
60485         [BZ #14530]
60486         [BZ #13741]
60487         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60488         for C++ and GCC <4.3 as well as for non GCC compilers.
60490 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60494 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60496         * Makefile.in (all, install): Declare with .PHONY.
60497         Reported by Michael Hope <michael.hope@linaro.org>.
60499 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60501         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60502         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60503         system header.
60504         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60505         Likewise.
60506         (sydep_routines): Add the new and the internal functions.
60507         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60508         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60510         (GLIBC_2.17): Add the new function.
60511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60512         (GLIBC_2.17): Likewise.
60513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60514         (GLIBC_2.17): Likewise.
60515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60516         (GLIBC_2.17): Likewise.
60517         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60519 2012-09-25  Alan Modra  <amodra@gmail.com>
60521         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60522         Add release barrier before setting once_control to say
60523         initialisation is done.  Add hints on lwarx.  Use macro in
60524         place of isync.
60525         (clear_once_control): Add release barrier.
60527 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60529         [BZ #13629]
60530         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60531         specially.
60532         * math/s_clog10.c (__clog10): Likewise.
60533         * math/s_clog10f.c (__clog10f): Likewise.
60534         * math/s_clog10l.c (__clog10l): Likewise.
60535         * math/s_clogf.c (__clogf): Likewise.
60536         * math/s_clogl.c (__clogl): Likewise.
60537         * math/Makefile (libm-calls): Add x2y2m1.
60538         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60539         (__x2y2m1): Likewise.
60540         (__x2y2m1l): Likewise.
60541         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60542         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60543         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60544         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60545         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60546         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60547         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60548         * sysdeps/i386/fpu/libm-test-ulps: Update.
60549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60551         [BZ #14621]
60552         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60553         int as type of variable DEPTH.
60554         (glob): Use size_t instead of int as type of variables NEWCOUNT
60555         and OLD_PATHC.
60557 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60559         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60560         Add s_sincosf-sse2.
60561         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60562         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60563         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60564         macros for using routine as __sincosf_ia32.
60565         Use macro for function declaration and weak_alias.
60566         * sysdeps/i386/fpu/libm-test-ulps: Update.
60568         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60571         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60572         subnormal argument.
60573         * math/s_cexpf.c (__cexpf): Likewise.
60574         * math/s_csinf.c (__csinf): Likewise.
60575         * math/s_csinhf.c (__csinhf): Likewise.
60576         * math/s_ctanf.c (__ctanf): Likewise.
60577         * math/s_ctanhf.c (__ctanhf): Likewise.
60578         * math/s_ccosh.c (__ccoshf): Likewise.
60579         * math/s_cexp.c (__cexpl): Likewise.
60580         * math/s_csin.c (__csin): Likewise.
60581         * math/s_csinh.c (__csinh): Likewise.
60582         * math/s_ctan.c (__ctan): Likewise.
60583         * math/s_ctanh.c (ctanh): Likewise.
60584         * math/s_ccoshl.c (__ccoshl): Likewise.
60585         * math/s_cexpl.c (__cexpl): Likewise.
60586         * math/s_csinl.c (__csinl): Likewise.
60587         * math/s_csinhl.c (__csinhl): Likewise.
60588         * math/s_ctanl.c (__ctanl): Likewise.
60589         * math/s_ctanhl.c (__ctanhl): Likewise.
60591 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60593         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60594         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60595         (_IO_off_t): Define to __off_t, not _G_off_t.
60596         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60597         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60598         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60599         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60600         type of __dummy and __dummy2 fields.
60601         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60602         (_G_ssize_t): Likewise.
60603         (_G_off_t): Likewise.
60604         (_G_pid_t): Likewise.
60605         (_G_uid_t): Likewise.
60606         (_G_wchar_t): Likewise.
60607         (_G_wint_t): Likewise.
60608         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60609         (_G_ssize_t): Likewise.
60610         (_G_off_t): Likewise.
60611         (_G_pid_t): Likewise.
60612         (_G_uid_t): Likewise.
60613         (_G_wchar_t): Likewise.
60614         (_G_wint_t): Likewise.
60615         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60616         (_G_ssize_t): Likewise.
60617         (_G_off_t): Likewise.
60618         (_G_pid_t): Likewise.
60619         (_G_uid_t): Likewise.
60620         (_G_wchar_t): Likewise.
60621         (_G_wint_t): Likewise.
60623 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60625         * malloc/arena.c: Include malloc-sysdep.h.
60626         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60627         is sufficient to shrink the heap or an unmap is needed.
60628         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60629         new function check_may_shrink_heap.
60630         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60631         new function check_may_shrink_heap.
60633 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60635         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60636         comments.
60638 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60640         * catgets/test-gencat.sh: Add "set -e".
60641         * elf/tst-pathopt.sh: Likewise.
60642         * grp/tst_fgetgrent.sh: Likewise.
60643         * iconvdata/run-iconv-test.sh: Likewise.
60644         * intl/tst-gettext.sh: Likewise.
60645         * intl/tst-gettext2.sh: Likewise.
60646         * intl/tst-gettext4.sh: Likewise.
60647         * intl/tst-gettext6.sh: Likewise.
60648         * intl/tst-translit.sh: Likewise.
60649         * io/ftwtest-sh: Likewise.
60650         * libio/test-freopen.sh: Likewise.
60651         * malloc/tst-mtrace.sh: Likewise.
60652         * posix/globtest.sh: Likewise.
60653         * posix/tst-getconf.sh: Likewise.
60654         * posix/wordexp-tst.sh: Likewise.
60655         * stdio-common/tst-printf.sh: Likewise.
60656         * stdio-common/tst-unbputc.sh: Likewise.
60657         * stdlib/tst-fmtmsg.sh: Likewise.
60658         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60659         * catgets/Makefile: Do not specify -e option when running
60660         testsuite shell scripts.
60661         * elf/Makefile: Likewise.
60662         * grp/Makefile: Likewise.
60663         * iconvdata/Makefile: Likewise.
60664         * intl/Makefile: Likewise.
60665         * io/Makefile: Likewise.
60666         * libio/Makefile: Likewise.
60667         * malloc/Makefile: Likewise.
60668         * posix/Makefile: Likewise.
60669         * stdio-common/Makefile: Likewise.
60670         * stdlib/Makefile: Likewise.
60671         * sysdeps/x86_64/Makefile: Likewise.
60673         * io/ftwtest-sh: Add copyright header.
60674         * posix/globtest.sh: Likewise.
60675         * posix/tst-getconf.sh: Likewise.
60676         * posix/wordexp-tst.sh: Likewise.
60677         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60679 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60681         [BZ #13679]
60682         * Makeconfig (+link): Defined as $(+link-static) if
60683         $(build-shared) isn't yes.
60684         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60685         isn't yes.
60686         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60688         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60690         [BZ #14562]
60691         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60692         new chunk size with MALLOC_ALIGN_MASK.
60694 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60696         [BZ #5044]
60697         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60698         <rounding-mode.h>.
60699         (__printf_fphex): Determine rounding using get_rounding_mode and
60700         round_away.
60701         * stdio-common/tst-printf-round.c (struct hex_test): New
60702         structure.
60703         (hex_tests): New variable.
60704         (test_hex_in_one_mode): New function.
60705         (do_test): Also run tests for hex float output.
60707 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60709         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60710         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60711         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60712         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60713         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60714         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60715         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60716         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60718 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60720         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60721         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60722         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60723         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60725 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60727         [BZ #14579]
60728         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60729         mode only.
60730         * elf/tst-rtld-load-self.sh: New test.
60731         * elf/Makefile: Run it.
60733 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60735         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60736         (tst-writev-ENV): Remove.
60737         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60739 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60741         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60743 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60745         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60746         unconditional.
60747         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60748         Likewise.
60749         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60750         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60751         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60752         Likewise.
60754 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60756         [BZ #14587]
60757         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60758         * config.make.in (have-cpp-asm-debuginfo): Removed.
60759         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60760         * configure: Regenerated.
60762 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60764         [BZ #5044]
60765         * stdio-common/printf_fp.c: Include <stdbool.h> and
60766         <rounding-mode.h>.
60767         (___printf_fp): Determine rounding using get_rounding_mode and
60768         round_away.
60769         * stdio-common/tst-printf-round.c: New file.
60770         * stdio-common/Makefile (tests): Add tst-printf-round.
60771         (link-libm): New variable.
60772         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60774 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60776         [BZ #14576]
60777         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60778         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60779         Likewise.
60780         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60781         Likewise.
60783 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60785         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60786         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60787         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60788         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60790 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60792         [BZ #14518]
60793         * include/rounding-mode.h: New file.
60794         * sysdeps/generic/get-rounding-mode.h: Likewise.
60795         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60796         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60797         (MAX_VALUE): New macro.
60798         (MIN_VALUE): Likewise.
60799         (overflow_value): New function.
60800         (underflow_value): Likewise.
60801         (round_and_return): Use overflow_value and underflow_value to
60802         determine return values in overflow and underflow cases.  Use
60803         round_away to determine rounding depending on rounding mode.
60804         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60805         determine return values in overflow and underflow cases.
60806         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60807         (struct test_results): New structure.
60808         (struct test): Use struct test_results to store expected results
60809         for all rounding modes.
60810         (TEST): Include expected results for all rounding modes.
60811         (test_in_one_mode): New function.
60812         (do_test): Use test_in_one_mode to compute and check results.
60813         Check results for all rounding modes.
60814         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60815         $(link-libm).
60817 2012-12-09  Allan McRae  <allan@archlinux.org>
60819         * sysdeps/i386/fpu/libm-test-ulps: Update
60821 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60823         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60824         (_G_int32_t): Likewise.
60825         (_G_uint16_t): Likewise.
60826         (_G_uint32_t): Likewise.
60827         (_G_HAVE_BOOL): Likewise.
60828         (_G_HAVE_ATEXIT): Likewise.
60829         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60830         (_G_HAVE_IO_FILE_OPEN): Likewise.
60831         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60832         (_G_int32_t): Likewise.
60833         (_G_uint16_t): Likewise.
60834         (_G_uint32_t): Likewise.
60835         (_G_HAVE_BOOL): Likewise.
60836         (_G_HAVE_ATEXIT): Likewise.
60837         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60838         (_G_HAVE_IO_FILE_OPEN): Likewise.
60839         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60840         (_G_int32_t): Likewise.
60841         (_G_uint16_t): Likewise.
60842         (_G_uint32_t): Likewise.
60843         (_G_HAVE_BOOL): Likewise.
60844         (_G_HAVE_ATEXIT): Likewise.
60845         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60846         (_G_HAVE_IO_FILE_OPEN): Likewise.
60848 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60850         * csu/libc-tls.c: Update copyright years.
60852 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60854         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60855         [!_G_USING_THUNKS]: Remove conditional code.
60856         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60857         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60859         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60860         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60861         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60862         (_G_VTABLE_LABEL_PREFIX): Likewise.
60863         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60864         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60865         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60866         (_G_VTABLE_LABEL_PREFIX): Likewise.
60867         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60868         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60869         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60870         (_G_VTABLE_LABEL_PREFIX): Likewise.
60871         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60873 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60875         * libio/Makefile: Include ../Makeconfig before tests.
60876         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60877         only if $(build-shared) is yes.
60879         * iconv/gconv_db.c: Update copyright years.
60881 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60883         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60884         unwind info if defined PIC. Fix special cases description.
60885         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60887         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60888         DP_HI_MASK entry.
60889         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60891 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60893         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60895         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60896         is NULL.
60898         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60899         (LDLIBS-tst-chk4): This.
60900         (LDFLAGS-tst-chk5): Renamed to ...
60901         (LDLIBS-tst-chk5): This.
60902         (LDFLAGS-tst-chk6): Renamed to ...
60903         (LDLIBS-tst-chk6): This.
60904         (LDFLAGS-tst-lfschk4): Renamed to ...
60905         (LDLIBS-tst-lfschk4): This.
60906         (LDFLAGS-tst-lfschk5): Renamed to ...
60907         (LDLIBS-tst-lfschk5): This.
60908         (LDFLAGS-tst-lfschk6): Renamed to ...
60909         (LDLIBS-tst-lfschk6): This.
60911         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60912         on $(common-objpfx)soversions.mk.
60914 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60916         [BZ #10014]
60917         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60918         example host name.
60920 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60922         * malloc/arena.c (arena_get_retry): New function that gets
60923         another arena for the caller to try its request on.
60924         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60925         current arena cannot fulfill the request.
60926         (__libc_memalign): Likewise.
60927         (__libc_memalign): Likewise.
60928         (__libc_pvalloc): Likewise.
60929         (__libc_calloc): Likewise.
60931 2012-09-05  John Tobey  <john.tobey@gmail.com>
60933         [BZ #13542]
60934         * manual/arith.texi (Operations on Complex): Fix description
60935         of carg branch cut.
60937 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60939         [BZ #10014]
60940         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60941         host name.
60943         [BZ #10038]
60944         * manual/memory.texi (Memory): Make order of menu items match
60945         order of sections.
60947 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60949         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60950         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60951         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60953 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60955         * csu/libc-tls.c (static_dtv): Renamed to ...
60956         (_dl_static_dtv): This.  Make it global.
60957         (_dl_initial_dtv): Removed.
60958         (__libc_setup_tls): Updated.
60959         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60960         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60961         DL_INITIAL_DTV.
60963 2012-09-06  Petr Machata  <pmachata@redhat.com>
60965         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60966         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60967         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60968         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60970 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60972         [BZ #14545]
60973         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60974         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60975         freeing dtv[-1].
60977 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60979         [BZ #14544]
60980         * Makeconfig (link-static-before-libc): Replace $(+prector)
60981         with $(+prectorT).
60982         (link-static-after-libc): Replace $(+postctor) with
60983         $(+postctorT).
60984         (link-bounded): Replace $(+prector)/$(+postctor) with
60985         $(+prectorT)/$(+postctorT).
60986         (+prectorT): New macro.
60987         (+postctorT): Likewise.
60989 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60991         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60992         (round_str): Handle values above the maximum for IBM long double
60993         as inexact.
60994         * stdlib/tst-strtod-round.c (tests): Regenerated.
60996 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60998         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60999         assembler flag.
61000         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61001         zarch_nohighgprs around the zarch optimized routines.
61002         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61003         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61004         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61005         for zarch.
61007 2012-09-05  David S. Miller  <davem@davemloft.net>
61009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61011         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61012         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61013         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61014         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61015         entries.
61017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61019         * malloc/arena.c: Fold copyright years.
61020         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61022 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61024         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61026 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61028         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61030 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61032         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61033         change internal state upon failure.
61035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61037         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61038         * malloc/memusage.c (mmap): Likewise.
61039         (mmap64, mremap): Likewise.  Adjust name in comment.
61041 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61043         * libio/fileops.c: Fix typos in comments.
61044         * libio/oldfileops.c: Likewise.
61045         * libio/wfileops.c: Likewise.
61047 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61049         [BZ #1349]
61050         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61051         (tst-malloc-usable-ENV): Set environment for test case.
61052         * malloc/hooks.c (malloc_check_get_size): New function to get
61053         requested size.
61054         * malloc/malloc.c (musable): Use malloc_check_get_size.
61055         * malloc/tst-malloc-usable.c: New test case.
61057 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61059         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61061 2012-09-05  Allan McRae  <allan@archlinux.org>
61063         [BZ #13966]
61064         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61065         determine header location.
61066         * configure: Regenerated.
61068 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61070         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61071         float format.
61072         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61073         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61074         format.
61075         (test): Regenerate.
61077 2012-09-04  David S. Miller  <davem@davemloft.net>
61079         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61080         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61081         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61083 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61085         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61086         failures.
61088         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61090 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61092         [BZ #9914]
61093         * libio/iogetdelim.c: Include <limits.h>.
61094         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61095         + len + 1 would overflow.
61097 2012-09-03  Andreas Jaeger  <aj@suse.de>
61099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61100         * sysdeps/i386/fpu/libm-test-ulps: Update.
61102 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61104         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61105         Add s_sinf-sse2, s_conf-sse2.
61107         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61108         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61109         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61110         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61112         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61113         for using routine as __sinf_ia32.
61114         Use macro for function declaration and weak_alias.
61115         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61116         for using routine as __cosf_ia32.
61117         Use macro for function declaration and weak_alias.
61119         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61120         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61122         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61123         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61126         * math/libm-test.inc (cos_test): Add more test cases.
61127         (sin_test): Likewise.
61128         (sincos_test): Likewise.
61130 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61132         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61133         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61134         hidden.
61135         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61137 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61139         [BZ #14538]
61140         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61141         first element of the GOT.
61142         (elf_machine_load_address): Return the difference between
61143         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61145 2012-09-01  Allan McRae  <allan@archlinux.org>
61147         [BZ #13412]
61148         * configure.in (AWK): Require gawk version 3.0 or later.
61149         * configure: Regenerated.
61151 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61153         * sysdeps/unix/sysv/linux/kernel-features.h
61154         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61155         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61156         [__NR_clock_getres]: Make code unconditional.
61157         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61158         (clock_getcpuclockid): Remove code left unreachable by removal of
61159         conditionals.
61160         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61161         code unconditional.
61162         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61163         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61164         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61165         Make code unconditional.
61166         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61167         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61168         * sysdeps/unix/sysv/linux/clock_settime.c
61169         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61170         conditional code.
61171         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61172         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61174 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61176         [BZ #14476]
61177         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61178         scripts/test-installation.pl.
61180         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61181         and $ld_so_version if it is set.
61183 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61185         [BZ #14516]
61186         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61187         failure if reading from procfs failed.
61188         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61190 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61192         * sysdeps/unix/sysv/linux/kernel-features.h
61193         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61194         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61195         Remove conditional code.
61196         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61197         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61198         Remove conditional code.
61199         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61200         * sysdeps/unix/sysv/linux/i386/fxstat.c
61201         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61202         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61203         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61204         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61206         * sysdeps/unix/sysv/linux/i386/lxstat.c
61207         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61209         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61210         Remove conditional code.
61211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61212         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61213         Remove conditional code.
61214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61215         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61216         <kernel-features.h>.
61217         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61218         Remove.
61219         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61220         Remove conditional code.
61221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61222         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61223         Remove conditional.
61225 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61227         [BZ #5400]
61228         * NEWS: Add fixed bug number.
61230 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61232         [BZ #14519]
61233         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61234         underflowing exponent in case of negative sign.
61235         * stdlib/tst-strtod-round-data: Add more tests.
61236         * stdlib/tst-strtod-round.c (tests): Regenerated.
61238         [BZ #3479]
61239         * stdlib/strtod_l.c (NDIG): Remove.
61240         (HEXNDIG): Likewise.
61241         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61242         smallest representable value.
61243         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61244         lie within an exact representation of 1/2 ulp of the result.
61245         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61246         unconditionally.
61247         (TENS_P9_IDX): Define unconditionally.
61248         (TENS_P9_SIZE): Likewise.
61249         (TENS_P10_IDX): Likewise.
61250         (TENS_P10_SIZE): Likewise.
61251         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61252         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61253         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61254         entries for 10^2^13 and 10^2^14.
61255         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61256         (TENS_P13_IDX): Define.
61257         (TENS_P13_SIZE): Likewise.
61258         (TENS_P14_IDX): Likewise.
61259         (TENS_P14_SIZE): Likewise.
61260         (_fpioconst_pow10): Change array size to
61261         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61262         unconditional.
61263         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61264         1024]: Add entries for 10^2^13 and 10^2^14.
61265         [LAST_POW10 > _LAST_POW10]: Remove #error.
61266         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61267         (_fpioconst_pow10): Change array size to
61268         FPIOCONST_POW10_ARRAY_SIZE.
61269         * stdlib/gen-fpioconst.c: New file.
61270         * stdlib/gen-tst-strtod-round.c: Likewise.
61271         * stdlib/tst-strtod-round-data: Likewise.
61272         * stdlib/tst-strtod-round.c: Likewise.
61273         * stdlib/Makefile (tests): Add tst-strtod-round.
61275         [BZ #14459]
61276         * stdlib/strtod_l.c: Include <stdint.h>.
61277         (NDEBUG): Do not define.
61278         (round_and_return): Change EXPONENT parameter to type intmax_t.
61279         Rearrange calculations to avoid internal overflow possibilities.
61280         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61281         Rearrange calculations to avoid internal overflow possibilities.
61282         Assert that number fits inside MPNSIZE limbs.
61283         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61284         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61285         calculations and add assertions to avoid internal overflow
61286         possibilities.  Add casts to avoid signed/unsigned operations.
61287         * stdlib/tst-strtod-overflow.c: New file.
61288         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61290 2012-08-25  Marek Polacek  <polacek@redhat.com>
61292         * time/time.h: Fix some typos in comments.
61294 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61296         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61297         * posix/tst-rfc3484-2.c: Likewise.
61298         * posix/tst-rfc3484-3.c: Likewise.
61300 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61302         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61303         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61305 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61307         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61308         #include of fxstatat64.c.
61310 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61312         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61313         * shadow/getspent_r.c: Likewise.
61314         * shadow/getspnam.c: Likewise.
61315         * shadow/getspnam_r.c: Likewise.
61316         * gshadow/getsgent.c: Likewise.
61317         * gshadow/getsgent_r.c: Likewise.
61318         * gshadow/getsgnam.c: Likewise.
61319         * gshadow/getsgnam_r.c: Likewise.
61320         * inet/getnetbyad.c: Likewise.
61321         * inet/getnetbyad_r.c: Likewise.
61322         * inet/getnetbynm.c: Likewise.
61323         * inet/getnetbynm_r.c: Likewise.
61324         * inet/getnetent.c: Likewise.
61325         * inet/getnetent_r.c: Likewise.
61326         * inet/getproto.c: Likewise.
61327         * inet/getproto_r.c: Likewise.
61328         * inet/getprtent.c: Likewise.
61329         * inet/getprtent_r.c: Likewise.
61330         * inet/getprtname.c: Likewise.
61331         * inet/getprtname_r.c: Likewise.
61332         * inet/getrpcbyname.c: Likewise.
61333         * inet/getrpcbyname_r.c: Likewise.
61334         * inet/getrpcbynumber.c: Likewise.
61335         * inet/getrpcbynumber_r.c: Likewise.
61336         * inet/getrpcent.c: Likewise.
61337         * inet/getrpcent_r.c: Likewise.
61338         * inet/getaliasent.c: Likewise.
61339         * inet/getaliasent_r.c: Likewise.
61340         * inet/getaliasname.c: Likewise.
61341         * inet/getaliasname_r.c: Likewise.
61342         * nscd/getgrgid_r.c: Likewise.
61343         * nscd/getgrnam_r.c: Likewise.
61344         * nscd/gethstbyad_r.c: Likewise.
61345         * nscd/gethstbynm3_r.c: Likewise.
61346         * nscd/getpwnam_r.c: Likewise.
61347         * nscd/getpwuid_r.c: Likewise.
61348         * nscd/getsrvbynm_r.c: Likewise.
61349         * nscd/getsrvbypt_r.c: Likewise.
61350         * nscd/gai.c: Likewise.
61352         * configure.in (build_nscd): New substituted variable, set
61353         by --disable-build-nscd and defaults to $use_nscd.
61354         * configure: Regenerated.
61355         * config.make.in (build-nscd): New substituted variable.
61356         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61357         Change conditional to require [$(build-nscd) = yes] as well.
61358         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61360         [BZ# 13696]
61361         * configure.in (use_nscd): New substituted variable, set by
61362         --disable-nscd.  If enabled, define USE_NSCD.
61363         * configure: Regenerated.
61364         * config.h.in: Add USE_NSCD.
61365         * config.make.in (use-nscd): New substituted variable.
61366         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61367         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61368         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61369         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61370         (CFLAGS-getgrnam_r.c): Likewise.
61371         (CFLAGS-initgroups.c): Likewise.
61372         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61373         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61374         Variables removed.
61375         * inet/getnetgrent_r.c
61376         (nscd_setnetgrent): New function, broken out of ...
61377         (setnetgrent): ... here.  Call it.
61378         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61379         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61380         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61381         * nscd/Makefile (routines, aux): Move definitions after include of
61382         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61383         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61384         Conditionalize on [USE_NSCD].
61385         (is_nscd, nscd_init_cb): Likewise.
61386         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61387         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61388         * nss/nss_db/db-init.c: Likewise.
61389         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61390         [USE_NSCD].
61391         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61392         (make_request): Use it.
61393         (cache_valid_p): New function.
61394         (__check_pf): Use it.
61395         * NEWS: Add item for --disable-nscd.
61397 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61399         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61400         to support sed >= 4.2.1-20-ga9bf076.
61401         * configure: Regenerated.
61403 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61405         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61406         Conditionalize whole body on [IREL].
61408 2012-08-22  Jeff Law <law@redhat.com>
61410         [BZ #14505]
61411         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61412         if the family is PF_UNSPEC.
61414 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61416         * Makerules (lib-version): Rename from V.
61417         (install-lib-nosubdir): Change V to lib-version.
61419 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61421         [BZ #14252]
61422         * powerpc32/power6/wcschr.c: New file.
61423         * powerpc32/power6/wcscpy.c: New file.
61424         * powerpc32/power6/wcsrchr.c: New file.
61425         * powerpc64/power6/wcschr.c: New file.
61426         * powerpc64/power6/wcscpy.c: New file.
61427         * powerpc64/power6/wcsrchr.c: New file.
61429 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61431         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61432         (two_way_short_needle): Use it.
61433         * string/strstr.c (AVAILABLE1_USES_J): Define.
61434         * string/strcasestr.c: Likewise.
61436         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61437         array references.
61438         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61440         [BZ #11607]
61441         * NEWS: Add an entry.
61442         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61443         define their defaults.
61444         (two_way_short_needle): Detect end-of-string on-the-fly.
61445         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61446         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61447         * string/bug-strcasestr1.c: New test.
61448         * string/Makefile: Run it.
61450 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61452         [BZ #11607]
61453         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61454         the first character.
61456 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61458         * csu/elf-init.c (__libc_csu_irel): Function removed.
61459         * csu/libc-start.c (apply_irel): New function.
61460         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61462 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61464         * sysdeps/unix/sysv/linux/kernel-features.h
61465         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61466         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61467         <kernel-features.h>.
61468         [__NR_fadvise64_64]: Make code unconditional.
61469         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61470         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61471         !__NR_fadvise64_64)]: Likewise.
61472         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61473         !__NR_fadvise64_64))]: Likewise.
61474         [__NR_fadvise64]: Make code unconditional.
61475         [!__NR_fadvise64]: Remove conditional code.
61476         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61477         <kernel-features.h>.
61478         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61479         unconditional.
61480         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61481         conditional code.
61482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61483         not include <kernel-features.h>.
61484         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61485         unconditional.
61486         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61487         conditional code.
61488         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61489         include <kernel-features.h>.
61490         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61491         unconditional.
61492         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61493         conditional code.
61495 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61497         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61498         slight instruction rearrangements per scrollpipe analysis.
61499         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61501 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61503         * manual/syslog.texi (syslog; vsyslog, closelog):
61504         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61505         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61507         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61508         DSOCAPS to match condition on defining it.
61510 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61512         * sysdeps/unix/sysv/linux/kernel-features.h
61513         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61515         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61516         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61518         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61519         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61521         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61522         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61524         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61525         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61527         * sysdeps/unix/sysv/linux/kernel-features.h
61528         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61529         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61530         unconditional.
61531         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61532         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61533         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61534         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61535         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61536         Make code unconditional.
61537         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61538         (__mmap64) [!__NR_mmap2]: Likewise.
61539         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61540         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61541         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61542         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61543         [__NR_mmap2]: Make code unconditional.
61544         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61545         (__mmap64) [!__NR_mmap2]: Likewise.
61547 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61549         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61551 2012-08-18  Andreas Jaeger  <aj@suse.de>
61553         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61555 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61557         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61558         * include/unistd.h (__have_sock_cloexec): Likewise.
61559         (__have_pipe2): Likewise.
61560         (__have_dup3): Likewise.
61562 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61564         [BZ #9685]
61565         * include/unistd.h (__have_pipe2): Change define into an extern int.
61566         (__have_dup3): Likewise.
61567         * socket/have_sock_cloexec.c: Include fcntl.h.
61568         (__have_pipe2): New variable.
61569         (__have_dup3): Likewise.
61571 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61573         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61575 2012-08-17  Marek Polacek  <polacek@redhat.com>
61577         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61578         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61580 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61582         * configure.in: Add AC_SUBST for sysheaders.
61583         * configure: Regenerated.
61584         * config.make.in (sysheaders): New substituted variable.
61586         * sysdeps/unix/mkfifo.c: Moved ...
61587         * sysdeps/posix/mkfifo.c: ... here.
61588         * sysdeps/unix/mkfifoat.c: Moved ...
61589         * sysdeps/posix/mkfifoat.c: ... here.
61591         * sysdeps/unix/utime.c: Moved ...
61592         * sysdeps/posix/utime.c: ... here.
61594         * sysdeps/unix/time.c: Moved ...
61595         * sysdeps/posix/time.c: ... here.
61596         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61597         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61599         * sysdeps/unix/nice.c: Moved ...
61600         * sysdeps/posix/nice.c: ... here.
61602         * sysdeps/unix/alarm.c: Moved ...
61603         * sysdeps/posix/alarm.c: ... here.
61605         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61607 2012-08-17  Jeff Law <law@redhat.com>
61609         * intl/Makefile (codeset_mo): New variable.
61610         ($(codeset_mo)): New target.
61611         (tst-codeset.out): Depend on that.  Remove explicit rule.
61612         (tst-gettext3.out, tst-gettext5.out): Likewise.
61613         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61614         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61615         * intl/tst-codeset.sh: Remove.
61616         * intl/tst-gettext3.sh: Likewise.
61617         * intl/tst-gettext5.sh: Likewise.
61619 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61621         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61622         * sysdeps/unix/syscalls.list: ... here.
61624         * sysdeps/posix/getaddrinfo.c
61625         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61626         (gaiconf_init, gaiconf_reload): Use them.
61627         [!_STATBUF_ST_NSEC]
61628         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61629         Define using time_t rather than struct timespec.
61631         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61632         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61633         Macros removed.
61634         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61635         [!NO_THREADS].
61636         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61637         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61638         Likewise.
61640         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61641         __libc_cleanup_push argument.
61643         * bits/param.h: New file.
61644         * misc/sys/param.h: New file.
61645         * include/sys/param.h: New file.
61646         * misc/Makefile (headers): Add bits/param.h.
61647         * sysdeps/generic/sys/param.h: File removed.
61648         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61649         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61650         * sysdeps/mach/hurd/bits/param.h: New file.
61651         * sysdeps/mach/hurd/sys/param.h: File removed.
61653         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61654         last change.
61656         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61657         [_IO_MTSAFE_IO].
61658         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61659         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61660         New macros.
61662         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61663         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61664         rather than -D_IO_MTSAFE_IO conditionally.
61665         * stdio-common/Makefile (CPPFLAGS): Likewise.
61666         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61667         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61668         Use $(libio-mtsafe).
61669         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61670         of -D_IO_MTSAFE_IO.
61671         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61672         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61673         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61674         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61675         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61676         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61677         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61678         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61679         (CFLAGS-fread_u_chk.c): Likewise.
61680         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61681         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61682         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61683         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61684         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61685         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61686         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61687         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61688         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61690         * libio/Makefile: Test [$(libc-reentrant) = yes]
61691         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61693         * Makeconfig
61694         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61695         * sysdeps/pthread/configure: File removed.
61696         * sysdeps/pthread/Makeconfig: New file.
61697         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61698         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61700 2012-08-16  Gary Benson  <gbenson@redhat.com>
61702         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61703         unmapping the first object in a namespace.
61705 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61707         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61708         (__internal_setnetgrent): ... this.  Add internal_function to
61709         definition.  Add libc_hidden_def.
61710         (setnetgrent): Update caller.
61711         (internal_endnetgrent): Renamed to ...
61712         (__internal_endnetgrent): ... this.  Add internal_function to
61713         definition.  Add libc_hidden_def.
61714         (endnetgrent): Update caller.
61715         (internal_getnetgrent_r): Renamed to ...
61716         (__internal_getnetgrent_r): ... this.  Add internal_function to
61717         definition.  Add libc_hidden_def.
61718         (__getnetgrent_r): Update caller.
61719         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61721 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61723         * stdlib/longlong.h: Update from GCC.
61725 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61727         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61728         on _QL, which is set by umul_ppmm but never used.
61729         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61730         variables, which are set by GMP macros but never used.
61731         * stdio-common/_itowa.c (_itowa): Likewise.
61732         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61733         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61735 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61737         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61738         struct La_sh_regs is not constant.
61739         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61740         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61741         and struct La_sparc64_regs are not constant.
61743 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61745         * sysdeps/unix/sysv/linux/kernel-features.h
61746         (__ASSUME_POSIX_TIMERS): Remove.
61747         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61748         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61749         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61750         Make code unconditional.
61751         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61752         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61753         Make code unconditional.
61754         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61755         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61756         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61757         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61758         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61759         Make code unconditional.
61760         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61761         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61762         (__libc_missing_posix_timers): Remove.
61764 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61766         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61767         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61769         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61771         * elf/dl-sym.c: Include <stdlib.h>.
61773         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61774         constants, which avoids warnings in 32-bit builds.
61776         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61777         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61779         * misc/lseek.c: File moved to ...
61780         * io/lseek.c: ... here.
61782         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61784         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61785         shifting LEN more than 31 bits at once.
61787 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61789         [BZ #14195]
61790         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61791         segmentation fault for a case of two empty input strings.
61792         * string/test-strncasecmp.c (check1): Renamed to...
61793         (bz12205): ...this.
61794         (bz14195): Add new testcase for two empty input strings and N > 0.
61795         (test_main): Call new testcase, adapt for renamed function.
61797 2012-08-15  Andreas Jaeger  <aj@suse.de>
61799         [BZ #14090]
61800         * crypt/md5test2.c: New test, based on test supplied by Serge
61801         Belyshev <belyshev@depni.sinp.msu.ru>.
61802         * crypt/Makefile (xtests): Add md5test-giant..
61803         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61805 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61807         [BZ #14090]
61808         * crypt/md5.c (md5_process_block): Don't assume the buffer
61809         length is less than 2**32.
61810         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61811         length is less than 2**64.
61813 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61815         * string/str-two-way.h: Include <sys/param.h>.
61816         (MAX): Macro removed.
61818         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61819         Move #define and #undef of memmove to just before and after
61820         including <string.h>.
61822         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61823         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61824         and after including <string.h>.  Move declarations of
61825         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61826         to before #include "string/memmove.c".
61828         * include/dirent.h: Declare __getdirentries.
61830         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61831         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61833 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61835         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61836         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61837         * sysdeps/i386/configure: Regenerated.
61838         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61839         STABS_CURRENT_FILE, and STABS_FUN.
61840         (END): Remove call to STABS_FUN_END.
61841         (STABS_CURRENT_FILE1): Delete.
61842         (STABS_CURRENT_FILE): Likewise.
61843         (STABS_FUN): Likewise.
61844         (STABS_FUN_END): Likewise.
61845         (STABS_FUN2): Likewise.
61846         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61847         * sysdeps/x86_64/configure: Regenerated.
61849 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61851         * elf/dl-open.c: Include <atomic.h>.
61852         * elf/dl-lookup.c: Likewise.
61854 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61856         * sysdeps/unix/sysv/linux/kernel-features.h
61857         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61858         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61859         unconditionally.
61860         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61861         unconditionally.
61862         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61863         condition on __ASSUME_CLONE_THREAD_FLAGS.
61865 2012-08-14  Andreas Jaeger  <aj@suse.de>
61867         * sysdeps/i386/fpu/libm-test-ulps: Update.
61869 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61871         * include/atomic.h (atomic_exchange_and_add): Split into ...
61872         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61873         New atomic macros.
61875 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61879 2012-08-13  Jeff Law <law@redhat.com>
61881         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61882         null byte in the output string.
61884 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61886         * sysdeps/unix/sysv/linux/kernel-features.h
61887         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61888         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61889         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61890         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61891         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61892         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61893         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61895 2012-08-09  Jeff Law <law@redhat.com>
61897         [BZ #13939]
61898         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61899         When avoid_arena is set, don't retry in the that arena.  Pick the
61900         next one, whatever it might be.
61901         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61902         (arena_lock): Pass in new parameter to arena_get2.
61903         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61904         arena_get2.
61905         (__libc_malloc): Unify retrying after main arena failure with
61906         __libc_memalign version.
61907         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61909 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61911         [BZ #14166]
61912         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61913         to __redirect_strstr.
61914         (__strstr_sse42): Use typeof __redirect_strstr.
61915         (__strstr_ia32): Likewise.
61916         (__libc_strstr): New prototype.
61917         (strstr): Renamed to ...
61918         (__libc_strstr): This.
61919         (strstr): New strong alias of __libc_strstr.
61920         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61921         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61922         __redirect_time.
61923         Include <time.h>.
61924         (__libc_time): New prototype.
61925         (time_ifunc): Replace time with __libc_time.
61926         (time): New strong alias and hidden definition of __libc_time.
61927         (__GI_time): Remove strong alias.
61928         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61929         Include <stddef.h>.
61930         (memmove): Redefined to __redirect_memmove.
61931         (__memmove_sse2): Use typeof __redirect_memmove.
61932         (__memmove_ssse3): Likewise.
61933         (__memmove_ssse3_back): Likewise.
61934         (__libc_memmove): New prototype.
61935         (memmove): Renamed to ...
61936         (__libc_memmove): This.
61937         (memmove): New strong alias of __libc_memmove.
61939 2012-08-08  Mark Salter  <msalter@redhat.com>
61941         * elf/elf.h
61942         (R_MN10300_TLS_GD): Define.
61943         (R_MN10300_TLS_LD): Likewise.
61944         (R_MN10300_TLS_LDO): Likewise.
61945         (R_MN10300_TLS_GOTIE): Likewise.
61946         (R_MN10300_TLS_IE): Likewise.
61947         (R_MN10300_TLS_LE): Likewise.
61948         (R_MN10300_TLS_DTPMOD): Likewise.
61949         (R_MN10300_TLS_DTPOFF): Likewise.
61950         (R_MN10300_TLS_TPOFF): Likewise.
61951         (R_MN10300_SYM_DIFF): Likewise.
61952         (R_MN10300_ALIGN): Likewise.
61953         (R_MN10300_NUM): Update.
61955 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61958         Remove.
61960 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61962         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61964         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61965         sysdeps/unix -> sysdeps/posix move.
61966         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61968 2012-08-07      Allan McRae     <allan@archlinux.org>
61970         [BZ #14303]
61971         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61972         (SUNOS_CPP): Likewise.
61973         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61974         not found.
61975         (open_input): Call CPP using execvp.
61977 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61979         * sysdeps/unix/sysv/linux/kernel-features.h
61980         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61981         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61982         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61983         (__ASSUME_WAITID_SYSCALL): Likewise.
61984         * sysdeps/unix/sysv/linux/dl-execstack.c
61985         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61986         code unconditional.
61987         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61988         conditional code.
61989         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61990         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61991         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61992         code.
61993         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61994         unconditional.
61995         [__ASSUME_WAITID_SYSCALL]: Likewise.
61996         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61998 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62000         * sysdeps/unix/closedir.c: Renamed to ...
62001         * sysdeps/posix/closedir.c: ... here.
62002         * sysdeps/unix/dirfd.c: Renamed to ...
62003         * sysdeps/posix/dirfd.c: ... here.
62004         * sysdeps/unix/dirstream.h: Renamed to ...
62005         * sysdeps/posix/dirstream.h: ... here.
62006         * sysdeps/unix/fdopendir.c: Renamed to ...
62007         * sysdeps/posix/fdopendir.c: ... here.
62008         * sysdeps/unix/opendir.c: Renamed to ...
62009         * sysdeps/posix/opendir.c: ... here.
62010         * sysdeps/unix/readdir.c: Renamed to ...
62011         * sysdeps/posix/readdir.c: ... here.
62012         * sysdeps/unix/readdir_r.c: Renamed to ...
62013         * sysdeps/posix/readdir_r.c: ... here.
62014         * sysdeps/unix/rewinddir.c: Renamed to ...
62015         * sysdeps/posix/rewinddir.c: ... here.
62016         * sysdeps/unix/seekdir.c: Renamed to ...
62017         * sysdeps/posix/seekdir.c: ... here.
62018         * sysdeps/unix/telldir.c: Renamed to ...
62019         * sysdeps/posix/telldir.c: ... here.
62020         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62021         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62022         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62023         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62025         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62026         * bits/fcntl.h: ... here.
62028         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62029         not 0.
62030         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62031         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62032         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62033         (struct flock): Move l_start, l_len to the beginning.
62034         Use __pid_t for l_pid.
62035         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62036         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62037         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62038         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62039         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62040         [__USE_LARGEFILE64] (struct flock64): New type.
62041         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62043         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62044         * bits/dirent.h: ... here.
62046         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62047         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62049 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62051         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62052         Change from 2.6.0 to 2.6.16.
62053         * sysdeps/unix/sysv/linux/configure: Regenerated.
62054         * sysdeps/unix/sysv/linux/kernel-features.h
62055         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62056         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62057         version.
62058         (__ASSUME_UTIMES): Likewise.
62059         (__ASSUME_CLONE_STOPPED): Remove.
62060         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62061         architectures, not kernel version.
62062         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62063         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62064         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62065         (__ASSUME_WAITID_SYSCALL): Likewise.
62066         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62067         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62068         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62069         refer to older versions.
62071 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62073         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62074         Define alphasort64 as an alias.
62075         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62076         Define versionsort64 as an alias.
62077         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62078         Define scandir64 as an alias.
62079         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62080         Define scandirat64 as an alias.
62081         * dirent/alphasort64.c (alphasort64):
62082         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62083         * dirent/versionsort64.c: Likewise.
62084         * dirent/scandir64.c: Likewise.
62085         * dirent/scandirat64.c: Likewise.
62086         * sysdeps/wordsize-64/alphasort.c: File removed.
62087         * sysdeps/wordsize-64/alphasort64.c: File removed.
62088         * sysdeps/wordsize-64/scandir.c: File removed.
62089         * sysdeps/wordsize-64/scandir64.c: File removed.
62090         * sysdeps/wordsize-64/scandirat.c: File removed.
62091         * sysdeps/wordsize-64/scandirat64.c: File removed.
62092         * sysdeps/wordsize-64/versionsort.c: File removed.
62093         * sysdeps/wordsize-64/versionsort64.c: File removed.
62094         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62095         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62096         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62097         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62098         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62099         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62100         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62101         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62103         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62104         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62105         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62106         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62107         [defined __arch64__ || defined __sparcv9]
62108         (__INO_T_MATCHES_INO64_T): New macro.
62109         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62110         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62111         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62112         * sysdeps/unix/sysv/linux/bits/dirent.h
62113         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62114         (_DIRENT_MATCHES_DIRENT64): New macro.
62116         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62117         Define lockf64 as an alias.
62118         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62119         Define fseeko64 as an alias.
62120         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62121         Define ftello64 as an alias.
62122         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62123         Define _IO_fgetpos64 and fgetpos64 as aliases.
62124         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62125         Define _IO_fsetpos64 and fsetpos64 as aliases.
62126         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62127         Conditionalize body on this.
62128         * libio/fseeko64.c: Likewise.
62129         * libio/ftello64.c: Likewise.
62130         * libio/iofgetpos64.c: Likewise.
62131         * libio/iofsetpos64.c: Likewise.
62132         * sysdeps/wordsize-64/lockf.c: File removed.
62133         * sysdeps/wordsize-64/lockf64.c: File removed.
62134         * sysdeps/wordsize-64/fseeko.c: File removed.
62135         * sysdeps/wordsize-64/fseeko64.c: File removed.
62136         * sysdeps/wordsize-64/ftello.c: File removed.
62137         * sysdeps/wordsize-64/ftello64.c: File removed.
62138         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62139         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62140         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62141         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62142         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62143         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62144         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62145         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62146         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62147         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62148         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62149         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62150         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62151         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62153         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62154         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62155         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62156         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62157         [defined __arch64__ || defined __sparcv9]
62158         (__OFF_T_MATCHES_OFF64_T): New macro.
62159         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62160         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62162         (__OFF_T_MATCHES_OFF64_T): New macro.
62164 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62166         * stdlib/secure-getenv.c (__secure_getenv): Replace
62167         GLIBC_2_16 with GLIBC_2_17.
62169 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62171         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62172         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62174 2012-08-03  David S. Miller  <davem@davemloft.net>
62176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62178 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62180         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62181         Remove.
62182         (__ASSUME_CORRECT_SI_PID): Likewise.
62183         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62184         (__ASSUME_TMPFS_NAME): Likewise.
62185         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62186         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62187         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62188         (HAVE_AUX_SECURE): Make definition unconditional.
62189         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62190         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62192 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62194         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62195         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62196         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62197         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62198         __eloop_threshold instead of SYMLOOP_MAX.
62200         * sysdeps/generic/eloop-threshold.h: New file.
62201         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62202         of MAXSYMLINKS.
62203         * elf/chroot_canon.c (chroot_canon): Likewise.
62205 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62207         [BZ #13717]
62208         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62209         Change to 2.6.0 everywhere.
62210         * sysdeps/unix/sysv/linux/configure: Regenerated.
62211         * sysdeps/unix/sysv/linux/kernel-features.h
62212         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62213         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62214         kernel versions.
62215         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62216         (__ASSUME_FUTEX_REQUEUE): Remove.
62217         (__ASSUME_STATFS64): Define unconditionally.
62218         (__ASSUME_AT_SECURE): Likewise.
62219         (__ASSUME_CORRECT_SI_PID): Likewise.
62220         (__ASSUME_TGKILL): Define without depending on kernel version for
62221         i386.
62222         (__ASSUME_UTIMES): Likewise.
62223         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62224         kernel version.
62225         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62226         (__ASSUME_TMPFS_NAME): Likewise.
62227         * README: Update reference to Linux kernel versions.
62229 2012-08-02  Marek Polacek  <polacek@redhat.com>
62231         [BZ# 14150]
62232         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62233         libc_cv_asm_type_prefix with %.
62234         * configure: Regenerated.
62235         * include/libc-symbols.h: Remove comment about
62236         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62237         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62238         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62239         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62240         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62241         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62242         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62243         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62244         * elf/tst-unique2mod1.c: Likewise.
62245         * elf/tst-unique1mod2.c: Likewise.
62246         * elf/tst-unique1mod1.c: Likewise.
62247         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62248         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62249         Replace ASM_TYPE_DIRECTIVE with .type.
62250         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62251         * sysdeps/i386/sysdep.h: Likewise.
62252         * sysdeps/x86_64/sysdep.h: Likewise.
62253         * sysdeps/sh/sysdep.h: Likewise.
62254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62255         Do not define ASM_TYPE_DIRECTIVE.
62256         * sysdeps/powerpc/sysdep.h: Likewise.
62257         * sysdeps/powerpc/powerpc32/sysdep.h:
62258         Replace ASM_TYPE_DIRECTIVE with .type.
62259         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62260         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62261         * sysdeps/i386/fpu/e_powf.S: Likewise.
62262         * sysdeps/i386/fpu/e_expl.S: Likewise.
62263         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62264         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62265         * sysdeps/i386/fpu/e_pow.S: Likewise.
62266         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62267         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62268         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62269         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62270         * sysdeps/i386/fpu/e_log2.S: Likewise.
62271         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62272         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62273         * sysdeps/i386/fpu/e_powl.S: Likewise.
62274         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62275         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62276         * sysdeps/i386/fpu/e_logl.S: Likewise.
62277         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62278         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62279         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62280         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62281         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62282         * sysdeps/i386/fpu/e_log.S: Likewise.
62283         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62284         * sysdeps/i386/fpu/e_logf.S: Likewise.
62285         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62286         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62287         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62288         * sysdeps/i386/fpu/e_log10.S: Likewise.
62289         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62290         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62291         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62292         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62293         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62294         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62295         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62296         * sysdeps/i386/i686/strtok.S: Likewise.
62297         * sysdeps/i386/i386-mcount.S: Likewise.
62298         * sysdeps/i386/strtok.S: Likewise.
62299         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62300         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62301         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62302         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62303         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62304         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62305         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62306         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62307         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62308         * sysdeps/x86_64/_mcount.S: Likewise.
62309         * sysdeps/x86_64/strtok.S: Likewise.
62310         * sysdeps/sh/_mcount.S: Likewise.
62312 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62314         * libio/iofopen.c: Include <fcntl.h>.
62315         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62316         (_IO_fopen64, fopen64): Define as aliases.
62317         * libio/iofopen64.c: Include <fcntl.h>.
62318         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62319         Conditionalize body on this.
62320         * sysdeps/wordsize-64/iofopen.c: File removed.
62321         * sysdeps/wordsize-64/iofopen64.c: File removed.
62323 2012-08-01  Marek Polacek  <polacek@redhat.com>
62325         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62326         Use dlfcn directly instead of a variable.
62327         (binfmt-subdir): Do not define.
62328         (dlfcn): Likewise.
62330 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62332         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62333         Remove all definitions.
62334         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62335         <kernel-features.h>.
62336         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62337         (miss_F_GETOWN_EX): Remove all definitions.
62338         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62339         macro definition.
62340         [!__ASSUME_FCNTL64]: Remove conditional code.
62341         [__ASSUME_FCNTL64]: Make code unconditional.
62342         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62343         <kernel-features.h>.
62344         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62345         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62346         (lockf64) [__NR_fcntl64]: Make code unconditional.
62347         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62349         * sysdeps/unix/sysv/linux/kernel-features.h
62350         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62351         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62352         Make code unconditional.
62353         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62354         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62356         [__NR_vfork]: Make code unconditional.
62357         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62358         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62360         [__NR_vfork]: Make code unconditional.
62361         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62362         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62364 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62366         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62367         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62369         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62370         Define mkstemp64 as an alias.
62371         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62372         Define mkstemps64 as an alias.
62373         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62374         Define mkostemp64 as an alias.
62375         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62376         Define mkostemps64 as an alias.
62377         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62378         Conditionalize body on this.
62379         * misc/mkostemp64.c: Likewise.
62380         * misc/mkostemps64.c: Likewise.
62381         * misc/mkstemps64.c: Likewise.
62382         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62383         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62384         * sysdeps/wordsize-64/mkostemp.c: File removed.
62385         * sysdeps/wordsize-64/mkstemp.c: File removed.
62386         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62387         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62388         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62389         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62391         [BZ #14138]
62392         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62393         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62394         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62395         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62397         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62398         compat_symbol macros from <shlib-compat.h> rather than the underlying
62399         default_symbol_version and symbol_version macros, so that DEFAULT
62400         lines in shlib-versions are respected.
62401         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62403 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62405         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62406         Declare with warn_unused_result.
62407         (setgid, setregid, setegid, setresgid): Likewise.
62408         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62409         Likewise.
62410         * WUR-REPORT: Remove set*id functions.
62412 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62414         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62416 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62418         [BZ #10191]
62419         * include/sys/socket.h (__libc_accept, __libc_accept4):
62420         Add attribute_hidden.
62421         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62423         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62424         use of PTR_MANGLE.
62425         * inet/getnetgrent_r.c (setup): Likewise.
62427         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62429 2012-07-31  David S. Miller  <davem@davemloft.net>
62431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62433 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62435         [BZ #13629]
62436         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62437         value between 1.0 and 2.0 and smaller part has absolute value less
62438         than 1.0.
62439         * math/s_clog10.c (__clog10): Likewise.
62440         * math/s_clog10f.c (__clog10f): Likewise.
62441         * math/s_clog10l.c (__clog10l): Likewise.
62442         * math/s_clogf.c (__clogf): Likewise.
62443         * math/s_clogl.c (__clogl): Likewise.
62444         * math/libm-test.inc (clog_test): Add more tests.
62445         (clog10_test): Likewise.
62446         * sysdeps/i386/fpu/libm-test-ulps: Update.
62447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62449 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62451         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62452         Exit with zero in case no suitable GID is found, and write a
62453         message to standard error.
62455 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62457         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62458         rather than to 1.
62459         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62460         (MAXPATHLEN): Removed.
62461         (NOGROUP, NODEV): New macros.
62462         (setbit, clrbit, isset, isclr): New macros.
62463         (howmany, roundup, powerof2): New macros.
62464         (DEV_BSIZE): New macro.
62466         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62467         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62469         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62470         definition on [!__NO_LONG_DOUBLE_MATH].
62472         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62473         PTR_MANGLE and PTR_DEMANGLE.
62475         * socket/accept4.c (accept4): Rename to __libc_accept4.
62476         Define accept4 as a weak alias.
62478         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62479         on [_DIRENT_HAVE_D_TYPE].
62480         * io/ftw.c (ftw_dir): Likewise.
62482         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62484         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62486         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62487         Use the BSD numbers rather than the arbitrary ones we had.
62488         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62489         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62490         (SIGXCPU, SIGXFSZ): New macros.
62491         (_NSIG): Now 32.
62493         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62494         initializer on [_LIBC_REENTRANT].
62496         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62497         definitions inside [_POSIX_MAPPED_FILES].
62499         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62501         * dirent/opendir.c: Include <fcntl.h>.
62503         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62504         (__libc_getspecific): Likewise.
62505         (__libc_key_create): Likewise.
62507         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62508         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62509         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62510         (tmpfile64): Define as alias.
62511         * sysdeps/wordsize-64/tmpfile.c: File removed.
62512         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62513         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62514         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62516         * stdio-common/vfscanf.c: Include <stdbool.h>.
62517         * nss/makedb.c: Likewise.
62518         * stdio-common/_i18n_number.h: Likewise.
62519         * argp/argp-help.c: Likewise.
62520         * posix/wordexp.c: Likewise.
62521         * sysdeps/posix/spawni.c: Likewise.
62522         * nss/nss_files/files-initgroups.c: Likewise.
62523         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62524         * nss/nss_files/files-initgroups.c: Likewise.
62525         * nss/nss_db/db-netgrp.c: Likewise.
62526         * nss/nss_db/db-initgroups.c: Likewise.
62527         * io/fchmodat.c: Include <sys/stat.h>.
62529         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62530         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62532         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62533         [HAVE_MMAP].
62535         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62536         Add multiple inclusion protection.
62538 2012-07-27  David S. Miller  <davem@davemloft.net>
62540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62542 2012-07-27  Gary Benson  <gbenson@redhat.com>
62544         [BZ #14298]
62545         * elf/rtld.c: Include <stap-probe.h>.
62546         (dl_main): Added static probes "init_start" and "init_complete".
62547         * elf/dl-load.c: Include <stap-probe.h>.
62548         (lose): Take new parameter "nsid".
62549         Added static probe "map_failed".
62550         (_dl_map_object_from_fd): Pass namespace id to lose.
62551         Added static probe "map_start".
62552         (open_verify): Pass namespace id to lose.
62553         * elf/dl-open.c: Include <stap-probe.h>.
62554         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62555         and "reloc_complete".
62556         * elf/dl-close.c: Include <stap-probe.h>.
62557         (_dl_close_worker): Added static probes "unmap_start" and
62558         "unmap_complete".
62559         * elf/rtld-debugger-interface.txt: New file documenting the above.
62561 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62563         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62564         rather than a string variable.
62565         * sunrpc/rpc_main.c (h_output): Likewise.
62566         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62568 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62570         * inet/check_native.c: New file.
62572 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62574         [BZ #13629]
62575         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62576         if larger part has absolute value 1.0.
62577         * math/s_clog10.c (__clog10): Likewise.
62578         * math/s_clog10f.c (__clog10f): Likewise.
62579         * math/s_clog10l.c (__clog10l): Likewise.
62580         * math/s_clogf.c (__clogf): Likewise.
62581         * math/s_clogl.c (__clogl): Likewise.
62582         * math/libm-test.inc (clog_test): Add more tests.
62583         (clog10_test): Likewise.
62584         * sysdeps/i386/fpu/libm-test-ulps: Update.
62585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62587         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62588         (pltexit): Likewise.
62589         (La_regs): Likewise.
62590         (La_retval): Likewise.
62591         (int_retval): Likewise.
62592         Update #error for removed macros to refer only to definitions in
62593         tst-audit.h.
62594         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62595         macro.
62596         (pltexit): Likewise.
62597         (La_regs): Likewise.
62598         (La_retval): Likewise.
62599         (int_retval): Likewise.
62600         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62601         macro.
62602         (pltexit): Likewise.
62603         (La_regs): Likewise.
62604         (La_retval): Likewise.
62605         (int_retval): Likewise.
62606         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62607         macro.
62608         (pltexit): Likewise.
62609         (La_regs): Likewise.
62610         (La_retval): Likewise.
62611         (int_retval): Likewise.
62612         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62613         macro.
62614         (pltexit): Likewise.
62615         (La_regs): Likewise.
62616         (La_retval): Likewise.
62617         (int_retval): Likewise.
62618         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62619         macro.
62620         (pltexit): Likewise.
62621         (La_regs): Likewise.
62622         (La_retval): Likewise.
62623         (int_retval): Likewise.
62624         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62625         macro.
62626         (pltexit): Likewise.
62627         (La_regs): Likewise.
62628         (La_retval): Likewise.
62629         (int_retval): Likewise.
62630         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62631         macro definitions in tst-audit.h.
62632         * sysdeps/i386/tst-audit.h: New file.
62633         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62634         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62635         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62636         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62637         * sysdeps/sh/tst-audit.h: Likewise.
62638         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62639         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62640         * sysdeps/x86_64/tst-audit.h: Likewise.
62642 2012-07-26  Andreas Jaeger  <aj@suse.de>
62644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62645         ptrace.
62647         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62648         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62649         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62650         PTRACE_O_MASK.
62651         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62652         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62653         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62655         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62656         value.
62658         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62659         _sigsys.
62660         (si_call_addr, si_syscall, si_arch): Define new macro.
62661         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62662         _sigsys.
62663         (si_call_addr, si_syscall, si_arch): Define new marcro.
62664         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62665         _sigsys.
62666         (si_call_addr, si_syscall, si_arch): Define new macro.
62667         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62668         _sigsys.
62669         (si_call_addr, si_syscall, si_arch): Define new macro.
62671 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62673         [BZ #13717]
62674         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62675         Change to 2.4.21 where previously 2.4.1.
62676         * sysdeps/unix/sysv/linux/configure: Regenerated.
62677         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62678         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62679         Linux kernel version.
62680         (__ASSUME_STD_AUXV): Remove.
62681         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62682         kernel version.
62683         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62684         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62685         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62686         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62687         (__ASSUME_NETLINK_SUPPORT): Likewise.
62688         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62689         (__no_netlink_support): Remove conditional definition.
62690         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62691         Remove.
62692         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62693         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62694         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62695         (if_nameindex_ioctl): Remove.
62696         (if_nameindex_netlink): Do not handle __no_netlink_support.
62697         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62698         code.
62699         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62700         Remove conditional code.
62701         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62702         code.
62703         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62704         unconditional.
62705         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62706         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62707         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62708         Remove.
62709         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62710         [!__ASSUME_STD_AUXV]: Remove conditional code.
62711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62712         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62713         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62715         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62716         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62717         code.
62718         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62720         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62721         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62722         conditional code.
62723         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62725         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62726         code.
62727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62728         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62729         conditional code.
62730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62731         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62732         code unconditional.
62733         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62734         conditional code.
62735         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62736         unconditional.
62737         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62738         conditional code.
62739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62740         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62741         unconditional.
62742         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62743         conditional code.
62744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62745         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62746         code unconditional.
62747         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62748         conditional code.
62749         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62750         unconditional.
62751         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62752         conditional code.
62753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62754         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62755         code unconditional.
62756         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62757         conditional code.
62758         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62759         unconditional.
62760         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62761         conditional code.
62763 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62765         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62766         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62767         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62768         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62769         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62770         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62771         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62772         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62773         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62774         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62775         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62776         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62777         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62778         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62779         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62780         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62781         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62782         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62783         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62785         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62786         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62787         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62789 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62791         * Versions.def: Add GLIBC_2.17.
62792         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62793         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62794         Introduce __libc_secure_getenv.
62795         * stdlib/Versions (2.17): Add secure_getenv
62796         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62797         * stdlib/secure-getenv.c: Rename __secure_getenv to
62798         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62799         symbol __secure_getenv for GLIBC_2.0.
62800         * stdlib/tst-secure-getenv.c: New.
62801         * stdlib/Makefile (tests): Add testcase.
62802         * manual/startup.texi (Environment Access): Document
62803         secure_getenv.
62804         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62805         __libc_secure_getenv.
62806         * inet/ruserpass.c (ruserpass): Likewise.
62807         * malloc/mtrace.c (mtrace): Likewise.
62808         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62809         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62810         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62811         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62812         HAVE_SECURE_GETENV.
62813         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62814         __secure_getenv to __libc_secure_getenv.
62815         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62817         Likewise.
62818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62819         Likewise.
62820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62822         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62828 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62830         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62831         (struct La_i86_retval): Likewise.
62832         (struct La_x86_64_regs): Likewise.
62833         (struct La_x86_64_retval): Likewise.
62834         (struct La_x32_regs): Likewise.
62835         (struct La_x32_retval): Likewise.
62836         (struct La_ppc32_regs): Likewise.
62837         (struct La_ppc32_retval): Likewise.
62838         (struct La_ppc64_regs): Likewise.
62839         (struct La_ppc64_retval): Likewise.
62840         (struct La_sh_regs): Likewise.
62841         (struct La_sh_retval): Likewise.
62842         (struct La_s390_32_regs): Likewise.
62843         (struct La_s390_32_retval): Likewise.
62844         (struct La_s390_64_regs): Likewise.
62845         (struct La_s390_64_retval): Likewise.
62846         (struct La_sparc32_regs): Likewise.
62847         (struct La_sparc32_retval): Likewise.
62848         (struct La_sparc64_regs): Likewise.
62849         (struct La_sparc64_retval): Likewise.
62850         (struct audit_ifaces): Remove architecture-specific pltenter and
62851         pltexit members.
62852         * sysdeps/i386/ldsodefs.h: New file.
62853         * sysdeps/powerpc/ldsodefs.h: Likewise.
62854         * sysdeps/s390/ldsodefs.h: Likewise.
62855         * sysdeps/sh/ldsodefs.h: Likewise.
62856         * sysdeps/sparc/ldsodefs.h: Likewise.
62857         * sysdeps/x86_64/ldsodefs.h: Likewise.
62859 2012-07-25  Marek Polacek  <polacek@redhat.com>
62861         [BZ #6808]
62862         * math/libm-test.inc (yn_test): Add another test.
62863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62864         to ERANGE when the result is +-Inf.
62865         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62866         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62867         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62868         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62870 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62872         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62873         equal to 0.
62874         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62875         clock_t.
62876         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62878 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62880         * configure.in <sysdeps resolving>: Correct printing
62881         Implies_before.
62882         * configure: Regenerate.
62884 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62886         * math/w_ilogb.c: Include <limits.h>.
62887         * math/w_ilogbl.c: Likewise.
62889 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62891         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62892         va_copy.  Document allowing for unavailable va_copy only as
62893         pre-C99 compatibility.
62894         * manual/string.texi (Copying and Concatenation): Use va_copy
62895         instead of __va_copy in concat example.
62897 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62899         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62900         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62901         it if not null.
62903         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62904         with O_NOLINK passed to __file_name_lookup.
62906         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62907         with O_NOLINK passed to __file_name_lookup.
62909         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62910         negative N or less than NGIDS.
62912         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62913         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62914         enough.  Use memcpy instead of strncpy.
62916 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62918         * elf/Makefile (check-data): Remove.
62919         (localplt.data): New vpath directive.
62920         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62921         instead of $(check-data).
62922         * scripts/data/localplt-generic.data: Move to ...
62923         * sysdeps/generic/localplt.data: ... here.
62924         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62925         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62926         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62928         ... here.
62929         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62931         ... here.
62932         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62934         ... here.
62935         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62937         ... here.
62938         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62940         ... here.
62941         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62943         ... here.
62945 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62947         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62948         PPC32 and PPC64 files.
62949         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62950         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62952 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62954         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62955         __makecontext_ret to ...
62956         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62957         ... here and call exit if uc_link is NULL.  New file.
62958         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62959         __makecontext_ret.S.
62960         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62961         __makecontext_ret to ...
62962         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62963         ... here and call exit if uc_link is NULL.  New file.
62964         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62965         __makecontext_ret.S.
62967 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62969         * elf/elf.h (R_390_IRELATIVE): New definition.
62970         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62971         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62972         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62973         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62974         (elf_machine_lazy_rel): Likewise.
62975         * sysdeps/s390/dl-irel.h: New file.
62976         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62977         * sysdeps/s390/s390-64/memset.S: New asm code.
62978         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62979         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62980         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62981         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62982         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62983         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62984         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62985         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62986         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62987         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62988         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62989         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62990         * sysdeps/s390/s390-32/memset.S: New asm code.
62991         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62993 2012-07-17  Marek Polacek  <polacek@redhat.com>
62995         [BZ #14349]
62996         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62997         * sysdeps/s390/s390-64/configure.in: Likewise.
62998         * sysdeps/sparc/configure.in: Likewise.
62999         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63000         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63001         * sysdeps/i386/configure.in: Likewise.
63002         * sysdeps/x86_64/configure.in: Likewise.
63003         * sysdeps/sh/configure.in: Likewise.
63004         * sysdeps/s390/s390-32/configure: Regenerated.
63005         * sysdeps/s390/s390-64/configure: Likewise.
63006         * sysdeps/x86_64/configure: Likewise.
63007         * sysdeps/sh/configure: Likewise.
63008         * sysdeps/powerpc/powerpc64/configure: Likewise.
63009         * sysdeps/powerpc/powerpc32/configure: Likewise.
63010         * sysdeps/sparc/configure: Likwise.
63011         * sysdeps/i386/configure: Likewise.
63013         * elf/dl-open.c: Comment fixes.
63015 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63017         * Makefile [CXX] (check-data): Remove.
63018         [CXX] (c++-types.data): New vpath directive.
63019         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63020         vpath.  Do not allow for C++ type data being missing.
63021         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63022         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63023         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63024         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63025         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63026         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63027         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63029         ... here.
63030         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63032         ... here.
63033         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63035         ... here.
63036         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63038         ... here.
63039         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63041         ... here.
63042         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63044         ... here.
63045         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63047         ... here.
63048         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63051         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63052         definitions to architecture-specific files.
63053         (TLS_IE): Likewise.
63054         (TLS_LD): Likewise.
63055         (TLS_GD): Likewise.
63056         * sysdeps/i386/tls-macros.h: New file.
63057         * sysdeps/powerpc/tls-macros.h: Likewise.
63058         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63059         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63060         * sysdeps/sh/tls-macros.h: Likewise.
63061         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63062         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63063         * sysdeps/x86_64/tls-macros.h: Likewise.
63065 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63067         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63068         zero value for regular exit case.
63070         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63071         (__start_context): Preserve zero value for regular exit case.
63073 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63074             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63076         * manual/setjmp.texi (setcontext): Clarify normal process
63077         termination when uc_link is the null pointer.
63078         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63079         exit call.
63081 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63083         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63084         preprocessor.  Test for each exception mask separately.
63086 2012-07-16  Andreas Jaeger  <aj@suse.de>
63088         * po/ru.po: Update from translation team.
63090 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63092         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63093         equal to 0.
63094         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63095         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63096         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63097         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63098         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63100 2012-07-13  Andreas Jaeger  <aj@suse.de>
63102         * po/fr.po: Update from translation team.
63104 2012-07-12  Marek Polacek  <polacek@redhat.com>
63106         [BZ #14173]
63107         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63108         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63109         loop condition.
63111 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63113         [BZ #13717]
63114         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63115         Change to 2.4.1 where previously 2.4.0.
63116         * sysdeps/unix/sysv/linux/configure: Regenerated.
63117         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63118         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63119         version.
63120         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63121         (__ASSUME_AT_CLKTCK): Remove.
63122         (__ASSUME_AT_PAGESIZE): Likewise.
63123         (__ASSUME_AT_XID): Likewise.
63124         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63125         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63126         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63127         unconditionally.
63128         (HAVE_AUX_PAGESIZE): Likewise.
63129         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63130         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63131         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63133 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63135         [BZ #14307]
63136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63137         the temporary buffer used to invoke __gethostbyname2_r,
63138         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63139         host_data / struct gaih_addrtuple.
63140         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63141         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63142         header file nss/nsswitch.h.
63143         * nss/nsswitch.h (global scope): Add definition of implementation
63144         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63145         resolv/nss_dns/dns-host.c).
63147 2012-07-11  Andreas Jaeger  <aj@suse.de>
63149         * po/fr.po: Update from translation team.
63151         * po/sv.po: Update from translation team
63152         * po/fr.po: Another update from translation team.
63154 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63156         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63157         for subnormals or multiply small sinh result by itself.
63158         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63161 2012-07-11  David S. Miller  <davem@davemloft.net>
63163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63165 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63167         [BZ #14347]
63168         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63169         (INTERNAL_MARK): Shift it here.
63171 2012-07-10  Marek Polacek  <polacek@redhat.com>
63173         [BZ #14151]
63174         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63175         libc_cv_asm_global_directive with .globl.
63176         * configure: Regenerated.
63177         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63178         with .globl.
63179         * sysdeps/i386/configure: Regenerated.
63180         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63181         with .globl.
63182         * sysdeps/x86_64/configure: Regenerated.
63183         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63184         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63185         * elf/tst-unique2mod2.c: Likewise.
63186         * elf/tst-unique2mod1.c: Likewise.
63187         * elf/tst-unique1mod2.c: Likewise.
63188         * elf/tst-unique1mod1.c: Likewise.
63189         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63190         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63191         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63192         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63193         * sysdeps/mach/sysdep.h: Likewise.
63194         * sysdeps/i386/sysdep.h: Likewise.
63195         * sysdeps/i386/i386-mcount.S: Likewise.
63196         * sysdeps/x86_64/_mcount.S: Likewise.
63197         * sysdeps/x86_64/sysdep.h: Likewise.
63198         * sysdeps/sh/_mcount.S: Likewise.
63199         * sysdeps/sh/sysdep.h: Likewise.
63200         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63201         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63202         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63203         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63204         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63205         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63206         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63207         * locale/localeinfo.h: Likewise.
63208         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63209         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63211 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63213         [BZ #14336]
63214         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63215         system".
63216         * manual/message.texi (The Uniforum approach): Likewise.
63217         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63218         (glibc iconv Implementation): Likewise.
63220 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63222         [BZ #14337]
63223         * math/s_clog.c (__clog): Avoid scaling a value down where that
63224         could result in underflow.
63225         * math/s_clog10.c (__clog10): Likewise.
63226         * math/s_clog10f.c (__clog10f): Likewise.
63227         * math/s_clog10l.c (__clog10l): Likewise.
63228         * math/s_clogf.c (__clogf): Likewise.
63229         * math/s_clogl.c (__clogl): Likewise.
63230         * math/libm-test.inc (clog_test): Add more tests.
63231         (clog10_test): Likewise.
63232         * sysdeps/i386/fpu/libm-test-ulps: Update.
63233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63235 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63237         [BZ #14283]
63238         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63239         by 7 not 8 to examine high bit of fractional part.
63241         [BZ #14042]
63242         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63243         for call to __mcount_internal.
63244         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63245         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63246         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63248 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63250         [BZ #14154]
63251         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63252         approximation for values within 0x1p-13f of an odd multiple of
63253         pi/4.
63254         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63255         exception.  Add more tests.
63256         * sysdeps/i386/fpu/libm-test-ulps: Update.
63258         [BZ #6778]
63259         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63260         inputs and return -1 for them.  Do not check for +Inf in case not
63261         reachable for +Inf.
63262         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63263         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63264         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63265         and return -1 for them.  Do not check for +Inf in case not
63266         reachable for +Inf.
63267         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63268         define.
63269         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63270         and return -1 for them.  Do not check for +Inf in case not
63271         reachable for +Inf.
63272         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63273         spurious underflow.
63274         * sysdeps/i386/fpu/libm-test-ulps: Update.
63275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63277 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63279         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63281 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63283         [BZ #14157]
63284         [BZ #14331]
63285         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63286         could result in spurious underflow.  Scale down values above
63287         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63288         * math/s_csqrtf.c (__csqrtf): Likewise.
63289         * math/s_csqrtl.c (__csqrtl): Likewise.
63290         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63291         spurious underflow.
63292         * sysdeps/i386/fpu/libm-test-ulps: Update.
63293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63295 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63297         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63298         xopen-msg.sed.
63299         * catgets/xopen-msg.awk: New file.
63300         * catgets/xopen-msg.sed: Removed.
63302         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63303         po2text.sed.
63304         * intl/po2test.awk: New file.
63305         * intl/po2test.sed: Removed.
63307 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63309         [BZ #14328]
63310         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63311         or multiply small sinh result by itself.
63312         * math/s_ctanf.c (__ctanf): Likewise.
63313         * math/s_ctanh.c (__ctanh): Likewise.
63314         * math/s_ctanhf.c (__ctanhf): Likewise.
63315         * math/s_ctanhl.c (__ctanhl): Likewise.
63316         * math/s_ctanl.c (__ctanl): Likewise.
63317         * math/libm-test.inc (ctan_test_tonearest): New function.
63318         (ctan_test_towardzero): Likewise.
63319         (ctan_test_downward): Likewise.
63320         (ctan_test_upward): Likewise.
63321         (ctanh_test_tonearest): Likewise.
63322         (ctanh_test_towardzero): Likewise.
63323         (ctanh_test_downward): Likewise.
63324         (ctanh_test_upward): Likewise.
63325         (main): Call these new functions.
63326         * sysdeps/i386/fpu/libm-test-ulps: Update.
63327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63329 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63331         * .gitignore: Delete /ports entry.
63333 2012-07-03  Andreas Jaeger  <aj@suse.de>
63335         * po/bg.po: Update from translation team.
63336         * po/cs.po: Likewise.
63337         * po/de.po: Likewise.
63338         * po/hr.po: Likewise.
63339         * po/nl.pl: Likewise.
63340         * po/pl.po: Likewise.
63341         * po/vi.po: Likewise.
63343 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63345         * Makeconfig [!+link] (+link-before-libc): New variable.
63346         [!+link] (+link-after-libc): Likewise.
63347         [!+link] (+link-tests): Likewise.
63348         [!+link] (+link): Define in terms of $(+link-before-libc) and
63349         $(+link-after-libc).
63350         [!+link-static] (+link-static-before-libc): New variable.
63351         [!+link-static] (+link-static-after-libc): Likewise.
63352         [!+link-static] (+link-static-tests): Likewise.
63353         [!+link-static] (+link-static): Define in terms of
63354         $(+link-static-before-libc) and $(+link-static-after-libc).
63355         [build-shared] (link-libc-before-gnulib): New variable.
63356         [build-shared] (link-libc-tests): Likewise.
63357         [build-shared] (link-libc): Define in terms of
63358         $(link-libc-before-gnulib).
63359         [!build-shared] (link-libc-tests): New variable.
63360         (link-libc-static-tests): New variable.
63361         [!gnulib] (gnulib-arch): New variable.
63362         [!gnulib] (gnulib-tests): Likewise.
63363         [!gnulib] (static-gnulib-arch): Likewise.
63364         [!gnulib] (static-gnulib-tests): Likewise.
63365         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63366         Define with "=" instead of ":=".
63367         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63368         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63369         * Rules (binaries-all-notests): New variable.
63370         (binaries-all-tests): Likewise.
63371         (binaries-static-notests): Likewise.
63372         (binaries-static-tests): Likewise.
63373         (binaries-all): Define using $(binaries-all-notests) and
63374         $(binaries-all-tests).
63375         (binaries-static): Define using $(binaries-static-notests) and
63376         $(binaries-static-tests).
63377         (binaries-shared-tests): New variable.
63378         (binaries-shared-notests): Likewise.
63379         (binaries-shared): Remove variable.
63380         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63381         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63382         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63383         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63384         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63385         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63386         * elf/Makefile (sln-modules): New variable.
63387         (extra-objs): Add $(sln-modules:=.o).
63388         (ldconfig-modules): Add static-stubs.
63389         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63390         * elf/static-stubs.c: New file.
63392         [BZ #14283]
63393         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63394         by 7 not 8 to examine high bit of fractional part.  Use volatile
63395         variables when splitting into final array of floats if
63396         __FLT_EVAL_METHOD__ != 0.
63397         * math/libm-test.inc (cos_test): Add another test.
63398         (sin_test): Likewise.
63399         * sysdeps/i386/fpu/libm-test-ulps: Update.
63401         [BZ #14273]
63402         * math/libm-test.inc (cosh_test): Add more tests.
63404         * version.h (RELEASE): Set to "development".
63405         (VERSION): Set to "2.16.90".
63407 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63409         * NEWS: Update copyright. Remove last-updated date.
63410         Mention math library bug fixes and timezone data changes.
63411         * README: Mention GNU/Hurd, x32, and HPPA support status.
63413 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63415         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63417 2012-06-27  Andreas Jaeger  <aj@suse.de>
63419         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63421 2012-06-25  Andreas Jaeger  <aj@suse.de>
63423         * sysdeps/s390/fpu/libm-test-ulps: Update.
63425 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63426             Thomas Schwinge  <thomas@codesourcery.com>
63428         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63429         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63430         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63431         fanotify_mark.
63433 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63435         * sysdeps/mach/start.c: Remove file.
63436         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63437         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63438         * sysdeps/sh/init-first.c: Likewise.
63440         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63441         registers for frame unwinding purposes, add CFI directives.
63442         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63443         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63444         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63445         Likewise.
63447         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63448         __fortify_fail returning.
63449         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63451         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63452         sysdeps/sh/____longjmp_chk.S.
63453         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63454         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63455         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63456         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63458         * sysdeps/sh/abort-instr.h: New file.
63459         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63460         process in case exit returns.
63462         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63463         initialize the GOT register before use.
63465         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63466         calculation of ARGC > 4.
63468         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63469         meaningful names to some local labels.
63471 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63472             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63474         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63475         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63476         (__arch_compare_and_exchange_val_16_acq): Likewise.
63477         (__arch_compare_and_exchange_val_32_acq): Likewise.
63478         (atomic_exchange_and_add): Fix gUSA sequence.
63479         (atomic_add): Likewise.
63480         (atomic_add_negative): Likewise.
63481         (atomic_add_zero): Likewise.
63482         (atomic_bit_test_set): Likewise.
63484 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63486         [BZ #13579]
63487         * include/link.h (struct link_map): Add l_free_initfini.
63488         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63489         l_initfini.
63490         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63491         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63492         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63493         set.
63495 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63497         * configure.in: Use AC_LANG_SOURCE.
63498         * configure: Regenerate.
63500 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63502         * configure.in (libc_cv_localstatedir): New substituted variable.
63503         * configure: Regenerated.
63504         * config.make.in (localstatedir): New variable, substituted from
63505         libc_cv_localstatedir.
63506         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63507         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63508         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63509         * sysdeps/gnu/configure: Regenerated.
63511 2012-06-21  Jeff Law  <law@redhat.com>
63513         [BZ #14277]
63514         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63515         free.  Simplify list management for _LIBC case.
63517 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63519         [BZ #14273]
63520         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63521         Clear sign bit of 64-bit integer value before comparing against
63522         overflow value.
63524         * sysdeps/mach/configure: Regenerated.
63526 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63528         [BZ #14278]
63529         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63531 2012-06-21  Jeff Law  <law@redhat.com>
63533         [BZ #13882]
63534         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63535         uint16_t for elements in the "seen" array to avoid char overflows.
63536         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63537         * elf/dl-open.c (dl_open_worker): Likewise.
63539 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63541         * scripts/list-sources.sh: Scan PORTS for translations.
63542         * po/libc.pot: Regenerated.
63544 2012-06-21  Andreas Jaeger  <aj@suse.de>
63546         [BZ #12194]
63547         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63548         warning.
63549         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63550         * bits/byteswap-16.h (__bswap_16): Likewise.
63551         * bits/byteswap.h (__bswap_constant_16): Likewise.
63553 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63555         [BZ #14117]
63556         * sysdeps/i386/fpu_control.h: Removed.
63557         * sysdeps/x86_64/fpu_control.h: Moved to ...
63558         * sysdeps/x86/fpu_control.h: Here.
63560         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63561         (_FPU_SETCW): Likewise.
63563 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63565         [BZ #14117]
63566         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63567         * sysdeps/x86/fpu/bits/mathinline.h: This.
63568         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63570         [BZ #14050]
63571         [BZ #14117]
63572         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63573         functions if __x86_64__ is defined.
63575 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63577         * string/endian.h: Add !__ASSEMBLER__ condition for including
63578         conversion interfaces.
63580 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63582         [BZ #14241]
63583         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63584         of ABS(x) in calculating zero to negative powers other than odd
63585         integers.
63586         * math/libm-test.inc (pow_test): Add more tests.
63588 2012-06-15  Andreas Jaeger  <aj@suse.de>
63590         * manual/contrib.texi (Contributors): Update entry of Liubov
63591         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63592         Machado Filho.
63594 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63596         * string/string.h: Add __wur to GNU version of strerror_r.
63598 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63600         [BZ #14229]
63601         * string/Makefile (tests): Add tst-strtok_r.
63602         * string/tst-strtok_r.c: New file.
63603         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63604         RAX_LP/RDX_LP on SAVE_PTR.
63606 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63608         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63610 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63612         * libm_test.inc (csqrt_test): Allow more spurious underflow
63613         exceptions.
63614         (j0_test): Likewise.
63615         (j1_test): Likewise.
63616         (y0_test): Likewise.
63617         (y1_test): Likewise.
63619 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63621         * po/Makefile (libc.pot): Use UTF-8 charset.
63623 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63625         [BZ #14210]
63626         Suppress sign-conversion warning from FD_SET.
63627         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63628         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63629         not unsigned long int.
63630         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63632 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63634         [BZ #14050]
63635         [BZ #14117]
63636         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63637         __extern_always_inline instead of __extern_inline.
63638         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63639         (__signbit): Likewise.
63640         (__signbitl): Support C++ namespace.
63641         (lrintf): New inline function.
63642         (lrint): Likewise.
63643         (llrintf): Likewise.
63644         (llrint): Likewise.
63645         (fmaxf): Likewise.
63646         (fmax): Likewise.
63647         (fminf): Likewise.
63648         (fmin): Likewise.
63649         (rint): Likewise.
63650         (rintf): Likewise.
63651         (ceil): Likewise.
63652         (ceilf): Likewise.
63653         (floor): Likewise.
63654         (floorf): Likewise.
63655         (nearbyint): Likewise.
63656         (nearbyintf): Likewise.
63658 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63660         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63661         non-default versions.
63663 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63665         [BZ #14218]
63666         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63668 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63670         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63671         (FE_UPWARD, FE_DOWNWARD): Don't define.
63672         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63673         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63675         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63676         reading it.
63677         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63678         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63680 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63682         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63683         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63684         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63685         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63687 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63689         [BZ #14117]
63690         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63691         * sysdeps/i386/fpu/Implies: New file.
63692         * sysdeps/x86_64/fpu/Implies: Likewise.
63693         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63694         * sysdeps/x86/fpu/bits/fenv.h: This.
63696         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63697         __SSE_MATH__.
63699 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63701         [BZ #14134]
63702         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63703         character 0xffff that matches the last element of the
63704         conversion table.
63706 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63709         fmodl commit.
63711 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63714         values higher than 25.6283.
63716 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63718         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63719         subnormal exponent extraction and add some __builtin_expect.
63720         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63721         Fix for subnormal mantissa calculation.
63723 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63725         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63726         cpu2 is -1 and errno is not ENOSYS.
63728 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63730         [BZ #14117]
63731         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63732         * sysdeps/x86/bits/string.h: This.
63733         * sysdeps/x86_64/bits/string.h: Removed.
63735         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63736         if not compiling for x86-64, but compiling for >= i486.
63738         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63739         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63741         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63742         New macro from Linux kernel 3.4.0.
63743         (FP_XSTATE_MAGIC2): Likewise.
63744         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63745         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63746         (struct _fpx_sw_bytes): New struct.
63747         (struct _xsave_hdr): Likewise.
63748         (struct _ymmh_state): Likewise.
63749         (struct _xstate): Likewise.
63751         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63752         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63753         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63754         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63755         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63756         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63758         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63759         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63760         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63761         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63762         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63763         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63765 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63767         [BZ #13743]
63768         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63769         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63770         (sysdep_headers): Include sys/platform/ppc.h.
63771         * sysdeps/powerpc/test-gettimebase.c: Test for
63772         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63773         * manual/Makefile (appendices): Include platform.texi.
63774         * manual/contrib.texi (Contributors): Update @node pointers.
63775         * manual/maint.texi (Maintenance): Likewise.
63776         (Platform): New node.
63777         * manual/platform.texi: New file.  Document the new features.
63779 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63780             Jakub Jelinek  <jakub@redhat.com>
63782         [BZ #14188]
63783         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63784         where __builtin_expect is unavailable.
63786 2012-06-03  David S. Miller  <davem@davemloft.net>
63788         * stdlib/longlong.h: Updated from GCC.
63790 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63792         [BZ #14042]
63793         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63794         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63795         __mcount_internal.
63796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63797         (GLIBC_2.16): Likewise.
63799 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63801         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63803 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63806         (default-abi): New variable.
63807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63808         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63809         variable.
63810         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63811         Likewise.
63812         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63813         Likewise.
63814         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63815         Likewise.
63817         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63818         definition.  Document in comment.
63820 2012-06-01  David S. Miller  <davem@davemloft.net>
63822         * stdlib/longlong.h: Updated from GCC.
63824 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63826         [BZ #14117]
63827         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63828         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63829         sys/debugreg.h sys/io.h here.
63830         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63831         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63832         sys/io.h.
63833         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63834         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63835         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63836         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63837         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63838         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63840         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63841         Define only if __x86_64__ is defined.
63843 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63845         [BZ #14048]
63846         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63847         Use int64_t for variable i.
63848         * math/libm-test.inc (fmod_test): Add more tests.
63850         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63851         z computation is not scheduled after fetestexcept.
63852         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63853         Use math_force_eval instead of asm to ensure calculation scheduled
63854         before exception test.
63855         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63856         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63858 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63861         computation is not scheduled after fetestexcept.
63863 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63865         [BZ #14117]
63866         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63867         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63869 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63871         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63872         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63874 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63876         [BZ #14117]
63877         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63878         <bits/wordsize.h>.
63879         (__WCHAR_MIN): Support __WORDSIZE == 64.
63880         (__WCHAR_MAX): Likewise.
63882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63883         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63885         [BZ #14183]
63886         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63887         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63889         [BZ #14117]
63890         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63891         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63893         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63894         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63896         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63897         Defined to 1 if __x86_64__ isn't defined.
63898         (_STAT_VER_LINUX_OLD): New.
63899         (st_atime): Remove duplicate.
63900         (st_mtime): Likewise.
63901         (st_ctime): Likewise.
63903 2012-05-31  David S. Miller  <davem@davemloft.net>
63905         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63906         entries.
63908 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63910         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63911         gen-libm-test.pl.
63913         [BZ #14132]
63914         * elf/dl-reloc.c: Include <_itoa.h>.
63915         (_dl_reloc_bad_type): Remove use of INTUSE.
63916         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63917         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63918         * stdio-common/psiginfo.c (psiginfo): Likewise.
63919         * stdio-common/psignal.c (psignal): Likewise.
63920         * string/strsignal.c (strsignal): Likewise.
63921         * include/signal.h (_sys_siglist): Declare hidden proto.
63922         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63923         INTVARDEF with libc_hidden_data_def.
63924         * stdio-common/itoa-udigits.c: Likewise.
63925         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63926         (_itoa_lower_digits_internal): Remove declaration.
63927         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63928         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63929         (_sys_sigabbrev_internal): Remove aliases.
63930         (_sys_siglist): Define hidden alias.
63932 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63935         bits/sysctl.h.
63937 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63939         [BZ #14117]
63940         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63941         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63943         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63944         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63945         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63946         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63947         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63948         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63950         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63951         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63952         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63954         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63955         with __addr.
63956         (insw): Likewise.
63957         (insl): Likewise.
63958         (outsb): Likewise.
63959         (outsw): Likewise.
63960         (outsl): Likewise.
63962         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63963         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63964         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63966         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63967         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63968         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63969         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63970         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63971         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63973         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63974         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63976         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63977         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63979         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63981         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63983         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63984         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63985         to ...
63986         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63988         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63989         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63990         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63992         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63993         for x86-64.
63994         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63996 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63998         * math/math.h (M_El): Use two more decimal places.
63999         (M_LOG2El): Likewise.
64000         (M_LOG10El): Likewise.
64001         (M_LN2l): Likewise.
64002         (M_LN10l): Likewise.
64003         (M_PIl): Likewise.
64004         (M_PI_2l): Likewise.
64005         (M_PI_4l): Likewise.
64006         (M_1_PIl): Likewise.
64007         (M_2_PIl): Likewise.
64008         (M_2_SQRTPIl): Likewise.
64009         (M_SQRT2l): Likewise.
64010         (M_SQRT1_2l): Likewise.
64012 2012-05-31  David S. Miller  <davem@davemloft.net>
64014         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64015         values between float registers.
64016         * sysdeps/sparc/sparc64/memset.S: Likewise.
64017         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64019 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64021         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64022         -D_FORTIFY_SOURCE=1.
64023         (CPPFLAGS-tst-longjmp_chk.c): Define.
64024         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64025         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64026         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64027         CFLAGS-tst-wchar-h.c.
64029 2012-05-31  Marek Polacek  <polacek@redhat.com>
64031         [BZ #14132]
64032         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64033         __endmntent_internal): Remove declaration.
64034         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64035         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64036         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64038 2012-05-30  David S. Miller  <davem@davemloft.net>
64040         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64041         (___Q_simulate_exceptions): Use real FP ops rather than writing
64042         into the %fsr.
64043         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64044         Likewise.
64046 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64048         [BZ #14117]
64049         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64050         * sysdeps/x86/bits/xtitypes.h: This.
64052         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64053         * sysdeps/x86/bits/wordsize.h: This.
64055         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64056         * sysdeps/x86/bits/huge_vall.h: This.
64058         * sysdeps/i386/bits/select.h: Removed.
64059         * sysdeps/x86_64/bits/select.h: Renamed to ...
64060         * sysdeps/x86/bits/select.h: This.
64062         * sysdeps/i386/bits/setjmp.h: Removed.
64063         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64064         * sysdeps/x86/bits/setjmp.h: This.
64066         * sysdeps/i386/bits/mathdef.h: Removed.
64067         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64068         * sysdeps/x86/bits/mathdef.h: This.
64070 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64072         [BZ #14132]
64073         * include/sys/socket.h (__connect_internal)
64074         (__libc_sa_len_internal): Remove declaration.
64075         (__connect, __libc_sa_len): Declare hidden_proto.
64076         (SA_LEN): Remove use of INTUSE.
64077         * socket/connect.c: Add libc_hidden_def.
64078         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64079         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64080         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64081         alias.
64082         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64083         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64084         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64085         of adding _internal alias.
64087 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64089         [BZ #14117]
64090         * sysdeps/i386/bits/link.h: Removed.
64091         * sysdeps/i386/bits/linkmap.h: Likewise.
64092         * sysdeps/x86_64/bits/link.h: Renamed to ...
64093         * sysdeps/x86/bits/link.h: This.
64094         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64095         * sysdeps/x86/bits/linkmap.h: This.
64097         * sysdeps/i386/bits/endian.h: Removed.
64098         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64099         * sysdeps/x86/bits/endian.h: This.
64101         * sysdeps/i386/bits/byteswap.h: Removed.
64102         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64103         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64104         * sysdeps/x86/bits/byteswap.h: This.
64105         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64106         * sysdeps/x86/bits/byteswap-16.h: This.
64107         * sysdeps/i386/Implies: Add x86.
64108         * sysdeps/x86_64/Implies: Likewise.
64110 2012-05-30  David S. Miller  <davem@davemloft.net>
64112         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64113         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64114         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64115         (FP_TRAPPING_EXCEPTIONS): Define.
64116         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64117         (FP_TRAPPING_EXCEPTIONS): Define.
64118         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64119         subnormals only when inexact has been signalled or underflow
64120         exceptions are enabled.
64121         (_FP_PACK_CANONICAL): Likewise.
64123 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64125         [BZ #14183]
64126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64127         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64129 2012-05-30  Richard Henderson  <rth@twiddle.net>
64131         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64132         with #ifndef NOT_IN_libc.
64134         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64135         marked to avoid plt entry.
64137 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64139         [BZ #14112]
64140         * Makeconfig (default-abi): New macro.
64141         (abi-includes): Likewise.
64142         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64143         $(abi-$(default-abi)-lib-soname) for soname if defined.
64144         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64145         abi-variants.
64146         * Makefile (installed-stubs): Likewise.
64147         * include/stubs-biarch.h: Removed.
64148         * scripts/lib-names.awk: Only handle one library at a time.
64149         * scripts/soversions.awk: Remove WORDSIZE support.
64150         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64151         entries.
64152         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64153         Removed.
64154         (syscall-list-default-condition): Likewise.
64155         (syscall-list-default-condition): Likewise.
64156         (syscall-list-includes): Likewise.
64157         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64158         syscall-list-* with abi-*.  Handle undefined abi-variants.
64159         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64160         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64161         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64162         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64163         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64164         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64165         Removed.
64166         (syscall-list-32-options): Likewise.
64167         (syscall-list-32-condition): Likewise.
64168         (syscall-list-64-options): Likewise.
64169         (syscall-list-64-condition): Likewise.
64170         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64171         macro.
64172         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64173         Renamed to ...
64174         (abi-*): This.
64175         (abi-64-ld-soname): New macro.
64176         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64177         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64178         Renamed to ...
64179         (abi-*): This.
64180         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64181         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64183 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64185         * sysdeps/unix/sysv/linux/kernel-features.h
64186         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64187         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64188         include <kernel-features.h>.
64189         [!__NR_ftruncate64]: Remove conditional code.
64190         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64191         [__NR_ftruncate64]: Make code unconditional.
64192         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64193         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64194         include <kernel-features.h>.
64195         [!__NR_ftruncate64]: Remove conditional code.
64196         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64197         [__NR_ftruncate64]: Make code unconditional.
64198         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64200         include <kernel-features.h>.
64201         [!__NR_ftruncate64]: Remove conditional code.
64202         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64203         [__NR_ftruncate64]: Make code unconditional.
64204         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64206         include <kernel-features.h>.
64207         [!__NR_ftruncate64]: Remove conditional code.
64208         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64209         [__NR_ftruncate64]: Make code unconditional.
64210         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64212         * configure.in (libc_cv_fpie): Weaken to a compile test using
64213         LIBC_TRY_CC_OPTION.
64214         * configure: Regenerated.
64216 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64222         Refreshed.
64223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64229         Refreshed.
64231 2012-05-27  David S. Miller  <davem@davemloft.net>
64233         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64234         (___Q_zero): New.
64235         (__Q_simulate_exceptions): Return void.  Change to simulate
64236         exceptions by writing into the %fsr.
64237         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64238         (__Qp_handle_exceptions): Likewise.
64239         (numbers): Delete.
64240         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64241         __Qp_handle_exceptions.
64242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64243         __Qp_handle_exceptions.
64244         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64245         as unused and give dummy FP_RND_NEAREST initializer.
64246         (FP_INHIBIT_RESULTS): Define.
64247         (___Q_simulate_exceptions): Update declaration.
64248         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64249         formatting.
64250         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64251         as unused and give dummy FP_RND_NEAREST initializer.
64252         (__Qp_handle_exceptions): Update declaration.
64253         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64254         formatting.
64256 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64258         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64259         the temporary FPU control word.
64260         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64261         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64262         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64263         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64264         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64265         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64266         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64267         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64268         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64269         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64270         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64272 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64274         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64275         fields.
64277 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64279         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64280         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64281         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64282         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64283         Likewise.
64284         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64285         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64286         Likewise.
64288 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64290         * po/h.po: Update from translation team.
64292 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64294         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64296         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64297         handling of denormals.
64298         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64299         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64300         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64301         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64305         Likewise.
64307 2012-05-26  Marek Polacek  <polacek@redhat.com>
64309         [BZ #14152]
64310         * math/libm-test.inc (fma_test): Don't always expect underflow
64311         exception.
64313 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64315         [BZ #12416]
64316         * elf/tst-execstack.c: Include stackinfo.h.
64317         (do_test): Adjust test case to ensure that pthread_getattr_np
64318         behaviour remains the same after marking stack executable.
64320 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64322         * sysdeps/unix/sysv/linux/kernel-features.h
64323         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64324         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64325         kernel-features.h.
64326         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64327         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64328         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64329         kernel-features.h.
64330         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64331         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64333 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64335         * configure.in: Define the default includes to being none.
64336         * configure: Regenerated.
64338 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64340         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64341         * sysdeps/x86_64/setjmp.S: Likewise.
64342         * sysdeps/i386/bsd-setjmp.S: Likewise.
64343         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64344         * sysdeps/i386/setjmp.S: Likewise.
64345         * sysdeps/i386/__longjmp.S: Likewise.
64346         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64347         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64349         * include/stap-probe.h: New file.
64350         * configure.in: Handle --enable-systemtap.
64351         * configure: Regenerated.
64352         * config.h.in (USE_STAP_PROBE): New #undef.
64353         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64354         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64355         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64357 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64359         [BZ #13717]
64360         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64361         to 2.4.0 where earlier.
64362         * sysdeps/unix/sysv/linux/configure: Regenerated.
64363         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64364         <kernel-features.h>.
64365         [__ASSUME_32BITUIDS]: Make code unconditional.
64366         [!__ASSUME_32BITUIDS]: Remove conditional code.
64367         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64368         <kernel-features.h>.
64369         [__ASSUME_32BITUIDS]: Make code unconditional.
64370         [!__ASSUME_32BITUIDS]: Remove conditional code.
64371         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64372         [__ASSUME_32BITUIDS]: Make code unconditional.
64373         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64374         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64375         <kernel-features.h>.
64376         [__ASSUME_32BITUIDS]: Make code unconditional.
64377         [!__ASSUME_32BITUIDS]: Remove conditional code.
64378         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64379         <kernel-features.h>.
64380         [__ASSUME_32BITUIDS]: Make code unconditional.
64381         [!__ASSUME_32BITUIDS]: Remove conditional code.
64382         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64383         <kernel-features.h>.
64384         [__ASSUME_32BITUIDS]: Make code unconditional.
64385         [!__ASSUME_32BITUIDS]: Remove conditional code.
64386         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64387         <kernel-features.h>.
64388         [__ASSUME_32BITUIDS]: Make code unconditional.
64389         [!__ASSUME_32BITUIDS]: Remove conditional code.
64390         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64391         <kernel-features.h>.
64392         [__ASSUME_32BITUIDS]: Make code unconditional.
64393         [!__ASSUME_32BITUIDS]: Remove conditional code.
64394         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64395         <kernel-features.h>.
64396         [__ASSUME_32BITUIDS]: Make code unconditional.
64397         [!__ASSUME_32BITUIDS]: Remove conditional code.
64398         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64399         <kernel-features.h>.
64400         [__ASSUME_32BITUIDS]: Make code unconditional.
64401         [!__ASSUME_32BITUIDS]: Remove conditional code.
64402         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64403         <kernel-features.h>.
64404         [__ASSUME_32BITUIDS]: Make code unconditional.
64405         [!__ASSUME_32BITUIDS]: Remove conditional code.
64406         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64407         <kernel-features.h>.
64408         [__ASSUME_32BITUIDS]: Make code unconditional.
64409         [!__ASSUME_32BITUIDS]: Remove conditional code.
64410         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64411         <kernel-features.h>.
64412         [__ASSUME_32BITUIDS]: Make code unconditional.
64413         [!__ASSUME_32BITUIDS]: Remove conditional code.
64414         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64415         <kernel-features.h>.
64416         [__NR_setresgid] (__setresgid): Do not declare.
64417         [__ASSUME_32BITUIDS]: Make code unconditional.
64418         [!__ASSUME_32BITUIDS]: Remove conditional code.
64419         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64420         <kernel-features.h>.
64421         [__NR_setresuid] (__setresuid): Do not declare.
64422         [__ASSUME_32BITUIDS]: Make code unconditional.
64423         [!__ASSUME_32BITUIDS]: Remove conditional code.
64424         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64425         <kernel-features.h>.
64426         [__ASSUME_32BITUIDS]: Make code unconditional.
64427         [!__ASSUME_32BITUIDS]: Remove conditional code.
64428         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64429         <kernel-features.h>.
64430         [__ASSUME_32BITUIDS]: Make code unconditional.
64431         [!__ASSUME_32BITUIDS]: Remove conditional code.
64432         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64433         <kernel-features.h>.
64434         [__ASSUME_32BITUIDS]: Make code unconditional.
64435         [!__ASSUME_32BITUIDS]: Remove conditional code.
64436         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64437         <kernel-features.h>.
64438         [__ASSUME_32BITUIDS]: Make code unconditional.
64439         [!__ASSUME_32BITUIDS]: Remove conditional code.
64440         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64441         <kernel-features.h>.
64442         [__ASSUME_32BITUIDS]: Make code unconditional.
64443         [!__ASSUME_32BITUIDS]: Remove conditional code.
64444         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64445         <kernel-features.h>.
64446         [__ASSUME_32BITUIDS]: Make code unconditional.
64447         [!__ASSUME_32BITUIDS]: Remove conditional code.
64448         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64449         <kernel-features.h>.
64450         [__ASSUME_32BITUIDS]: Make code unconditional.
64451         [!__ASSUME_32BITUIDS]: Remove conditional code.
64452         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64453         <kernel-features.h>.
64454         [__ASSUME_32BITUIDS]: Make code unconditional.
64455         [!__ASSUME_32BITUIDS]: Remove conditional code.
64456         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64457         <kernel-features.h>.
64458         [__ASSUME_32BITUIDS]: Make code unconditional.
64459         [!__ASSUME_32BITUIDS]: Remove conditional code.
64460         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64461         <kernel-features.h>.
64462         [__ASSUME_32BITUIDS]: Make code unconditional.
64463         [!__ASSUME_32BITUIDS]: Remove conditional code.
64464         * sysdeps/unix/sysv/linux/kernel-features.h
64465         (__ASSUME_SETRESUID_SYSCALL): Remove.
64466         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64467         (__ASSUME_32BITUIDS): Likewise.
64468         (__ASSUME_LDT_WORKS): Likewise.
64469         (__ASSUME_O_DIRECTORY): Likewise.
64470         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64471         architecture but not kernel version.
64472         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64473         (__ASSUME_MMAP2_SYSCALL): Likewise.
64474         (__ASSUME_STAT64_SYSCALL): Likewise.
64475         (__ASSUME_IPC64): Likewise.
64476         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64477         <kernel-features.h>.
64478         [__ASSUME_32BITUIDS]: Make code unconditional.
64479         [!__ASSUME_32BITUIDS]: Remove conditional code.
64480         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64481         <kernel-features.h>.
64482         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64483         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64484         132096]: Remove conditional code.
64485         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64486         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64487         <kernel-features.h>.
64488         [__ASSUME_32BITUIDS]: Make code unconditional.
64489         [!__ASSUME_32BITUIDS]: Remove conditional code.
64490         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64491         <kernel-features.h>.
64492         [__ASSUME_32BITUIDS]: Make code unconditional.
64493         [!__ASSUME_32BITUIDS]: Remove conditional code.
64494         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64495         <kernel-features.h>.
64496         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64497         unconditional.
64498         (__setresgid): Do not declare.
64499         [__ASSUME_32BITUIDS]: Make code unconditional.
64500         [!__ASSUME_32BITUIDS]: Remove conditional code.
64501         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64502         <kernel-features.h>.
64503         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64504         unconditional.
64505         (__setresuid): Do not declare.
64506         [__ASSUME_32BITUIDS]: Make code unconditional.
64507         [!__ASSUME_32BITUIDS]: Remove conditional code.
64508         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64509         <kernel-features.h>.
64510         [__ASSUME_32BITUIDS]: Make code unconditional.
64511         [!__ASSUME_32BITUIDS]: Remove conditional code.
64512         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64513         <kernel-features.h>.
64514         [__ASSUME_32BITUIDS]: Make code unconditional.
64515         [!__ASSUME_32BITUIDS]: Remove conditional code.
64517 2012-05-25  Richard Henderson  <rth@twiddle.net>
64519         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64520         dl_hwcap to ifunc resolver.
64521         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64522         elf_ifunc_invoke.
64523         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64524         dl_hwcap to ifunc resolver.
64525         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64527 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64529         [BZ #14153]
64530         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64531         for |x| <= 2**-26, not 2**-57.
64532         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64533         exception.
64535 2012-05-24  Jeff Law  <law@redhat.com>
64537         * stdio-common/Makefile (tests): Add bug25.
64538         * stdio-common/bug25.c: New test.
64540 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64542         [BZ #13576]
64543         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64544         multiple of MALLOC_ALIGNMENT in size.
64545         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64547 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64549         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64550         Require >= 256.
64551         (FILENAME_MAX): Use macro-int-constant.
64552         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64553         (_IOFBF): Use macro-int-constant.
64554         (_IOLBF): Likewise.
64555         (_IONBF): Likewise.
64556         (SEEK_CUR): Likewise.
64557         (SEEK_END): Likewise.
64558         (SEEK_SET): Likewise.
64559         (TMP_MAX): Likewise.
64560         (EOF): Use macro-int-constant.  Require < 0.
64561         (NULL): Use macro-constant.  Require == 0.
64562         (stdin): Require type to be FILE *.
64563         (stdout): Likewise.
64564         (stderr): Likewise.
64565         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64566         macro-int-constant.
64567         (EXIT_SUCCESS): Likewise.
64568         (NULL): Use macro-constant.  Require == 0.
64569         (RAND_MAX): Use macro-int-constant.
64570         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64571         [C99-based standards] (strtof): Require function.
64572         [C99-based standards] (strtold): Likewise.
64573         [C99-based standards] (strtoll): Likewise.
64574         [C99-based standards] (strtoull): Likewise.
64575         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64576         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64577         [ISO || ISO99 || ISO11] (math.h): Likewise.
64578         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64579         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64582 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64584         [BZ #14132]
64585         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64586         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64587         * intl/dgettext.c (DCGETTEXT): Likewise.
64588         * intl/gettext.c (DCGETTEXT): Likewise.
64589         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64590         * posix/regex_internal.h (gettext): Likewise.
64591         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64592         Remove declaration.
64593         * include/argz.h (__argz_count_internal)
64594         (__argz_stringify_internal): Remove declaration.
64595         (__argz_count, __argz_stringify): Declare hidden proto.
64596         * intl/dcgettext.c: Remove use of INTDEF.
64597         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64598         * string/argz-stringify.c: Likewise.
64599         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64600         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64601         Declare hidden proto.
64602         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64603         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64604         Declare hidden proto.
64605         * include/stdio.h (__asprintf_internal): Don't declare.
64606         (__asprintf): Don't define as macro.  Declare hidden proto.
64607         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64608         (__fsetlocking): Declare hidden proto.
64609         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64610         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64611         hidden proto.
64612         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64613         (_IO_setlinebuf): Remove use of INTUSE.
64614         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64615         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64616         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64617         Remove declaration.
64618         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64619         (_IO_do_flush): Remove use of INTUSE.
64620         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64621         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64622         (_IO_adjust_column, _IO_least_wmarker)
64623         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64624         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64625         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64626         (_IO_default_doallocate, _IO_wdefault_doallocate)
64627         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64628         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64629         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64630         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64631         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64632         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64633         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64634         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64635         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64636         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64637         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64638         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64639         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64640         proto.
64641         (_IO_flush_all_internal, _IO_adjust_column_internal)
64642         (_IO_default_uflow_internal, _IO_default_finish_internal)
64643         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64644         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64645         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64646         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64647         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64648         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64649         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64650         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64651         (_IO_file_close_internal, _IO_file_close_it_internal)
64652         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64653         (_IO_file_init_internal, _IO_file_attach_internal)
64654         (_IO_file_fopen_internal, _IO_file_read_internal)
64655         (_IO_file_sync_internal, _IO_file_seek_internal)
64656         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64657         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64658         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64659         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64660         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64661         (_IO_list_all_internal, _IO_link_in_internal)
64662         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64663         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64664         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64665         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64666         (_IO_do_write_internal, _IO_padn_internal)
64667         (_IO_getline_info_internal, _IO_getline_internal)
64668         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64669         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64670         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64671         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64672         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64673         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64674         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64675         with libc_hidden_ver, remove use of INTUSE.
64676         * libio/genops.c: Likewise.
64677         * libio/freopen.c: Likewise.
64678         * libio/freopen64.c: Likewise.
64679         * libio/iofclose.c: Likewise.
64680         * libio/iofdopen.c: Likewise.
64681         * libio/iofflush.c: Likewise.
64682         * libio/iofflush_u.c: Likewise.
64683         * libio/iofgets.c: Likewise.
64684         * libio/iofgets_u.c: Likewise.
64685         * libio/iofopen.c: Likewise.
64686         * libio/iofopncook.c: Likewise.
64687         * libio/iofread.c: Likewise.
64688         * libio/iofread_u.c: Likewise.
64689         * libio/ioftell.c: Likewise.
64690         * libio/iofwrite.c: Likewise.
64691         * libio/iogetline.c: Likewise.
64692         * libio/iogets.c: Likewise.
64693         * libio/iogetwline.c: Likewise.
64694         * libio/iopadn.c: Likewise.
64695         * libio/iopopen.c: Likewise.
64696         * libio/ioseekoff.c: Likewise.
64697         * libio/ioseekpos.c: Likewise.
64698         * libio/iosetbuffer.c: Likewise.
64699         * libio/iosetvbuf.c: Likewise.
64700         * libio/ioungetc.c: Likewise.
64701         * libio/ioungetwc.c: Likewise.
64702         * libio/iovdprintf.c: Likewise.
64703         * libio/iovsprintf.c: Likewise.
64704         * libio/iovsscanf.c: Likewise.
64705         * libio/memstream.c: Likewise.
64706         * libio/obprintf.c: Likewise.
64707         * libio/oldfileops.c: Likewise.
64708         * libio/oldiofclose.c: Likewise.
64709         * libio/oldiofdopen.c: Likewise.
64710         * libio/oldiofopen.c: Likewise.
64711         * libio/oldiopopen.c: Likewise.
64712         * libio/oldstdfiles.c: Likewise.
64713         * libio/putc.c: Likewise.
64714         * libio/setbuf.c: Likewise.
64715         * libio/setlinebuf.c: Likewise.
64716         * libio/stdfiles.c: Likewise.
64717         * libio/strops.c: Likewise.
64718         * libio/vasprintf.c: Likewise.
64719         * libio/vscanf.c: Likewise.
64720         * libio/vsnprintf.c: Likewise.
64721         * libio/vswprintf.c: Likewise.
64722         * libio/wfiledoalloc.c: Likewise.
64723         * libio/wfileops.c: Likewise.
64724         * libio/wgenops.c: Likewise.
64725         * libio/wmemstream.c: Likewise.
64726         * libio/wstrops.c: Likewise.
64727         * libio/__fpurge.c: Likewise.
64728         * libio/__fsetlocking.c: Likewise.
64729         * assert/assert.c: Likewise.
64730         * debug/fgets_chk.c: Likewise.
64731         * debug/fgets_u_chk.c: Likewise.
64732         * debug/fread_chk.c: Likewise.
64733         * debug/fread_u_chk.c: Likewise.
64734         * debug/gets_chk.c: Likewise.
64735         * debug/obprintf_chk.c: Likewise.
64736         * debug/vasprintf_chk.c: Likewise.
64737         * debug/vdprintf_chk.c: Likewise.
64738         * debug/vsnprintf_chk.c: Likewise.
64739         * debug/vsprintf_chk.c: Likewise.
64740         * malloc/mtrace.c: Likewise.
64741         * misc/error.c: Likewise.
64742         * misc/syslog.c: Likewise.
64743         * stdio-common/asprintf.c: Likewise.
64744         * stdio-common/fxprintf.c: Likewise.
64745         * stdio-common/getw.c: Likewise.
64746         * stdio-common/isoc99_fscanf.c: Likewise.
64747         * stdio-common/isoc99_scanf.c: Likewise.
64748         * stdio-common/isoc99_vfscanf.c: Likewise.
64749         * stdio-common/isoc99_vscanf.c: Likewise.
64750         * stdio-common/isoc99_vsscanf.c: Likewise.
64751         * stdio-common/printf-prs.c: Likewise.
64752         * stdio-common/printf_fp.c: Likewise.
64753         * stdio-common/printf_fphex.c: Likewise.
64754         * stdio-common/printf_size.c: Likewise.
64755         * stdio-common/putw.c: Likewise.
64756         * stdio-common/scanf.c: Likewise.
64757         * stdio-common/sprintf.c: Likewise.
64758         * stdio-common/tmpfile.c: Likewise.
64759         * stdio-common/vfprintf.c: Likewise.
64760         * stdio-common/vfscanf.c: Likewise.
64761         * stdlib/strfmon_l.c: Likewise.
64762         * sunrpc/openchild.c: Likewise.
64763         * sunrpc/xdr_stdio.c: Likewise.
64764         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64765         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64767 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64769         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64771         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64772         in the third column, to generate for the shared library an IFUNC
64773         that uses _dl_vdso_vsym.
64774         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64775         * Makeconfig (object-suffixes-noshared): New variable.
64777         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64778         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64779         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64780         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64782         [BZ #14132]
64783         * include/sys/time.h (__gettimeofday): Remove macro.
64784         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64785         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64786         Remove INTDEF.
64787         (__gettimeofday): Add libc_hidden_def.
64788         (gettimeofday): Add libc_hidden_weak.
64789         * sysdeps/mach/gettimeofday.c: Likewise.
64790         * sysdeps/posix/gettimeofday.c: Likewise.
64791         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64792         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64793         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64794         (__gettimeofday_internal): Remove strong_alias.
64795         (__gettimeofday): Add libc_hidden_def.
64796         (gettimeofday): Add libc_hidden_weak.
64797         * sysdeps/unix/syscalls.list (gettimeofday):
64798         Remove __gettimeofday_internal alias.
64800 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64801             H.J. Lu  <hongjiu.lu@intel.com>
64803         [BZ #12495]
64804         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64805         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64806         (largebin_index_32_big): New.
64807         (largebin_index): Use it for 16-byte alignment.
64808         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64809         correction with front_misalign.
64811 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64815         Likewise.
64816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64817         Likewise.
64818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64819         Likewise.
64820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64821         Likewise.
64822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64823         Likewise.
64824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64825         Likewise.
64826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64827         Likewise.
64828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64829         Likewise.
64830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64831         Likewise.
64832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64833         Likewise.
64834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64835         Likewise.
64836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64837         Likewise.
64839         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64840         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64842 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64844         [BZ #10846]
64845         [BZ #14036]
64846         * math/libm-test.inc (exp_test): Add test from bug 14036.
64847         (pow_test): Add test from bug 10846.
64849         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64850         and other flags.
64851         (special_function): Do not include flags in test name.
64852         (parse_args): Likewise.
64853         * sysdeps/i386/fpu/libm-test-ulps: Update.
64854         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64855         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64856         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64859         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64860         exceptions.
64861         * math/libm-test.inc ("Philosophy"): Update comment about
64862         exception testing.
64863         (UNDERFLOW_EXCEPTION): New macro.
64864         (UNDERFLOW_EXCEPTION_OK): Likewise.
64865         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64866         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64867         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64868         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64869         (INVALID_EXCEPTION_OK): Update value.
64870         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64871         (OVERFLOW_EXCEPTION_OK): Likewise.
64872         (IGNORE_ZERO_INF_SIGN): Likewise.
64873         (test_exceptions): Handle underflow exceptions.
64874         (acos_test): Update for underflow exception expectations.
64875         (cexp_test): Likewise.
64876         (clog_test): Likewise.
64877         (clog10_test): Likewise.
64878         (csqrt_test): Likewise.
64879         (ctan_test): Likewise.
64880         (ctanh_test): Likewise.
64881         (exp_test): Likewise.
64882         (exp10_test): Likewise.
64883         (exp2_test): Likewise.
64884         (expm1_test): Likewise.
64885         (fma_test): Likewise.
64886         (j0_test): Likewise.
64887         (jn_test): Likewise.
64888         (nexttoward_test): Likewise.
64889         (pow_test): Likewise.
64890         (scalbn_test): Likewise.
64891         (scalbln_test): Likewise.
64892         (tan_test): Likewise.
64893         (y1_test): Likewise.
64894         * sysdeps/i386/fpu/libm-test-ulps: Update.
64895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64897 2012-05-23  David S. Miller  <davem@davemloft.net>
64899         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64900         (__libc_sigaction): Remove unused local variables.
64902 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64904         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64906 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64908         mktime: avoid signed integer overflow
64909         * time/mktime.c (__mktime_internal): Do not mishandle the case
64910         where diff == INT_MIN.
64912         mktime: simplify computation of average
64913         * time/mktime.c (ranged_convert): Use new time_t_avg function
64914         instead of rolling our own (probably-slower) code.
64916         mktime: do not assume signed right shift propagates sign bit
64917         * time/mktime.c (isdst_differ): New static function.
64918         (__mktime_internal): No need to normalize tm_isdst now.
64919         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64920         tm_isdst values.
64922         mktime: merge another wrapv change from gnulib
64923         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64924         from some compilers.
64926         mktime: remove incorrect attempt at unusual arithmetics
64927         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64928         The code didn't really work on such machines anyway.
64929         (TYPE_MINIMUM): Assume two's complement.
64930         (twos_complement_arithmetic): Verify that long_int and time_t
64931         are two's complement (or unsigned, in the latter case).
64933         mktime: check signed shifts on long_int and time_t, too
64934         * time/mktime.c (SHR): Check that shifts work as desired
64935         on the types long_int and time_t too, as SHR is used on
64936         such types.
64938         mktime: do not assume 'long' is wide enough
64939         * time/mktime.c (verify): Move decl up.
64940         (long_int): New type.
64941         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64942         to remove assumption in the code that 'long' is wide enough to
64943         store year values.  This assumption is not true on x32 and on
64944         some non-glibc platforms.
64946         mktime: merge wrapv change from gnulib
64947         * time/mktime.c (WRAPV): New macro.
64948         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64949         (guess_time_tm, __mktime_internal): Do not assume that signed
64950         integer overflow wraps around; modern compilers generate code
64951         where this assumption is no longer valid.
64953 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64955         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64956         Replace "jmp L(pseudo_end)" with "ret".
64957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64958         Likewise.
64960 2012-05-23  Andreas Jaeger  <aj@suse.de>
64962         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64963         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64965 2012-05-23  Andreas Jaeger  <aj@suse.de>
64966             Maximilian Attems  <max@stro.at>
64968         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64969         New macros.
64971 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64973         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64974         code so that pseudo_end is just ret and the stack pointer is
64975         correct also for static library in error case.
64977 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64979         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64980         move to syscalls.list.
64981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64986         * manual/install.texi (Running make install): Do not mention Linux
64987         kernel version for which pt_chown is not needed.
64988         (Linux): Do not mention problems with nscd with 2.0 kernels.
64989         * INSTALL: Regenerated.
64991 2012-05-23  Andreas Jaeger  <aj@suse.de>
64993         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64994         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64995         macro.
64996         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64997         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64998         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64999         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65000         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65001         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65002         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65003         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65004         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65005         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65006         * sysdeps/unix/sysv/linux/bits/in.h
65007         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65009 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65011         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65012         (PREPARE_VERSION): Just use assert instead, it will be elided
65013         under [NDEBUG] anyway.
65015 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65017         * sysdeps/unix/sysv/linux/Makefile: Include
65018         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65019         (sysdep_routines): Remove sysctl.
65020         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65021         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65022         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65023         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65024         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65026 2012-05-22  Andreas Jaeger  <aj@suse.de>
65028         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65029         that pseudo_end is just ret and the stack pointer is correct also
65030         for static library in error case.
65032 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65034         [BZ #14122]
65035         * nss/nsswitch.c (defconfig_entries): New variable.
65036         (__nss_database_lookup): Don't leak defconfig entries.
65037         (nss_parse_service_list): Don't leak on error paths.
65038         (free_database_entries): New function.
65039         (free_defconfig): New function.
65040         (free_mem): Move common code to free_database_entries.
65042 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65044         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65045         Add arch_prctl.
65046         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65048         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65049         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65051         New macro.
65052         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65053         (INTERNAL_SYSCALL_TYPES): Likewise.
65054         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65055         (LOAD_REGS_TYPES_[1-6]): Likewise.
65056         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65057         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65059 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65061         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65062         copysignl for GLIBC_2_0.
65063         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65064         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65066         logbl for GLIBC_2_0.
65067         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65068         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65070 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65072         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65073         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65075         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65076         Use "neg %eax".
65078         * time/mktime.c: Update copyright years.
65080 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65082         mktime: merge comment-quoting-style change from gnulib
65083         * time/mktime.c: Quote 'like this' in comments.
65084         The GNU coding standards suggest that we no longer quote `like this',
65085         as "`" and "'" are typically rendered asymmetrically nowadays.
65086         The typical gnulib style is to quote 'like this' when quoting
65087         code, and "like this" when quoting English.
65089         * time/mktime.c (compile-command): Add "-I.".
65091         mktime: merge mktime-internal.h change from gnulib
65092         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65094         mktime: merge time_r change from gnulib
65095         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65097         mktime: merge DEBUG change from gnulib
65098         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65099         case system <time.h> has a #define.
65101         mktime: merge <sys/types.h> change from gnulib
65102         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65103         since <time.t> is now guaranteed to define time_t.
65105         mktime: merge HAVE_CONFIG_H change from gnulib
65106         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65108 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65111         Use "neg %eax".
65113         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65114         __rlim_t cast.
65115         (struct rusage): Use anonymous union to pad each field to
65116         __syscall_slong_t.
65118 2012-05-21  David S. Miller  <davem@davemloft.net>
65120         * Makefules (o-iterator): Remove .s cases.
65121         (compile-command.s): Delete.
65122         (COMPILE.s): Delete.
65123         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65125 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65127         * configure.in (libc_cv_predef_stack_protector): Only consider
65128         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65129         * configure: Regenerated.
65131 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65134         New macro.  Use R*LP on int and pointer.
65135         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65136         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65137         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65138         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65140         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65141         [__WORDSIZE_TIME64_COMPAT32] instead of
65142         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65143         (struct utmp): Likewise.
65144         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65145         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65146         Renamed to ...
65147         (__WORDSIZE_TIME64_COMPAT32): This.
65148         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65149         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65150         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65151         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65152         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65153         (__WORDSIZE_TIME64_COMPAT32): New macro.
65155 2012-05-21  Andreas Jaeger  <aj@suse.de>
65157         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65158         only if [SHARED]. Add prototype for __wcschr_ia32.
65160 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65162         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65163         of %rbp unmolested in the jmp_buf while mangling the low bits.
65164         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65165         unmolested high bits of %rbp while demangling the low bits.
65166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65168 2012-05-21  Andreas Jaeger  <aj@suse.de>
65170         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65171         * sunrpc/svc_simple.c: Use it for registerrpc.
65172         * sunrpc/xcrypt.c: Use it for passwd2des.
65174         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65176 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65178         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65179         Don't define if [__SYSCALL_WORDSIZE != 32].
65180         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65181         New macro.
65183 2012-05-21  Bruno Haible  <bruno@clisp.org>
65184             Andreas Jaeger  <aj@suse.de>
65186         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65187         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65188         inptr and inend for must_buffer_ch.
65189         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65190         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65191         * stdio-common/Makefile (tests): Remove bug15.
65192         (bug15-ENV): Remove macro.
65193         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65194         anymore.
65196 2012-05-19  Andreas Jaeger  <aj@suse.de>
65197             Roland McGrath  <roland@hack.frob.com>
65199         * manual/contrib.texi: Completely rewritten. It contains now an
65200         alphabetical list of contributors and their contributions.
65202 2012-05-21  Richard Henderson  <rth@twiddle.net>
65204         * misc/getauxval.c (__getauxval): Use unsigned long int.
65205         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65206         (getauxval): Use unsigned long int.
65208 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65210         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65212 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65214         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65215         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65216         __alignof__ (long double).
65218 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65222 2012-05-20  Richard Henderson  <rth@twiddle.net>
65224         * misc/getauxval.c: New file.
65225         * misc/sys/auxv.h: New file.
65226         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65227         (routines): Add getauxval.
65228         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65229         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65230         * elf/dl-sysdep.c (_dl_auxv): Remove.
65231         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65232         * elf/dl-support.c (_dl_auxv): New variable.
65233         (_dl_aux_init): Initialize it.
65234         * manual/startup.texi (Auxiliary Vector): New node.
65235         * sysdeps/generic/bits/hwcap.h: New file.
65236         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65237         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65238         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65239         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65240         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65241         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65243         Update.
65244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65247         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65253 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65257 2012-05-19  David S. Miller  <davem@davemloft.net>
65259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65261 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65263         [BZ #14123]
65264         * math/s_ccosh.c: Include <float.h>
65265         (__ccosh): Avoid internal overflow calculating sinh and cosh
65266         values before multiplying by sin and cos values.
65267         * math/s_ccoshf.c: Likewise.
65268         * math/s_ccoshl.c: Likewise.
65269         * math/s_csin.c: Likewise.
65270         * math/s_csinf.c: Likewise.
65271         * math/s_csinl.c: Likewise.
65272         * math/s_csinh.c: Likewise.
65273         * math/s_csinhf.c: Likewise.
65274         * math/s_csinhl.c: Likewise.
65275         * math/libm-test.inc (ccos_test): Add more tests.
65276         (ccosh_test): Likewise.
65277         (csin_test): Likewise.
65278         (csinh_test): Likewise.
65279         * sysdeps/i386/fpu/libm-test-ulps: Update.
65280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65282 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65284         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65285         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65287         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65289 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65291         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65292         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65293         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65294         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65295         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65296         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65297         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65298         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65299         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65300         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65301         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65302         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65303         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65304         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65305         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65306         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65307         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65308         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65309         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65310         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65311         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65312         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65313         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65314         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65315         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65316         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65317         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65318         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65319         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65320         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65321         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65323 2012-05-18  Andreas Jaeger  <aj@suse.de>
65325         * csu/.gitignore: Delete.
65327 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65329         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65330         (timex): Use __syscall_slong_t.
65332 2012-05-18  Andreas Jaeger  <aj@suse.de>
65333             Carlos O'Donell  <carlos_odonell@mentor.com>
65335         * manual/install.texi (Configuring and compiling): Update
65336         description about files modified in the source directory.
65337         * INSTALL: Regenerated.
65339 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65341         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65342         value.  Use "or" to set return value to -1.
65343         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65344         negate return value.
65346 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65348         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65349         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65350         failure if the compiler has Graphite support disabled.
65351         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65352         Likewise.
65353         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65354         (CFLAGS-memmove.c): Likewise.
65355         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65356         Likewise.
65358 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65360         * sysdeps/x86_64/x32/_itoa.h: New file.
65362         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65363         getdents system call only if kernel and user dirents have the
65364         same d_ino and d_off.
65366         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65367         LLONG_MAX != LONG_MAX.
65368         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65369         (_fitoa_word): Likewise.
65371         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65372         years.
65373         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65374         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65375         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65377         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65378         include <bits/wordsize.h>.  Check __x86_64__ instead of
65379         __WORDSIZE.
65380         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65381         if __x86_64__ is defined.  Use anonymous union on fpstate.
65383         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65384         anonymous union.
65386 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65388         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65389         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65390         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65391         Refer to _rtld_local_ro instead of _rtld_global_ro.
65392         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65393         Likewise.
65394         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65395         Likewise.
65396         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65397         Likewise.
65398         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65399         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65400         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65402         [BZ #10882]
65403         * sysdeps/powerpc/powerpc32/dl-machine.c
65404         (__elf_machine_runtime_setup) [PROF]: Don't reference
65405         _dl_prof_resolve.
65407 2012-05-18  Andreas Jaeger  <aj@suse.de>
65409         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65410         function only available for GCCs before 3.4 since GCC 3.4
65411         introduced a builtin.
65412         (lrint): Likewise.
65413         (llrintf): Likewise.
65414         (llrint): Likewise.
65415         (fmaxf): Likewise.
65416         (fmax): Likewise.
65417         (fminf): Likewise.
65418         (fmin): Likewise.
65419         (rint): Likewise.
65420         (rintf): Likewise.
65421         (nearbyint): Likewise.
65422         (nearbyintf): Likewise.
65423         (ceil): Likewise.
65424         (ceilf): Likewise.
65425         (floor): Likewise.
65426         (floorf): Likewise.
65428 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65430         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65431         on both fields and cast pointer to __syscall_ulong_t.
65433         * bits/types.h (__fsword_t): New type.
65434         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65435         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65436         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65437         (__FSWORD_T_TYPE): Likewise.
65438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65439         (__FSWORD_T_TYPE): Likewise.
65440         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65441         (__FSWORD_T_TYPE): Likewise.
65442         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65443         (__FSWORD_T_TYPE): Likewise.
65444         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65445         __SWORD_TYPE with __fsword_t.
65446         (statfs64): Likewise.
65448 2012-05-17  David S. Miller  <davem@davemloft.net>
65450         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65452 2012-05-17  Andreas Jaeger  <aj@suse.de>
65454         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65455         warning.
65457 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65459         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65461 2012-05-17  Andreas Jaeger  <aj@suse.de>
65463         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65464         when it is used.
65466 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65468         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65470 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65472         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65473         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65475 2012-05-17  Andreas Jaeger  <aj@suse.de>
65476             Carlos O'Donell  <carlos_odonell@mentor.com>
65478         [BZ #14059]
65479         * sysdeps/x86_64/multiarch/init-arch.h
65480         (bit_YMM_Usable): Rename to...
65481         (bit_AVX_Usable): ... this.
65482         (bit_FMA4_Usable): New macro.
65483         (bit_XMM_state): New macro.
65484         (bit_YMM_state): New macro.
65485         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65486         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65487         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65488         (CPUID_OSXSAVE): New macro.
65489         (CPUID_AVX): New macro.
65490         (CPUID_FMA4): New macro.
65491         (index_YMM_Usable): Rename to...
65492         (index_AVX_Usable): ... this.
65493         (HAS_AVX): Use HAS_ARCH_FEATURE.
65494         (HAS_FMA4): Likewise.
65495         (HAS_YMM_USABLE): Remove.
65496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65497         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65498         are present.
65499         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65500         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65501         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65502         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65503         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65505 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65507         * math/libm-test.c: Support platforms without multiple rounding modes.
65508         * math/bug-nextafter.c: Support platforms without FP exceptions.
65509         * math/bug-nexttoward.c: Likewise.
65510         * math/test-fenv.c: Likewise.
65511         * math/test-misc.c: Likewise.
65512         * stdlib/bug-getcontext.c: Likewise.
65514 2012-05-17  Andreas Jaeger  <aj@suse.de>
65516         * manual/examples/search.c (critter_cmp): Change signature to
65517         avoid warnings.
65518         * manual/string.texi (Collation Functions): Likewise.
65520 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65522         * bits/types.h: Fold copyright years.
65523         * bits/typesizes.h: Likewise.
65524         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65526         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65527         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65528         * time/time.h: Likewise.
65530 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65532         [BZ #208]
65533         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65534         in instead of returning them.  Return void.
65535         (__libc_mallinfo): Accumulate over all arenas.
65536         (__malloc_stats): Adjust for change in int_mallinfo interface.
65538 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65540         [BZ #10375]
65541         * configure.in (NM): Add AC_CHECK_TOOL for it.
65542         (libc_extra_cflags): New substituted variable.
65543         Check for -fstack-protector being used implicitly.
65544         * configure: Regenerated.
65545         * config.make.in (config-extra-cflags): New variable,
65546         gets @libc_extra_cflags@.
65547         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65549         [BZ #10375]
65550         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65551         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65552         * configure: Regenerated.
65553         * config.make.in (CPPUNDEFS): New substituted variable.
65554         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65555         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65556         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65558 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65560         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65561         (mq_attr): Use __syscall_slong_t.
65563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65565         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65566         Check __x86_64__ instead of __WORDSIZE.
65567         (_STAT_VER_LINUX): Likewise.
65568         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65569         __syscall_ulong_t and __syscall_slong_t.
65570         (stat64): Likewise.
65572 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65574         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65576 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65578         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65580 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65582         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65583         __syscall_ulong_t.
65585         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65586         include <bits/wordsize.h>.  Check __x86_64__ instead of
65587         __WORDSIZE.
65588         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65589         defined.
65590         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65592         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65593         include <bits/wordsize.h>.  Check __x86_64__ instead of
65594         __WORDSIZE.
65595         (user_regs_struct): Use "__extension__ unsigned long long"
65596         instead of "unsigned long" if __x86_64__ is defined.
65597         (user): Likewise.  Pad after pointer field if __ILP32__ is
65598         defined.
65600 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65602         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65603         versions 5 to 9.
65604         * configure: Regenerated.
65605         * manual/install.texi (texinfo): Increase version requirement to
65606         4.5 or later.
65607         * INSTALL: Regenerated.
65609         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65611 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65613         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65615         * sysdeps/x86_64/x32/ffs.c: New file.
65617         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65618         __syscall_ulong_t.
65619         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65620         defined.  Use __syscall_ulong_t.
65621         (shminfo): Use __syscall_ulong_t.
65622         (shm_info): Likewise.
65624         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65625         __syscall_ulong_t.
65627         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65628         <bits/wordsize.h>.
65629         (msgqnum_t): Use __syscall_ulong_t.
65630         (msglen_t): Likewise.
65631         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65632         __syscall_ulong_t.
65634         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65635         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65637         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65639         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65640         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65642         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65643         __syscall_slong_t.
65645         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65646         include <bits/wordsize.h>.  Check __x86_64__ instead of
65647         __WORDSIZE.
65649         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65650         "unsigned long long int" if __x86_64__ is defined.
65651         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65653         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65654         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65655         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65657         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65658         <stdint.h>.
65659         (GET_PC): Cast to uintptr_t first.
65660         (GET_FRAME): Likewise.
65661         (GET_STACK): Likewise.
65663         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65664         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65665         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65666         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65667         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65668         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65669         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65670         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65671         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65673         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65674         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65675         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65676         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65677         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65678         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65679         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65680         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65681         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65682         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65683         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65684         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65685         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65686         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65687         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65688         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65689         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65690         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65691         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65693 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65695         * Makerules (+depfiles): Also collect depfiles from .oS in
65696         $(extra-objs).
65697         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65698         .oS, $(libnldbl-routines)).
65700         * Makerules (native-compile-mkdep-flags): Define.
65701         * sunrpc/Makefile (extra-objs): Add $(addprefix
65702         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65703         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65704         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65705         calling $(make-target-directory).
65707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65709         * bits/types.h (__snseconds_t): Removed.
65710         * time/time.h (struct timespec): Replace __snseconds_t with
65711         __syscall_slong_t.
65712         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65713         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65714         Likewise.
65715         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65716         (__SNSECONDS_T_TYPE): Likewise.
65717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65718         (__SNSECONDS_T_TYPE): Likewise.
65719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65720         (__SNSECONDS_T_TYPE): Likewise.
65722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65724         * sysdeps/mach/hurd/bits/typesizes.h
65725         (__SYSCALL_SLONG_TYPE): New macro.
65726         (__SYSCALL_ULONG_TYPE): Likewise.
65728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65730         * bits/types.h (__syscall_slong_t): New type.
65731         (__syscall_ulong_t): Likewise.
65733         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65734         (__SYSCALL_ULONG_TYPE): Likewise.
65735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65736         (__SYSCALL_SLONG_TYPE): Likewise.
65737         (__SYSCALL_ULONG_TYPE): Likewise.
65738         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65739         (__SYSCALL_SLONG_TYPE): Likewise.
65740         (__SYSCALL_ULONG_TYPE): Likewise.
65741         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65742         (__SYSCALL_SLONG_TYPE): Likewise.
65743         (__SYSCALL_ULONG_TYPE): Likewise.
65745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65747         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65748         Add sigaltstack-offsets.sym.
65749         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65750         <sigaltstack-offsets.h>.
65751         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65752         longjmp_msg pointer.
65753         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65754         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65755         signal stack.
65756         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65758 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65760         * elf/stackguard-macros.h: Remove file.
65761         * sysdeps/generic/stackguard-macros.h: New file.
65762         * sysdeps/i386/stackguard-macros.h: Likewise.
65763         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65764         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65765         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65766         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65767         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65768         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65769         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65770         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65771         <elf/stackguard-macros.h>.
65773         [BZ #14109]
65774         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65775         __aligned__ in attribute.
65776         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65777         (gregset_t): Likewise.
65779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65781         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65782         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65783         * sysdeps/x86_64/x32/Implies-after: New file.
65785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65787         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65788         and access return value for _dl_profile_fixup.  Use R10_LP to
65789         load frame size.
65791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65793         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65797         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65798         * sysdeps/x86_64/x32/sysdep.h: New file.
65800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65802         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65803         * sysdeps/x86_64/setjmp.S: Likewise.
65805 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65807         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65808         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65809         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65810         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65811         remove unused global constant.
65813 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65815         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65816         include of <not-cancel.h>.
65818 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65820         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65822 2012-05-15  Jeff Law  <law@redhat.com>
65823             Andreas Jaeger  <aj@suse.de>
65825         [BZ #13594]
65826         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65827         out from...
65828         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65829         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65830         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65831         code changing __hst_map_handle.map.
65833 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65835         * configure.in (sysnames): Look for Implies-before and Implies-after
65836         files.
65837         * configure: Regenerated.
65839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65841         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65842         8-byte data alignment with LP_SIZE alignment.
65844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65846         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65847         into R10_LP.
65849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65851         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65855         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65856         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65857         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65858         Likewise.
65859         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65863         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65864         (stackinfo_sub_sp): Likewise.
65866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65868         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65869         RAX_LP.
65871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65873         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65874         into R*_LP.
65876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65878         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65879         sizes into R*_LP.
65881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65883         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65887         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65888         into R11_LP and load __x86_64_shared_cache_size_half into
65889         R8_LP.
65891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65893         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65894         R8_LP.
65896 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65898         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65899         logb for POWER7.
65900         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65901         logbf for POWER7.
65902         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65903         logbl for POWER7.
65904         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65905         powerpc32/power7/fpu/s_logb.c via #include.
65906         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65907         powerpc32/power7/fpu/s_logbf.c via #include.
65908         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65909         powerpc32/power7/fpu/s_logbl.c via #include.
65911 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65913         * README.libm: Remove file.
65915 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65917         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65918         count for x32.  Use R*_LP and omit operand-size suffix.
65920 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65922         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65923         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65924         * sysdeps/x86_64/x32/shlib-versions: New file.
65926 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65928         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65929         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65930         Use _dl_fatal_printf instead.
65932 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65934         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65935         set if not set by the user.  Do not allow for being unset.
65936         * sysdeps/unix/sysv/linux/configure: Regenerated.
65938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65940         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65941         the `q' suffix from lea and replace .quad with ASM_ADDR.
65943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65945         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65946         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65947         instead of $17.
65948         (PTR_DEMANGLE): Likewise.
65950 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65952         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65953         (LP_OP): Likewise.
65954         (ASM_ADDR): Likewise.
65955         (RAX_LP): Likewise.
65956         (RBP_LP): Likewise.
65957         (RBX_LP): Likewise.
65958         (RCX_LP): Likewise.
65959         (RDI_LP): Likewise.
65960         (RSI_LP): Likewise.
65961         (RSP_LP): Likewise.
65962         (R8_LP): Likewise.
65963         (R9_LP): Likewise.
65964         (R10_LP): Likewise.
65965         (R10_LP): Likewise.
65966         (R11_LP): Likewise.
65967         (R12_LP): Likewise.
65968         (R13_LP): Likewise.
65969         (R14_LP): Likewise.
65970         (R15_LP): Likewise.
65972 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65974         * sysdeps/x86_64/x32/dl-machine.h: New file.
65976 2012-05-14  Andreas Jaeger  <aj@suse.de>
65978         * manual/Makefile (subdir): Remove export of subdir.
65979         (all): Remove target.
65980         (.PHONY): Remove all from list.
65981         (mkinstalldirs): Remove.
65982         (.PHONY): Remove installdirs from list.
65983         ($(inst_infodir)/libc.info): Use make-target-directory.
65984         (installdirs): Remove.
65985         (subdir_%): Remove.
65986         (glibc-targets): Remove.
65987         (lib): Remove.
65988         (stubs): Remove.
65989         ($(objpfx)stubs ../po/manual.pot): Remove.
65990         ($(objpfx)stamp%): Remove.
65991         (make-target-directory): Remove.
65992         (subdir_install): Remove.
65993         (routines): Remove.
65994         (aux): Remove.
65995         (sources): Remove.
65996         (objects): Remove.
65997         (headers): Remove.
65999         [BZ #13750]
66000         * manual/.gitignore: Remove, it's not needed anymore.
66001         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66002         all files in it.
66003         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66004         directory.
66005         (texis): Renamed to $(objpfx)texis.
66006         (texis-path): New, contains path to generated files.
66007         (chapters.%): Use texis-path for complete path, add extra argument
66008         libc-texinfo.sh.
66009         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66010         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66011         (summary,texi, stamp-summary): Use complete path of
66012         files. Generate files in build dir.
66013         (dir-add.texi): Build in build dir.
66014         (libm-err.texi,stamp-libm-err): Likewise.
66015         (version.texi, stamp-version): Likewise.
66016         (.%c.texi): Likewise.
66017         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66018         (mostlyclean): Remove target.
66019         (realclean): Remove target.
66020         (generated): Add new variable with contents from mostlyclean and
66021         realclean, remove entries duplicated in common-mostlyclean, add
66022         stamp-libm-err and stamp-version.
66023         (generated-dirs): Add libc directory.
66024         ($(inst_infodir)/libc.info): Install files from build dir.
66026         * manual/install.texi (Configuring and compiling): Adjust since
66027         the info files are not part of the tar ball anymore.
66029 2012-05-14  Andreas Jaeger  <aj@suse.de>
66031         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66032         variable.
66034 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66036         [BZ #13717]
66037         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66038         to 2.2.0 where earlier.
66039         * sysdeps/unix/sysv/linux/configure: Regenerated.
66040         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66041         Remove conditional code.
66042         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66043         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66044         Remove conditional code.
66045         [!__NR_lchown]: Likewise.
66046         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66047         [__NR_lchown]: Likewise.
66048         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66049         comment referencing __ASSUME_LCHOWN_SYSCALL.
66050         * sysdeps/unix/sysv/linux/i386/sigaction.c
66051         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66052         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66053         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66054         Remove conditional code.
66055         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66056         (__protocol_available): Remove #if 0 code.
66057         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66058         conditional code.
66059         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66060         * sysdeps/unix/sysv/linux/kernel-features.h
66061         (__ASSUME_GETCWD_SYSCALL): Don't define.
66062         (__ASSUME_REALTIME_SIGNALS): Likewise.
66063         (__ASSUME_PREAD_SYSCALL): Likewise.
66064         (__ASSUME_PWRITE_SYSCALL): Likewise.
66065         (__ASSUME_POLL_SYSCALL): Likewise.
66066         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66067         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66068         non-SPARC.
66069         (__ASSUME_SIOCGIFNAME): Don't define.
66070         (__ASSUME_MSG_NOSIGNAL): Likewise.
66071         (__ASSUME_SENDFILE): Define unconditionally.
66072         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66073         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66074         conditional code.
66075         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66076         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66077         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66078         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66079         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66080         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66081         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66083         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66084         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66086         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66087         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66089         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66090         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66092         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66093         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66095         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66096         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66098         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66099         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66101         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66104         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66105         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66106         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66107         Remove conditional code.
66108         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66109         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66110         Remove conditional code.
66111         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66112         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66113         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66114         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66115         Remove conditional code.
66116         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66117         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66118         Remove conditional code.
66119         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66120         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66121         Remove conditional code.
66122         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66123         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66124         Remove conditional code.
66125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66126         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66127         Remove conditional code.
66128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66129         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66130         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66132         * sysdeps/unix/sysv/linux/sigaction.c
66133         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66134         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66135         * sysdeps/unix/sysv/linux/sigpending.c
66136         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66137         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66138         * sysdeps/unix/sysv/linux/sigprocmask.c
66139         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66140         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66141         * sysdeps/unix/sysv/linux/sigsuspend.c
66142         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66143         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66144         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66145         (__libc_missing_rt_sigs): Remove.
66146         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66147         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66148         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66149         Remove conditional code.
66150         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66151         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66152         return 1.
66153         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66154         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66155         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66156         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66158 2012-05-14  Andreas Jaeger  <aj@suse.de>
66160         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66161         it's not used in glibc.
66162         (__coshm1): Likewise.
66163         (__acosh1p): Likewise.
66164         (__sgn): Likewise.
66166         * manual/string.texi (Copying and Concatenation): Add missing
66167         variable in concat example.
66168         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66170 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66172         [BZ #14103]
66173         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66174         __builtin_clzl with __builtin_clzll.
66176 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66178         [BZ #14104]
66179         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66180         libc_freeres_ptr.
66182 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66184         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66185         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66186         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66187         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66189 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66191         * NEWS: Update ia64 info.
66193 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66195         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66196         used as bcopy.
66198 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66200         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66201         * sysdeps/unix/syscalls.list (dup3): Likewise.
66202         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66203         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66205 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66207         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66208         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66210 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66212         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66213         thread pointer.
66214         (TLS_IE): Use mov/add instead of movq/addq to load thread
66215         pointer.
66216         (TLS_GD_PREFIX): New.
66217         (TLS_GD): Use it.
66219 2012-05-11  David S. Miller  <davem@davemloft.net>
66221         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66222         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66223         (_FPU_SETCW): Likewise.
66225 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66227         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66228         is 32-byte aligned.
66230 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66232         [BZ #11837]
66233         * iconvdata/gb18030.c: Update tables.
66234         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66235         characters specially.
66236         (BODY for TO_LOOP): Add encoding of missing ranges.
66238 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66240         [BZ #13673]
66241         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66242         * sysdeps/mach/hurd/dup3.c: Likewise.
66243         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66244         * sysdeps/powerpc/memmove.c:: Likewise.
66246 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66248         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66249         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66251 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66253         * elf/elf.h (R_X86_64_RELATIVE64): New.
66254         (R_X86_64_NUM): Updated.
66255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66256         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66257         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66258         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66259         tst-quad1pie tst-quad2pie
66260         (modules-names): Add tst-quadmod1 tst-quadmod2.
66261         ($(objpfx)tst-quad1): New dependency.
66262         ($(objpfx)tst-quad2): Likewise.
66263         ($(objpfx)tst-quad1pie): Likewise.
66264         ($(objpfx)tst-quad2pie): Likewise.
66265         * sysdeps/x86_64/tst-quad1.c: New file.
66266         * sysdeps/x86_64/tst-quad1pie.c: New file.
66267         * sysdeps/x86_64/tst-quad2.c: Likewise.
66268         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66269         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66270         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66271         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66272         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66274 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66276         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66277         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66278         * streams/stropts.h (t_scalar_t): Define type.
66280         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66281         (_PATH_PRESERVE): Set to "/var/lib".
66282         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66284         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66285         instead of int.
66287         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66288         if __dir_mkfile succeeded.
66290         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66291         checking for _hurd_dtablesize.  Unlock it right after having
66292         finished _hurd_dtable allocation.
66294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66296         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66297         * sysdeps/mach/hurd/configure: Regenerated.
66298         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66299         special-casing to...
66300         * sysdeps/gnu/configure.in: ... this new file.
66301         * sysdeps/unix/sysv/linux/configure: Regenerated.
66302         * sysdeps/gnu/configure: New generated file.
66304         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66305         for Linux: use nsec instead of usec, as well as:
66306         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66307         members of type struct timespec.
66308         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66309         New macros.
66310         (struct stat64): Likewise.
66311         (_STATBUF_ST_NSEC): New macro.
66312         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66314         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66315         __strtoul_internal rather than strtoul.
66317 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66319         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66320         and reject them.
66322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66324         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66325         which preserves existing values.
66326         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66328 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66330         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66331         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66332         greater than FD_SETSIZE.
66334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66336         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66337         allocated, call __vm_protect to finish enabling the existing space, and
66338         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66339         allocate the remainder.
66341 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66343         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66344         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66346 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66348         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66349         sysdeps/mach/hurd/readlink.c.
66351         * posix/tst-sysconf.c (posix_options): Only use
66352         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66353         _POSIX_SYNCHRONIZED_IO when they are defined
66354         * sysdeps/mach/hurd/bits/posix_opt.h:
66355         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66356         (_XOPEN_REALTIME): Undefine macro.
66357         (_XOPEN_REALTIME_THREADS): Undefine macro.
66358         (_XOPEN_SHM): Undefine macro.
66359         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66360         macro to -1.
66361         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66362         macro to -1.
66363         (_POSIX_ASYNC_IO): Undefine macro.
66364         (_POSIX_PRIORITIZED_IO): Undefine macro.
66365         (_POSIX_SPIN_LOCKS): Define macro to -1.
66367         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66368         SA_NODEFER, SA_RESETHAND.
66369         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66370         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66371         F_DUPFD_CLOEXEC.
66373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66375         * elf/Makefile (pldd-modules): Define unconditionally.
66377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66379         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66381 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66383         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66384         Return ENOENT when name is empty.
66385         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66387 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66389         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66391         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66395         Fix mlock in all cases except non-readable pages.
66396         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66397         instead of VM_PROT_ALL as parameter to __vm_wire function.
66399         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66400         (__mkdir): When path is `/', just fail with EEXIST.
66401         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66405         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66406         <sys/uio.h> (for writev).
66407         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66408         and <sys/param.h> (for MIN).
66410 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66412         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66413         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66414         if interrupted.
66416 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66418         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66419         Depend on against $(link-rpcuserlibs).
66421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66423         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66424         (__libc_stack_end): Do not use attribute_relro.
66425         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66426         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66427         to libthread-provided value.
66428         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66429         attribute_relro.
66431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66433         [BZ #3748]
66434         * bits/libc-lock.h (__libc_once_get): New macro.
66435         * sysdeps/mach/bits/libc-lock.h: Likewise.
66436         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66438         instead of using implementation details.
66440         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66441         * libio/freopen.c: Likewise.
66442         * libio/freopen64.c: Likewise.
66443         * misc/syslog.c: Likewise.
66444         * nscd/connections.c: Likewise.
66445         * nscd/netgroupcache.c: Likewise.
66446         * sysdeps/posix/getcwd.c: Likewise.
66448 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66450         * math/w_ilogbf.c: Add #include <limits.h>.
66452 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66454         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66455         path instead of returning without unlocking.
66457         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66458         immediate-write ioctls.
66459         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66461 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66463         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66464         __builtin_frame_address instead of making assumptions about the
66465         location of the return address relative to DATA.  Force early load of
66466         the return address.
66467         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66468         __builtin_frame_address.
66470         dup3 for GNU Hurd.
66471         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66472         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66473         implement dup3 and do some further code clean-ups.
66474         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66475         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66479         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66481         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66482         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66483         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66484         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66485         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66486         d->port.lock.
66488         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66489         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66490         when handler == SIG_ERR, not when handler != SIG_ERR.
66492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66494         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66495         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66496         definitions.
66498         accept4 for GNU Hurd.
66499         * include/sys/socket.h (__libc_accept4): New prototype.
66500         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66501         to implement __libc_accept4.
66502         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66503         __libc_accept4.
66504         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66506         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66507         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66508         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66509         signal-defines.sym.
66511 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66513         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66515 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66517         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66518         assertion on O_CLOEXEC flag.
66519         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66520         * hurd/intern-fd.c: Likewise.
66521         * hurd/port2fd.c: Likewise.
66523 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66525         [BZ #3906]
66526         * bits/in.h (IPV6_PKTINFO): Define new macro.
66527         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66529 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66531         [BZ #13954]
66532         [BZ #13955]
66533         [BZ #13956]
66534         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66535         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66536         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66537         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66538         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66539         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66540         * math/libm-test.inc (logb_test) : Additional logb tests.
66542 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66543             Andreas Jaeger  <aj@suse.de>
66545         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66546         * configure: Regenerated.
66547         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66548         * config.make.in (link-obsolete-rpc): New substituted variable.
66549         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66550         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66551         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66552         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66553         so that libc.a contains the symbols.
66554         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66555         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66556         * sunrpc/auth_none.c: Likewise.
66557         * sunrpc/auth_unix.c: Likewise.
66558         * sunrpc/authdes_prot.c: Likewise.
66559         * sunrpc/authuxprot.c: Likewise.
66560         * sunrpc/clnt_gen.c: Likewise.
66561         * sunrpc/clnt_perr.c: Likewise.
66562         * sunrpc/clnt_raw.c: Likewise.
66563         * sunrpc/clnt_simp.c: Likewise.
66564         * sunrpc/clnt_tcp.c: Likewise.
66565         * sunrpc/clnt_udp.c: Likewise.
66566         * sunrpc/clnt_unix.c: Likewise.
66567         * sunrpc/des_crypt.c: Likewise.
66568         * sunrpc/des_soft.c: Likewise.
66569         * sunrpc/get_myaddr.c: Likewise.
66570         * sunrpc/key_call.c: Likewise.
66571         * sunrpc/key_prot.c: Likewise.
66572         * sunrpc/netname.c: Likewise.
66573         * sunrpc/pm_getmaps.c: Likewise.
66574         * sunrpc/pm_getport.c: Likewise.
66575         * sunrpc/pmap_clnt.c: Likewise.
66576         * sunrpc/pmap_prot.c: Likewise.
66577         * sunrpc/pmap_prot2.c: Likewise.
66578         * sunrpc/pmap_rmt.c: Likewise.
66579         * sunrpc/publickey.c: Likewise.
66580         * sunrpc/rpc_cmsg.c: Likewise.
66581         * sunrpc/rpc_common.c: Likewise.
66582         * sunrpc/rpc_dtable.c: Likewise.
66583         * sunrpc/rpc_prot.c: Likewise.
66584         * sunrpc/rpc_thread.c: Likewise.
66585         * sunrpc/rtime.c: Likewise.
66586         * sunrpc/svc.c: Likewise.
66587         * sunrpc/svc_auth.c: Likewise.
66588         * sunrpc/svc_raw.c: Likewise.
66589         * sunrpc/svc_run.c: Likewise.
66590         * sunrpc/svc_tcp.c: Likewise.
66591         * sunrpc/svc_udp.c: Likewise.
66592         * sunrpc/svc_unix.c: Likewise.
66593         * sunrpc/svcauth_des.c: Likewise.
66594         * sunrpc/xcrypt.c: Likewise.
66595         * sunrpc/xdr.c: Likewise.
66596         * sunrpc/xdr_array.c: Likewise.
66597         * sunrpc/xdr_float.c: Likewise.
66598         * sunrpc/xdr_intXX_t.c: Likewise.
66599         * sunrpc/xdr_mem.c: Likewise.
66600         * sunrpc/xdr_rec.c: Likewise.
66601         * sunrpc/xdr_ref.c: Likewise.
66602         * sunrpc/xdr_sizeof.c: Likewise.
66603         * sunrpc/xdr_stdio.c: Likewise.
66605 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66608         change.  Update copyright years.
66610 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66612         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66614 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66615             Joseph Myers  <joseph@codesourcery.com>
66616             Paul Pluzhnikov  <ppluzhnikov@google.com>
66618         [BZ #14012]
66619         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66620         requiring rpcgen.
66621         [cross-compiling] (extra-libs): Likewise.
66622         [cross-compiling] (extra-libs-others): Likewise.
66623         [cross-compiling] (librpcsvc-routines): Likewise.
66624         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66625         [cross-compiling] (omit-deps): Likewise.
66626         (sunrpc-CPPFLAGS): New variable.
66627         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66628         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66629         (cross-rpcgen-objs): New variable.
66630         (extra-objs): Append $(cross-rpcgen-objs).
66631         ($(cross-rpcgen-objs)): New rule.
66632         ($(objpfx)cross-rpcgen): Likewise.
66633         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66634         comment.
66635         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66636         ($(objpfx)x%.stmp): Likewise.
66637         * sunrpc/proto.h [IS_IN_build] (_): Define.
66638         [IS_IN_build] (_libc_intl_domainname): Likewise.
66640 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66642         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66643         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66644         and R_X86_64_TPOFF64.
66646 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66648         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66649         sysdeps/unix/sysv/syscalls.list.
66650         (stime): Likewise.
66651         (utime): Likewise.
66652         * sysdeps/unix/sysv/syscalls.list: Remove file.
66654 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66656         [BZ #3440]
66657         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66658         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66659         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66660         (__LC_IDENTIFICATION): Make these macros useful in #if
66661         expressions, as required by C99.
66663 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66665         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66666         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66667         after this.
66669 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66671         * stdlib/longlong.h: Updated from GCC.
66673 2012-05-09  Andreas Jaeger  <aj@suse.de>
66675         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66676         default is first entry.
66677         (run_mode): Set type.
66678         (main): Remove informal message about syslog.
66679         (options): Fix typo.
66681         [BZ #14053]
66682         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66683         to asm.
66684         (lrint): Likewise.
66685         (llrintf): Likewise.
66686         (llrint): Likewise.
66687         (rint): Likewise.
66688         (rintf): Likewise.
66689         (nearbyint): Likewise.
66690         (nearbyintf): Likewise.
66692 2012-05-09  Andreas Jaeger  <aj@suse.de>
66693             Pedro Alves  <palves@redhat.com>
66695         * nscd/nscd.c (run_mode): Use enum.
66696         (main): Cleanup coding style issue.
66698 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66699             Andreas Jaeger  <aj@suse.de>
66701         * nscd/nscd.c (go_background): Replaced with...
66702         (run_mode): ... this.
66703         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66704         (options): Add -F --foreground.
66705         (main): Implement it.
66706         (parse_opt): Parse it.
66708 2012-05-09  Andreas Jaeger  <aj@suse.de>
66710         [BZ #14083]
66711         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66712         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66713         -Wconversion warning.
66714         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66715         Likewise.
66717 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66719         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66720         == 0.
66721         (LC_ALL): Use macro-int-constant.
66722         (LC_COLLATE): Likewise.
66723         (LC_CTYPE): Likewise.
66724         (LC_MESSAGES): Likewise.
66725         (LC_MONETARY): Likewise.
66726         (LC_NUMERIC): Likewise.
66727         (LC_TIME): Likewise.
66728         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66729         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66730         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66731         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66732         Specify type.
66733         [C99-based standards] (float_t): Expect type.
66734         [C99-based standards] (double_t): Expect type.
66735         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66736         type.
66737         [C99-based standards] (HUGE_VALL): Likewise.
66738         [C99-based standards] (INFINITY): Likewise.
66739         [C99-based standards] (NAN): Likewise.
66740         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66741         [C99-based standards] (FP_NAN): Likewise.
66742         [C99-based standards] (FP_NORMAL): Likewise.
66743         [C99-based standards] (FP_SUBNORMAL): Likewise.
66744         [C99-based standards] (FP_ZERO): Likewise.
66745         [C99-based standards] (FP_FAST_FMA): Use
66746         optional-macro-int-constant.  Specify type.  Require == 1.
66747         [C99-based standards] (FP_FAST_FMAF): Likewise.
66748         [C99-based standards] (FP_FAST_FMAL): Likewise.
66749         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66750         [C99-based standards] (FP_ILOGBNAN): Likewise.
66751         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66752         Specify type.
66753         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66754         [C99-based standards] (math_errhandling): Specify type.
66755         [ISO99 || ISO11] (signgam): Do not allow.
66756         [non-C99-based standards] (copysignf): Do not allow.
66757         [non-C99-based standards] (exp2f): Likewise.
66758         [non-C99-based standards] (log2f): Likewise.
66759         [non-C99-based standards] (modff): Allow.
66760         [non-C99-based standards] (erff): Do not allow.
66761         [non-C99-based standards] (erfcf): Likewise.
66762         [non-C99-based standards] (gammaf): Likewise.
66763         [non-C99-based standards] (hypotf): Likewise.
66764         [non-C99-based standards] (j0f): Likewise.
66765         [non-C99-based standards] (j1f): Likewise.
66766         [non-C99-based standards] (jnf): Likewise.
66767         [non-C99-based standards] (lgammaf): Likewise.
66768         [non-C99-based standards] (tgammaf): Likewise.
66769         [non-C99-based standards] (y0f): Likewise.
66770         [non-C99-based standards] (y1f): Likewise.
66771         [non-C99-based standards] (ynf): Likewise.
66772         [non-C99-based standards] (isnanf): Likewise.
66773         [non-C99-based standards] (acoshf): Likewise.
66774         [non-C99-based standards] (asinhf): Likewise.
66775         [non-C99-based standards] (atanhf): Likewise.
66776         [non-C99-based standards] (cbrtf): Likewise.
66777         [non-C99-based standards] (expm1f): Likewise.
66778         [non-C99-based standards] (ilogbf): Likewise.
66779         [non-C99-based standards] (log1pf): Likewise.
66780         [non-C99-based standards] (logbf): Likewise.
66781         [non-C99-based standards] (nextafterf): Likewise.
66782         [non-C99-based standards] (remainderf): Likewise.
66783         [non-C99-based standards] (rintf): Likewise.
66784         [non-C99-based standards] (scalbf): Likewise.
66785         [non-C99-based standards] (copysignl): Likewise.
66786         [non-C99-based standards] (exp2l): Likewise.
66787         [non-C99-based standards] (log2l): Likewise.
66788         [non-C99-based standards] (modfl): Allow.
66789         [non-C99-based standards] (erfl): Do not allow.
66790         [non-C99-based standards] (erfcl): Likewise.
66791         [non-C99-based standards] (gammal): Likewise.
66792         [non-C99-based standards] (hypotl): Likewise.
66793         [non-C99-based standards] (j0l): Likewise.
66794         [non-C99-based standards] (j1l): Likewise.
66795         [non-C99-based standards] (jnl): Likewise.
66796         [non-C99-based standards] (lgammal): Likewise.
66797         [non-C99-based standards] (tgammal): Likewise.
66798         [non-C99-based standards] (y0l): Likewise.
66799         [non-C99-based standards] (y1l): Likewise.
66800         [non-C99-based standards] (ynl): Likewise.
66801         [non-C99-based standards] (isnanl): Likewise.
66802         [non-C99-based standards] (acoshl): Likewise.
66803         [non-C99-based standards] (asinhl): Likewise.
66804         [non-C99-based standards] (atanhl): Likewise.
66805         [non-C99-based standards] (cbrtl): Likewise.
66806         [non-C99-based standards] (expm1l): Likewise.
66807         [non-C99-based standards] (ilogbl): Likewise.
66808         [non-C99-based standards] (log1pl): Likewise.
66809         [non-C99-based standards] (logbl): Likewise.
66810         [non-C99-based standards] (nextafterl): Likewise.
66811         [non-C99-based standards] (remainderl): Likewise.
66812         [non-C99-based standards] (rintl): Likewise.
66813         [non-C99-based standards] (scalbl): Likewise.
66814         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66815         [non-C99-based standards] (FP_*): Do not allow.
66816         [C99-based standards] (FP_*): Change to
66817         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66818         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66819         allow.
66820         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66821         (SIG_ERR): Likewise.
66822         [X/Open-based standards] (SIG_HOLD): Likewise.
66823         (SIG_IGN): Likewise.
66824         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66825         positive value.
66826         (SIGFPE): Likewise.
66827         (SIGILL): Likewise.
66828         (SIGINT): Likewise.
66829         (SIGSEGV): Likewise.
66830         (SIGTER): Likewise.
66831         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66832         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66833         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66834         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66835         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66836         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66837         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66838         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66839         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66840         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66841         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66842         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66843         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66844         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66845         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66846         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66847         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66848         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66849         [X/Open-based standards] (SIGTRAP): Likewise.
66850         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66851         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66852         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66853         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66854         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66855         allow.
66857 2012-05-08  Ian Wienand  <ianw@vmware.com>
66859         [BZ #14080]
66860         * time/tzset.c (__tzset_parse_tz): Update default rules for
66861         daylight time changes in the Energy Policy Act of 2005.
66863 2012-05-09  Andreas Jaeger  <aj@suse.de>
66865         [BZ #13983]
66866         * elf/ldconfig.c (parse_conf): Change string to make clear that
66867         ldconfig only issued a warning if ld.so.conf does not exist.
66869 2012-05-08  David S. Miller  <davem@davemloft.net>
66871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66872         movxtod instead of popping the value on the stack.
66874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66876 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66878         * config.h.in: Add HAVE_ARM_PCS_VFP.
66880 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66882         [BZ #13979]
66883         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66884         checking but the checks are disabled for any reason.
66886 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66888         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66889         and ELF64_R_TYPE with ELFW(R_TYPE).
66891 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66893         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66894         (ulimit): Likewise.
66896         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66897         (settimeofday): Likewise.
66899 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66901         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66902         a struct th_u2 inside the union, and move tu_block/tu_code into
66903         a new th_u3 union of tu_block/tu_code inside of that.  Move
66904         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66905         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66906         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66907         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66908         (th_stuff): Change to th_u1.tu_stuff.
66909         (th_data): Define.
66910         (th_msg): Change to th_u1.th_u2.tu_data.
66912 2012-05-07  David S. Miller  <davem@davemloft.net>
66914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66916         [BZ #14074]
66917         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66918         (SETUP_PIC_REG): Use it.
66919         (SETUP_PIC_REG_LEAF): Use it.
66921 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66923         [BZ #13885]
66924         [BZ #13923]
66925         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66926         USE_AS_EXPM1L.
66927         (EXPL_FINITE): Likewise.
66928         (FLDLOG): Likewise.
66929         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66930         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66931         e_expl.S.
66932         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66933         USE_AS_EXPM1L.
66934         (EXPL_FINITE): Likewise.
66935         (FLDLOG): Likewise.
66936         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66937         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66938         e_expl.S.
66939         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66940         test of -max_value argument for long double.
66941         * sysdeps/i386/fpu/libm-test-ulps: Update.
66942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66944 2012-05-06  David S. Miller  <davem@davemloft.net>
66946         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66947         quad soft-float symbols whose references which are compiler
66948         generated.
66949         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66951 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66953         [BZ #13884]
66954         [BZ #13914]
66955         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66956         USE_AS_EXP10L.
66957         (EXPL_FINITE): Likewise.
66958         (FLDLOG): Likewise.
66959         (c0): Likewise.
66960         (c1): Likewise.
66961         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66962         Adjust comments for base varying.
66963         (__expl_finite): Change alias to EXPL_FINITE.
66964         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66965         e_expl.S.
66966         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66967         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66968         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66969         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66971         USE_AS_EXP10L.
66972         (EXPL_FINITE): Likewise.
66973         (FLDLOG): Likewise.
66974         (c0): Likewise.
66975         (c1): Likewise.
66976         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66977         Adjust comments for base varying.
66978         (__expl_finite): Change alias to EXPL_FINITE.
66979         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66980         tests for bugs.
66981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66983         [BZ #14064]
66984         * math/libm-test.inc (check_float_internal): Correct ulp
66985         calculation for subnormal expected results.
66987 2012-05-06  Andreas Jaeger  <aj@suse.de>
66989         * Makeconfig (+math-flags): New, set to -frounding-math.
66990         (+cflags): Add +math-flags so that all of glibc gets compiled with
66991         it.
66993         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66995 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66997         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66998         Disable one test.
67000         [BZ #13787]
67001         [BZ #13922]
67002         [BZ #14036]
67003         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67004         (__ieee754_expl): Allow for and saturate large arguments.
67005         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67006         (u_threshold): Likewise.
67007         (__exp): Call __ieee754_exp before checking for overflow and
67008         underflow.
67009         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67010         (u_threshold): Likewise.
67011         (__expf): Call __ieee754_expf before checking for overflow and
67012         underflow.
67013         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67014         (u_threshold): Likewise.
67015         (__expl): Call __ieee754_expl before checking for overflow and
67016         underflow.
67017         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67018         (__ieee754_expl): Allow for and saturate large arguments.
67019         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67020         missing overflow exception on overflow.
67021         (expm1_test): Do not allow missing overflow exception on overflow.
67023         * sysdeps/i386/fpu/e_expl.c: Move to ...
67024         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67025         rather than using inline asm.
67026         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67027         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67028         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67030         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67031         (nice): Likewise.
67032         (poll): Likewise.
67033         (signal): Likewise.
67034         (time): Likewise.
67035         (times): Likewise.
67037 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67039         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67040         sysdeps/unix/common/syscalls.list.
67041         (fchmod): Likewise.
67042         (fchown): Likewise.
67043         (ftruncate): Likewise.
67044         (getrusage): Likewise.
67045         (gettimeofday): Likewise.
67046         (setpgid): Likewise.
67047         (setregid): Likewise.
67048         (setreuid): Likewise.
67049         (sigaction): Likewise.
67050         (truncate): Likewise.
67051         (vhangup): Likewise.
67052         * sysdeps/unix/common/syscalls.list: Remove file.
67053         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67054         * sysdeps/unix/sysv/linux/Implies: Likewise.
67056 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67058         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67060         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67061         Moved to ...
67062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67063         Here.
67064         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67065         to ...
67066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67067         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67068         to ...
67069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67070         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67071         to ...
67072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67073         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67074         to ...
67075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67076         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67077         to ...
67078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67079         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67080         to ...
67081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67082         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67083         to ...
67084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67085         Here.
67086         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67087         to ...
67088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67089         Here.
67090         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67091         to ...
67092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67093         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67094         Moved to ...
67095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67096         Here.
67097         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67098         to ...
67099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67101 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67103         * sysdeps/unix/common/bits/dirent.h: Remove file.
67104         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67106         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67107         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67108         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67109         * sysdeps/unix/bsd/isatty.c: Likewise.
67110         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67111         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67112         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67114 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67116         [BZ #13563]
67117         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67118         long double comparison inaccuracies.
67119         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67122 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67124         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67127 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67129         [BZ #14049]
67130         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67131         nonzero digits before rounding a hex value.
67132         * stdlib/tst-strtod.c (tests): Add another test.
67134 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67136         * sysdeps/s390/fpu/libm-test-ulps: Update.
67138 2012-05-03  Andreas Jaeger  <aj@suse.de>
67140         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67141         does not get optimized out.
67142         (malloc_opt_barrier): New.
67144 2012-05-03  Andreas Jaeger  <aj@suse.de>
67145             Roland McGrath  <roland@hack.frob.com>
67147         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67148         intermediate file deletion.
67149         (generated): Add .symlist files.
67151 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67153         [BZ #13775]
67154         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67155         Redirect under this condition.
67156         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67157         [__USE_GNU] (__dprintf_chk): Not under this condition.
67158         [__USE_GNU] (__vdprintf_chk): Likewise.
67159         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67160         under this condition.
67161         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67162         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67163         [__USE_XOPEN2K8] (vdprintf): Likewise.
67164         [__USE_GNU] (__dprintf_chk): Not under this condition.
67165         [__USE_GNU] (__vdprintf_chk): Likewise.
67166         [__USE_GNU] (dprintf): Likewise.
67167         [__USE_GNU] (vdprintf): Likewise.
67169 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67171         * elf/Makefile (common-generated): Set this instead of generated for
67172         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67173         $(all-built-dso)-derived lists.
67175 2012-05-03  Andreas Jaeger  <aj@suse.de>
67177         * sysdeps/i386/fpu/libm-test-ulps: Update.
67179         * FAQ: Removed.
67180         * FAQ.in: Likewise.
67181         * scripts/gen-FAQ.pl: Likewise.
67182         * manual/install.texi (Installation): Point to online location of
67183         FAQ.
67184         * Makefile (files-for-dist): Remove FAQ.
67185         (FAQ): Remove.
67187 2012-05-02  Allan McRae  <allan@archlinux.org>
67189         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67190         (LDFLAGS-reldepmod5.so): Likewise.
67191         (LDFLAGS-reldep6mod1.so): Likewise.
67192         (LDFLAGS-reldep6mod4.so): Likewise.
67193         (LDFLAGS-reldep8mod3.so): Likewise.
67194         (LDFLAGS-unload4mod1.so): Likewise.
67195         (LDFLAGS-unload4mod2.so): Likewise.
67196         (LDFLAGS-tst-initorder): Likewise.
67197         (LDFLAGS-tst-initordera2.so): Likewise.
67198         (LDFLAGS-tst-initordera3.so): Likewise.
67199         (LDFLAGS-tst-initordera4.so): Likewise.
67200         (LDFLAGS-tst-initorderb2.so): Likewise.
67201         (LDFLAGS-noload): Likewise.
67202         (LDFLAGS-next): Likewise.
67203         (LDFLAGS-order2mod1.so): Likewise.
67204         (LDFLAGS-order2mod2.so): Likewise.
67205         (LDFLAGS-tst-initorder2): Likewise.
67206         (LDFLAGS-tst-initorder2a.so): Likewise.
67207         (LDFLAGS-tst-initorder2b.so): Likewise.
67208         (LDFLAGS-tst-initorder2c.so): Likewise.
67209         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67211 2012-05-02  David S. Miller  <davem@davemloft.net>
67213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67215 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67217         [BZ #14055]
67218         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67220 2012-05-02  Andreas Jaeger  <aj@suse.de>
67222         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67223         since we manipulate rounding mode.
67224         (CPPFLAGS-test-idouble.c): Likewise.
67225         (CPPFLAGS-test-ifloat.c): Likewise.
67226         (CFLAGS-test-ldouble.c): Likewise.
67227         (CFLAGS-test-double.c): Likewise.
67228         (CFLAGS-test-float.c): Likewise.
67229         (CFLAGS-test-misc.c): Likewise.
67230         (CFLAGS-test-test-fenv.c): Likewise.
67232 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67234         [BZ #2550]
67235         [BZ #2570]
67236         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67237         comparisons to determine direction to adjust input.
67239 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67241         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67242         output to the target.
67244         * scripts/localplt.awk: New file.
67245         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67246         (check-localplt-CFLAGS): Variable removed.
67247         ($(all-built-dso:=.jmprel)): New static pattern rule.
67248         (generated): Add those targets.
67249         (localplt-built-dso): New variable.
67250         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67252         * elf/check-localplt.c: File removed.
67254         * scripts/check-execstack.awk: New file.
67255         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67256         (check-execstack-CFLAGS): Variable removed.
67257         ($(objpfx)check-execstack.h): Target removed.
67258         ($(objpfx)execstack-default): New target.
67259         (generated): Add that instead of check-execstack.h.
67260         ($(all-built-dso:=.phdr)): New static pattern rule.
67261         (generated): Add those targets.
67262         * elf/check-execstack.c: File removed.
67264         * scripts/check-textrel.awk: New file.
67265         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67266         (check-textrel-CFLAGS): Variable removed.
67267         (all-built-dso): Use := to define.o
67268         ($(all-built-dso:=.dyn)): New static pattern rule.
67269         (generated): Add those targets.
67270         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67271         * config.make.in (READELF): New substituted variable.
67272         * elf/check-textrel.c: File removed.
67274 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67276         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67277         allow.
67278         * conform/data/ctype.h-data [C99-based standards] (isblank):
67279         Expect function.
67280         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67281         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67283         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67284         Specify type.  Require positive value.
67285         (EILSEQ): Likewise.
67286         (ERANGE): Likewise.
67287         [ISO || POSIX] (EILSEQ): Do not expect.
67288         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67289         Specify type.  Require positive value.
67290         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67291         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67292         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67293         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67294         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67295         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67296         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67297         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67298         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67299         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67300         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67301         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67302         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67303         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67304         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67305         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67306         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67307         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67308         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67309         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67310         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67311         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67312         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67313         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67314         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67315         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67316         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67317         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67318         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67319         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67320         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67321         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67322         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67323         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67324         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67325         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67326         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67327         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67328         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67329         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67330         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67331         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67332         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67333         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67334         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67335         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67336         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67337         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67338         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67339         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67340         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67341         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67342         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67343         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67344         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67345         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67346         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67347         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67348         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67349         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67350         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67351         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67352         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67353         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67354         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67355         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67356         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67357         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67358         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67359         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67360         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67361         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67362         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67363         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67364         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67365         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67366         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67367         Require >= 2.
67368         (FLT_ROUNDS): Expect as macro, not constant.
67369         (FLT_MANT_DIG): Use macro-int-constant.
67370         (DBL_MANT_DIG): Likewise.
67371         (LDBL_MANT_DIG): Likewise.
67372         (FLT_DIG): Likewise.
67373         (DBL_DIG): Likewise.
67374         (LDBL_DIG): Likewise.
67375         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67376         (DBL_MIN_EXP): Likewise.
67377         (LDBL_MIN_EXP): Likewise.
67378         (FLT_MAX_EXP): Use macro-int-constant.
67379         (DBL_MAX_EXP): Likewise.
67380         (LDBL_MAX_EXP): Likewise.
67381         (FLT_MAX_10_EXP): Likewise.
67382         (DBL_MAX_10_EXP): Likewise.
67383         (LDBL_MAX_10_EXP): Likewise.
67384         (FLT_MAX): Use macro-constant.
67385         (DBL_MAX): Likewise.
67386         (LDBL_MAX): Likewise.
67387         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67388         (DBL_EPSILON): Likewise.
67389         (LDBL_EPSILON): Likewise.
67390         (FLT_MIN): Likewise.
67391         (DBL_MIN): Likewise.
67392         (LDBL_MIN): Likewise.
67393         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67394         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67395         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67396         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67397         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67398         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67399         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67400         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67401         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67402         [ISO11] (FLT_TRUE_MIN): Likewise.
67403         [ISO11] (LDBL_TRUE_MIN): Likewise.
67404         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67405         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67406         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67407         (SCHAR_MAX): Likewise.
67408         (UCHAR_MAX): Likewise.
67409         (CHAR_MIN): Likewise.
67410         (CHAR_MAX): Likewise.
67411         (MB_LEN_MAX): Use macro-int-constant.
67412         (SHRT_MIN): Use macro-int-constant.  Specify type.
67413         (SHRT_MAX): Likewise.
67414         (USHRT_MAX): Likewise.
67415         (INT_MAX): Likewise.
67416         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67417         bound negative.
67418         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67419         bound with "U".
67420         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67421         bound with "L".
67422         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67423         bound negative.  Suffix upper bound with "L".
67424         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67425         bound with "UL".
67426         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67427         Specify type.
67428         [C99-based standards] (LLONG_MAX): Likewise.
67429         [C99-based standards] (ULLONG_MAX): Likewise.
67430         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67431         == 0.
67432         [ISO11] (max_align_t): Require type.
67433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67435         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67436         from $CFLAGS, without defining away __attribute__ calls.
67437         (checknamespace): Use $CFLAGS_namespace.
67439         * conform/conformtest.pl (@keywords): Only include C99 keywords
67440         for standards based on C99 or C11.
67442         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67443         Disable tests.
67444         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67445         UNIX98]: Likewise.
67447         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67448         usability of symbols in #if.
67450         * conform/conformtest.pl: If macro or constant types start
67451         "promoted:", expect the symbol to be of the following type
67452         promoted by the integer promotions.
67454         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67455         in one place.  Also handle "macro-constant".
67457         * conform/conformtest.pl: Only accept expected macro values with
67458         "==".  Parse all "macro" lines in one place.
67459         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67461         * conform/conformtest.pl: Handle braced types on "constant" lines
67462         instead of handling "typed-constant".
67463         * conform/data/signal.h-data: Use "constant" instead of
67464         "typed-constant".
67466         * conform/conformtest.pl: Handle "optional-" at start of lines in
67467         one place rather than duplicating several cases.  Handle each
67468         format of "macro" line with initial "optional-".
67470         * conform/conformtest.pl: Only accept expected constant or
67471         optional-constant values with "==".  Parse all "constant" lines in
67472         one place.  Parse all "optional-constant" lines in one place.
67473         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67474         * conform/data/fmtmsg.h-data: Likewise.
67475         * conform/data/netinet/in.h-data: Likewise.
67476         * conform/data/tar.h-data: Likewise.
67477         * conform/data/limits.h-data: Use "==" form on "constant" and
67478         "optional-constant" lines.
67480         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67481         Use -std=c99 for XOPEN2K.
67482         (@knownproblems): Remove.
67483         (newtoken): Don't check %isknown.
67485         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67486         Do not expect macro.
67487         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67488         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67489         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67490         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67491         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67492         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67493         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67494         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67495         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67496         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67497         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67498         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67499         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67500         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67501         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67502         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67503         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67504         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67505         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67506         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67507         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67508         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67509         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67510         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67511         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67512         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67513         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67514         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67515         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67516         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67517         [XPG3] (acosh): Likewise.
67518         [XPG3] (asinh): Likewise.
67519         [XPG3] (atanh): Likewise.
67520         [XPG3] (cbrt): Likewise.
67521         [XPG3] (expm1): Likewise.
67522         [XPG3] (ilogb): Likewise.
67523         [XPG3] (log1p): Likewise.
67524         [XPG3] (logb): Likewise.
67525         [XPG3] (nextafter): Likewise.
67526         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67527         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67528         [XPG3] (remainder): Likewise.
67529         [XPG3] (rint): Likewise.
67530         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67531         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67532         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67533         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67534         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67535         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67536         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67537         [UNIX98 || XOPEN2K] (scalb): Expect.
67538         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67539         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67540         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67541         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67542         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67543         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67544         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67545         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67546         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67547         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67548         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67549         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67550         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67551         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67552         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67553         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67554         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67555         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67556         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67557         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67558         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67559         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67560         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67561         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67562         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67563         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67564         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67565         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67566         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67567         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67568         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67569         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67570         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67571         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67572         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67573         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67574         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67575         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67576         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67577         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67578         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67579         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67580         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67581         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67582         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67583         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67584         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67585         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67586         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67587         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67588         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67589         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67590         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67591         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67592         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67593         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67594         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67595         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67596         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67597         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67598         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67599         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67600         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67601         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67602         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67603         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67604         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67605         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67606         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67607         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67608         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67610         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67611         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67612         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67613         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67614         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67615         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67616         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67617         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67618         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67619         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67620         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67621         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67622         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67623         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67624         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67625         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67626         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67627         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67628         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67629         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67630         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67631         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67632         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67633         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67634         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67635         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67636         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67637         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67638         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67639         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67640         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67641         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67642         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67643         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67644         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67647         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67648         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67650         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67651         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67656         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67657         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67658         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67659         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67660         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67661         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67662         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67663         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67668         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67669         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67676         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67677         _XOPEN_SOURCE_EXTENDED for XPG4.
67679         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67681         * Makeconfig (localtime): Remove variable.
67682         (inst_localtime-file): Likewise.
67684 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67687         Update.
67688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67689         Update.
67690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67691         Update.
67692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67693         Update.
67694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67695         Update.
67696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67697         Update.
67698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67699         Update.
67700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67701         Update.
67702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67703         Update.
67705 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67707         [BZ #2550]
67708         [BZ #2570]
67709         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67710         comparisons to determine direction to adjust input.
67711         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67712         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67713         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67714         Likewise.
67715         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67716         Likewise.
67717         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67718         Likewise.
67719         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67720         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67721         Likewise.
67722         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67723         Likewise.
67724         * math/libm-test.inc (nexttoward_test): Add more tests.
67726 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67728         [BZ #14040]
67729         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67730         in version GLIBC_2.1, not GLIBC_2.0.
67731         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67732         Likewise.
67734 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67736         [BZ #13942]
67737         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67738         (1 - x) * (1 + x).
67739         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67740         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67741         * math/libm-test.inc (acos_test): Add more tests.
67742         (asin_test): Likewise.
67743         * sysdeps/i386/fpu/libm-test-ulps: Update.
67744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67746         [BZ #14034]
67747         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67748         of square root.
67749         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67750         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67751         * math/libm-test.inc (acos_test_tonearest): New function.
67752         (acos_test_towardzero): Likewise.
67753         (acos_test_downward): Likewise.
67754         (acos_test_upward): Likewise.
67755         (asin_test_tonearest): Likewise.
67756         (asin_test_towardzero): Likewise.
67757         (asin_test_downward): Likewise.
67758         (asin_test_upward): Likewise.
67759         (main): Call the new functions.
67760         * sysdeps/i386/fpu/libm-test-ulps: Update.
67761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67763         [BZ #13884]
67764         [BZ #13924]
67765         * math/e_exp10.c: Include <float.h>.
67766         (__ieee754_exp10): Handle underflow here rather than multiplying
67767         large negative argument by M_LN10.
67768         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67769         of __ieee754_expf.
67770         * math/e_exp10l.c: Include <float.h>.
67771         (__ieee754_exp10l): Handle underflow here rather than multiplying
67772         large negative argument by M_LN10l.
67773         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67774         spurious overflow exception on underflow.
67776 2012-04-29  Marek Polacek  <polacek@redhat.com>
67778         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67779         (__fortify_function): New macro.
67780         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67781         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67782         __extern_always_inline.
67783         * libio/bits/stdio2.h: Likewise.
67784         * libio/bits/stdio.h: Likewise.
67785         * string/string.h: Likewise.
67786         * string/bits/string3.h: Likewise.
67787         * include/stdio.h: Likewise.
67788         * stdlib/bits/stdlib.h: Likewise.
67789         * stdlib/stdlib.h: Likewise.
67790         * rt/bits/mqueue2.h: Likewise.
67791         * rt/mqueue.h: Likewise.
67792         * posix/bits/unistd.h: Likewise.
67793         * posix/unistd.h: Likewise.
67794         * io/bits/poll2.h: Likewise.
67795         * io/bits/fcntl2.h: Likewise.
67796         * io/fcntl.h: Likewise.
67797         * io/sys/poll.h: Likewise.
67798         * misc/bits/syslog.h: Likewise.
67799         * misc/bits/syslog-ldbl.h: Likewise.
67800         * misc/sys/syslog.h: Likewise.
67801         * socket/bits/socket2.h: Likewise.
67802         * socket/sys/socket.h: Likewise.
67803         * debug/tst-chk1.c: Likewise.
67804         * wcsmbs/bits/wchar2.h: Likewise.
67805         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67806         * wcsmbs/wchar.h: Likewise.
67808 2012-04-29  Andreas Jaeger  <aj@suse.de>
67810         * Makerules (tests): Remove enable-check-abi protection.
67811         (check-abi-warn): Remove.
67812         (check-abi-%): Remove check-abi-warn usage.
67814         * configure.in: Remove check-abi configure option.
67815         * configure: Regenerated.
67816         * config.make.in (enable-check-abi): Remove.
67818 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67820         [BZ #14033]
67821         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67822         double functions to double *_finite functions.
67824         [BZ #13941]
67825         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67826         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67827         LDBL_MIN_EXP.
67828         * stdio-common/Makefile (tests): Add tst-sprintf3.
67829         * stdio-common/tst-sprintf3.c: New file.
67831         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67832         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67834 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67836         * conform/conformtest.pl: Remove duplicate typed-constant
67837         handling.
67839 2012-04-28  David S. Miller  <davem@davemloft.net>
67841         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67842         (check-abi-%): Remove AWK script prerequisite and explicit
67843         abilist directory.
67844         (check-abi): Rewrite to just diff the symlist with the abilist.
67845         (config-tls, config-abi-config): Delete, no longer used.
67846         (update-abi-%): Remove AWK script and explicit abilist directory.
67847         (update-abi): Rewrite to simply compare and conditionally copy the
67848         symlist and the sysdep abilist file.  Remove update-abi-config
67849         checks.
67850         * abilist/ld.abilist: Remove.
67851         * abilist/libBrokenLocale.abilist: Remove.
67852         * abilist/libanl.abilist: Remove.
67853         * abilist/libcrypt.abilist: Remove.
67854         * abilist/libdl.abilist: Remove.
67855         * abilist/librt.abilist: Remove.
67856         * abilist/libthread_db.abilist: Remove.
67857         * abilist/libutil.abilist: Remove.
67858         * scripts/extract-abilist.awk: Remove.
67859         * scripts/merge-abilist.awk: Remove.
67860         * sysdeps/generic/libcidn.abilist: New file.
67861         * sysdeps/generic/libnss_compat.abilist: New file.
67862         * sysdeps/generic/libnss_db.abilist: New file.
67863         * sysdeps/generic/libnss_dns.abilist: New file.
67864         * sysdeps/generic/libnss_files.abilist: New file.
67865         * sysdeps/generic/libnss_hesiod.abilist: New file.
67866         * sysdeps/generic/libnss_nis.abilist: New file.
67867         * sysdeps/generic/libnss_nisplus.abilist: New file.
67868         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67869         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67870         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67871         file.
67872         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67873         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67874         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67875         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67876         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67877         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67878         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67879         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67880         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67881         file.
67882         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67883         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67884         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67885         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67886         file.
67887         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67888         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67889         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67890         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67891         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67892         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67893         file.
67894         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67895         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67896         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67897         file.
67898         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67900         New file.
67901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67902         New file.
67903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67904         New file.
67905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67906         New file.
67907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67908         New file.
67909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67910         New file.
67911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67912         New file.
67913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67914         New file.
67915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67916         New file.
67917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67918         New file.
67919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67920         New file.
67921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67922         New file.
67923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67924         New file.
67925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67926         file.
67927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67928         New file.
67929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67930         New file.
67931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67932         file.
67933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67934         New file.
67935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67936         New file.
67937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67938         file.
67939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67940         New file.
67941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67942         New file.
67943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67944         New file.
67945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67946         New file.
67947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67948         New file.
67949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67950         New file.
67951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67953         file.
67954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67955         New file.
67956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67957         file.
67958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67959         file.
67960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67961         file.
67962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67963         file.
67964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67965         file.
67966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67967         New file.
67968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67969         file.
67970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67971         file.
67972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67973         New file.
67974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67975         file.
67976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67978         file.
67979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67980         New file.
67981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67982         file.
67983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67984         file.
67985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67986         file.
67987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67988         file.
67989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67990         file.
67991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67992         New file.
67993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67994         file.
67995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67996         file.
67997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67998         New file.
67999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68000         file.
68001         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68002         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68003         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68004         file.
68005         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68006         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68007         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68008         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68009         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68010         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68011         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68012         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68013         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68014         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68017         file.
68018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68019         New file.
68020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68021         file.
68022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68023         file.
68024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68025         file.
68026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68027         file.
68028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68029         file.
68030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68031         New file.
68032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68033         New file.
68034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68035         file.
68036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68037         New file.
68038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68039         file.
68040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68042         file.
68043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68044         New file.
68045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68046         file.
68047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68048         file.
68049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68050         file.
68051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68052         file.
68053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68054         file.
68055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68056         New file.
68057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68058         New file.
68059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68060         file.
68061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68062         New file.
68063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68064         file.
68066 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68068         * conform/conformtest.pl: Fix typo in handling typed-constant from
68069         allow-header.
68071 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68073         * README: Cut down references to pre-2.6 Linux kernels and
68074         Linuxthreads.  Update lists of configurations in libc and ports
68075         and sort alphabetically.  Say "or newer" with Linux kernel version
68076         requirements.
68078         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68080 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68082         [BZ #887]
68083         * math/libm-test.inc (logb_test_downward): New test to expose
68084         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68085         rounding mode.
68087 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68089         [BZ #14027]
68090         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68091         to be done.
68092         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68093         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68095 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68097         * sysdeps/unix/i386/brk.S: Remove file.
68098         * sysdeps/unix/i386/dl-brk.S: Likewise.
68099         * sysdeps/unix/i386/pipe.S: Likewise.
68100         * sysdeps/unix/i386/sigreturn.S: Likewise.
68101         * sysdeps/unix/i386/syscall.S: Likewise.
68102         * sysdeps/unix/i386/vfork.S: Likewise.
68103         * sysdeps/unix/i386/wait.S: Likewise.
68105         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68106         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68108         * configure.in (arm*-none*): Do not allow without
68109         --enable-hacker-mode.
68110         (netbsd*): Remove case setting base_os.
68111         (386bsd*): Likewise.
68112         (freebsd*): Likewise.
68113         (bsdi*): Likewise.
68114         (osf*): Likewise.
68115         (sunos*): Likewise.
68116         (ultrix*): Likewise.
68117         (newsos*): Likewise.
68118         (dynix*): Likewise.
68119         (*bsd*): Likewise.
68120         (sysv*): Likewise.
68121         (isc*): Likewise.
68122         (esix*): Likewise.
68123         (sco*): Likewise.
68124         (minix*): Likewise.
68125         (irix4*): Likewise.
68126         (irix6*): Likewise.
68127         (solaris[2-9]*): Likewise.
68128         (none): Likewise.
68129         * configure: Regenerated.
68131 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68133         [BZ #11521]
68134         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68135         overflow or cancellation in calculating denominator.
68136         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68137         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68138         down expression to avoid unexpected rounding in newer GCCs.
68139         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68141 2012-04-26  David S. Miller  <davem@davemloft.net>
68143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68144         long-double compat symbols.
68145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68159 2012-04-25  David S. Miller  <davem@davemloft.net>
68161         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68162         HWCAP_* values only after the memory barriers have been defined.
68163         (atomic_full_barrier): Define.
68164         (atomic_read_barrier): Define.
68165         (atomic_write_barrier): Define.
68167 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68169         * shlib-versions: Add libgcc_s version information.
68170         * sysdeps/generic/libgcc_s.h: Remove.
68171         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68172         libgcc_s.h.
68173         * sysdeps/gnu/unwind-resume.c: Likewise.
68174         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68176 2012-04-25  David S. Miller  <davem@davemloft.net>
68178         * sysdeps/unix/sparc/brk.S: Delete.
68179         * sysdeps/unix/sparc/dl-brk.S: Delete.
68180         * sysdeps/unix/sparc/pipe.S: Delete.
68181         * sysdeps/unix/sparc/sysdep.S: Delete.
68182         * sysdeps/unix/sparc/sysdep.h: Delete.
68183         * sysdeps/unix/sparc/vfork.S: Delete.
68184         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68185         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68186         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68187         (ret_ERRVAL, r0, r1, MOVE): Define.
68188         (JUMPTARGET): Remove.
68189         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68190         sysdeps/unix/sparc/sysdep.h
68191         (ENTRY, END): Remove.
68192         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68194 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68196         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68197         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68198         -DIS_IN_build.
68200         * timezone/README: Update upstream location and email address for
68201         tzcode and tzdata.
68202         * timezone/zdump.c: Update from tzcode 2012b.
68203         * timezone/zic.c: Likewise.
68205         * configure.in (libc_cv_as_needed): Remove test.
68206         * configure: Regenerated.
68207         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68208         conditional definition.
68209         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68210         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68211         * config.make.in (have-as-needed): Remove variable.
68213 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68214             Paul Pluzhnikov  <ppluzhnikov@google.com>
68216         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68217         strings correctly.
68219 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68221         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68222         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68223         * sysdeps/sh/strlen.S: Likewise.
68225 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68227         * sysdeps/unix/fork.S: Remove file.
68228         * sysdeps/unix/i386/fork.S: Likewise.
68229         * sysdeps/unix/sparc/fork.S: Likewise.
68231         * sysdeps/unix/system.c: Remove file.
68232         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68234         * sysdeps/unix/getegid.S: Remove file.
68235         * sysdeps/unix/geteuid.S: Likewise.
68237 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68239         * scripts/check-localplt.awk: New file.
68240         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68241         of diff.
68242         * scripts/data/localplt-generic.data: Add a comment.
68244         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68245         NODE when __dir_mkfile failed.
68246         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68247         Reported by Ludovic Courtès <ludo@gnu.org>.
68249 2012-04-24  Andreas Jaeger  <aj@suse.de>
68251         * Makerules (common-clean): Also remove gen-as-const-headers
68252         files.
68254 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68256         * Makerules (native-compile): Do not change working directory for
68257         build.  Use $(OUTPUT_OPTION) in command.
68258         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68260 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68262         [BZ #13886]
68263         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68264         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68265         * math/libm-test.inc (floor_test): Add more tests.
68266         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68268 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68270         * sysdeps/unix/getdents.c: Remove file.
68271         * sysdeps/unix/sysv/getdents.c: Likewise.
68272         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68274         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68275         sysdeps/unix/mman/syscalls.list.
68276         (mmap): Likewise.
68277         (mprotect): Likewise.
68278         (msync): Likewise.
68279         (munmap): Likewise.
68280         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68281         * sysdeps/unix/mman/syscalls.list: Remove.
68282         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68284         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68285         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68286         * configure: Regenerated.
68287         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68288         $(libgcc_s_suffix).
68289         * config.make.in (libgcc_s_suffix): Remove variable.
68291 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68293         * sysdeps/unix/sysv/gethostname.c: Move to ...
68294         * sysdeps/posix/gethostname.c: ... here.
68296         * sysdeps/unix/execve.S: Remove file.
68298         * sysdeps/unix/_exit.S: Remove file.
68300 2012-04-23  Andreas Jaeger  <aj@suse.de>
68302         [BZ #13739]
68303         * manual/Makefile: Remove make dist support, there's no
68304         need for a stand-alone documentation tar ball.
68305         (TEXI2DVI): Define always, it's not in Makeconfig.
68306         (dist): Removed.
68307         (tar-it): Removed.
68308         (edition): Removed.
68309         (glibc-doc-$(edition).tar): Removed
68310         (%.Z): Removed.
68311         (%.gz): Removed.
68312         (%.uu): Removed.
68313         (ETAGS): Remove, it's in Makeconfig.
68314         (move-if-change): Remove, it's in Makeconfig.
68316 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68318         [BZ #13970]
68319         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68320         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68321         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68322         (strtod_l, strtof_l, strtold_l): Remove __wur.
68323         It is not necessarily an error to ignore strtol's return value.
68324         One can reliably look at the stored endptr to decide whether
68325         the number had valid syntax.
68327 2012-04-21  Andreas Jaeger  <aj@suse.de>
68329         [BZ #13739]
68330         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68332 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68334         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68335         * sysdeps/unix/sysv/Versions: Remove file.
68337 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68339         [BZ #13927]
68340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68342 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68344         [BZ #7064]
68345         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68346         version from __vm86.
68348 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68350         * sysdeps/unix/common/lxstat.c: Remove file.
68351         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68353         * sysdeps/unix/sysv/Makefile: Remove file.
68355         * sysdeps/unix/sysv/direct.h: Remove file.
68357         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68358         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68359         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68360         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68361         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68362         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68363         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68365         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68367         * sysdeps/unix/xmknod.c: Remove file.
68368         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68370         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68372         * sysdeps/unix/sysv/i386/time.S: Remove file.
68374         * sysdeps/unix/fxstat.c: Remove file.
68375         * sysdeps/unix/xstat.c: Likewise.
68376         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68378         * sysdeps/unix/sysv/sigaction.c: Remove file.
68380         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68381         (sysdep_headers): Remove variable.
68382         [termio.h not in sysdep_headers] (generated): Likewise.
68383         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68384         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68385         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68386         * sysdeps/unix/sysv/tcflow.c: Likewise.
68387         * sysdeps/unix/sysv/tcflush.c: Likewise.
68388         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68389         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68390         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68391         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68392         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68394         * sysdeps/unix/siglist.c: Remove file.
68396         * sysdeps/unix/getppid.S: Remove file.
68398         * sysdeps/unix/mkdir.c: Remove file.
68399         * sysdeps/unix/rmdir.c: Likewise.
68401 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68403         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68404         ERR_MAX value.
68405         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68406         errlist-compat value.
68408 2012-04-18  David S. Miller  <davem@davemloft.net>
68410         * sysdeps/generic/memcopy.h (reg_char): Delete.
68411         * debug/strcat_chk.c: Use char, not reg_char.
68412         * debug/strcpy_chk.c: Likewise.
68413         * debug/strncat_chk.c: Likewise.
68414         * debug/strncpy_chk.c: Likewise.
68415         * string/memchr.c: Likewise.
68416         * string/memrchr.c: Likewise.
68417         * string/rawmemchr.c: Likewise.
68418         * string/strcat.c: Likewise.
68419         * string/strchr.c: Likewise.
68420         * string/strchrnul.c: Likewise.
68421         * string/strcmp.c: Likewise.
68422         * string/strcpy.c: Likewise.
68423         * string/strncat.c: Likewise.
68424         * string/strncmp.c: Likewise.
68425         * string/strncpy.c: Likewise.
68427 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68429         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68430         __builtin_memcopy is called when src and dest ranges are known to not
68431         overlap.
68433 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68435         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68436         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68437         fwd_align_merge macro call.
68438         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68439         bwd_align_merge macro call.
68440         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68442 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68444         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68445         bwd_align_merge macros.
68446         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68447         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68448         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68450 2012-04-18  David S. Miller  <davem@davemloft.net>
68452         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68454 2012-04-18  Andreas Jaeger  <aj@suse.de>
68456         [BZ# 6794]
68457         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68458         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68459         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68461         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68462         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68463         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68465         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68466         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68467         Adjust for changed ldbl-128 files.
68469         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68470         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68471         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68473 2012-04-17  David S. Miller  <davem@davemloft.net>
68475         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68477 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68479         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68480         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68481         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68482         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68483         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68484         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68486 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68488         [BZ #6794]
68489         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68490         * math/libm-test.inc: Add ilogb errno and exception tests.
68491         * math/w_ilogb.c: New file: ilogb wrapper.
68492         * math/w_ilogbf.c: New file: ilogbf wrapper.
68493         * math/w_ilogbl.c: New file: ilogbl wrapper.
68494         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68495         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68496         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68497         exception being thrown with 0.0 as argument.
68498         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68499         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68500         exception being thrown with 0.0 as argument.
68501         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68502         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68503         exception being thrown with 0.0 as argument.
68504         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68505         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68506         exception being thrown with 0.0 as argument.
68507         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68508         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68509         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68510         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68511         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68512         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68513         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68514         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68515         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68517 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68519         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68520         with altivec.
68522 2012-04-16  Marek Polacek  <polacek@redhat.com>
68524         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68526 2012-04-16  Marek Polacek  <polacek@redhat.com>
68528         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68529         operands of fdivp instruction.
68531 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68533         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68534         * elf/tst-auditmod3b.c: Likewise.
68535         * elf/tst-auditmod4b.c: Likewise.
68536         * elf/tst-auditmod5b.c: Likewise.
68537         * elf/tst-auditmod6b.c: Likewise.
68538         * elf/tst-auditmod6c.c: Likewise.
68539         * elf/tst-auditmod7b.c: Likewise.
68540         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68541         * sysdeps/x86_64/preconfigure.in: Likewise.
68542         * sysdeps/x86_64/preconfigure: Regenerated.
68544 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68546         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68547         __ILP32__.
68549 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68552         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68554 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68556         [BZ #13973]
68557         * locale/iso-639.def: Fix gl language name. Spotted by
68558         Yaron Shahrabani.
68560 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68562         [BZ #2074]
68563         * libio/libio.h (__io_write_fn): Update comment.
68565 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68567         [BZ #2074]
68568         * stdio.texi (Hook Functions): The user provided writer function
68569         is not allowed to return -1.
68571 2012-04-11  David S. Miller  <davem@davemloft.net>
68573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68575 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68577         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68578         Add a leading slash to rtkaio.
68580 2012-04-11  Jim Meyering  <meyering@redhat.com>
68582         [BZ #11959]
68583         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68584         It is not necessarily an error to ignore fwrite's return
68585         value.  One can reliably use ferror to test for errors after
68586         the fact.
68588 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68590         * bits/types.h (__snseconds_t): New type.
68591         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68593         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68595         (__SNSECONDS_T_TYPE): Likewise.
68596         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68597         (__SNSECONDS_T_TYPE): Likewise.
68598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68599         (__SNSECONDS_T_TYPE): Likewise.
68601 2012-04-10  Andreas Jaeger  <aj@suse.de>
68603         [BZ #2636]
68604         * manual/time.texi (Processor Time): Return type of times is
68605         elapsed real time since an arbitrary point in the past.
68606         (CPU Time): Move CLK_TCK from here...
68607         (Processor Time): ...to here.  Correct description.
68608         * manual/conf.texi (Constants for Sysconf): Correct description of
68609         _SC_CLK_TCK.
68611 2012-04-10  David S. Miller  <davem@davemloft.net>
68613         [BZ #13967]
68614         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68615         where the is a gap between DT_REL(A) and DT_JMPREL.
68617 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68619         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68620         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68621         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68623 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68625         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68626         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68627         (dl_main): Handle --inhibit-cache.
68628         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68629         _dl_inhibit_cache.
68630         * elf/dl-load.c (_dl_map_object): Use it.
68631         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68633 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68635         [BZ #13872]
68636         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68637         (__ieee754_powl): Saturate large exponents rather than testing for
68638         overflow of y*log2(x).
68639         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68640         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68641         exceptions.
68643         [BZ #11521]
68644         * math/s_ctan.c: Include <float.h>.
68645         (__ctan): Avoid internal overflow or cancellation in calculating
68646         denominator.
68647         * math/s_ctanf.c: Likewise.
68648         * math/s_ctanl.c: Likewise.
68649         * math/s_ctanh.c: Likewise.
68650         * math/s_ctanhf.c: Likewise.
68651         * math/s_ctanhl.c: Likewise.
68652         * math/libm-test.inc (ctan_test): Add more tests.
68653         (ctanh_test): Likewise.
68654         * sysdeps/i386/fpu/libm-test-ulps: Update.
68655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68657 2012-04-09  Andreas Jaeger  <aj@suse.de>
68659         [BZ #6894]
68660         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68661         is an optional BSD extension.
68663         [BZ #10254]
68664         * manual/stdio.texi (Opening Streams): Document additional fopen
68665         parameters.
68667 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68669         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68670         %eax without telling the compiler.
68672 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68674         [BZ # 13963]
68675         * manual/install.texi: Use sourceware.org.
68677 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68679         [BZ #13873]
68680         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68681         (__ieee754_pow): Generate overflow and underflow using huge*huge
68682         and tiny*tiny rather than just returning constant infinity or zero
68683         for large exponents.
68684         * math/libm-test.inc (pow_test): Require overflow exceptions for
68685         applicable cases of large exponents.
68687         [BZ #706]
68688         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68689         (__ieee754_pow): Use iterative multiplication algorithm only for
68690         integer exponents with absolute value below 1024.  Check for odd
68691         integer exponents when using algorithm for real exponents.
68692         * math/libm-test.inc (pow_test): Add more tests.
68693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68695 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68697         [BZ #13705]
68698         * math/libm-test.inc (exp_test): Do not allow overflow exception
68699         on underflow test.
68701 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68703         [BZ #13705]
68704         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68705         instead of __kernel_standard_f.
68707 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68709         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68710         * sysdeps/x86_64/memset_chk.S: Likewise.
68712 2012-04-08  Andreas Jaeger  <aj@suse.de>
68714         [BZ #10153]
68715         * manual/startup.texi (Environment Access): Describe return value
68716         for putenv and setenv.
68718         [BZ #6895]
68719         * manual/filesys.texi (Directory Entries): Add description for
68720         DT_LNK.
68722         [BZ #6890]
68723         * manual/filesys.texi (Directory Entries): Clarify that it's file
68724         system not operating system in the description of DT_UNKNOWN.
68726         [BZ #6578]
68727         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68729 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68731         [BZ #6649]
68732         * manual/llio.texi (Opening and Closing Files): Add cross
68733         reference to explain mode argument.
68735 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68737         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68738         * sysdeps/x86_64/memset_chk.S: Likewise.
68740 2012-04-07  David S. Miller  <davem@davemloft.net>
68742         * elf/elf.h (R_SPARC_WDISP10): Define.
68743         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68744         R_SPARC_SIZE32.
68745         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68746         R_SPARC_SIZE64 and R_SPARC_H34.
68748 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68750         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68751         conditions and remove no longer applicable assertion.
68753 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68755         * bits/byteswap.h: Include <features.h>.
68756         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68757         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68759 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68761         * bits/byteswap.h (__bswap_16): Removed.
68762         Include <bits/byteswap-16.h> to get __bswap_16.
68763         * sysdeps/i386/bits/byteswap.h: Likewise.
68764         * sysdeps/s390/bits/byteswap.h: Likewise.
68765         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68766         * bits/byteswap-16.h: New file.
68767         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68768         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68769         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68770         * string/Makefile (headers): Add bits/byteswap-16.h.
68772 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68774         [BZ #13895]
68775         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68776         extra indirection.
68777         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68778         * nss/tst-nss-static.c: New.
68780 2012-04-06  Robert Millan  <rmh@gnu.org>
68782         [BZ #6486]
68783         * manual/llio.texi (File Position Primitive): lseek
68784         refers to WHENCE when it really means OFFSET.
68786 2012-04-06  Andreas Jaeger  <aj@suse.de>
68788         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68789         strncmp declarations.
68791         * abilist/libc.abilist: Add __poll and __ppoll.
68793 2012-04-05  David S. Miller  <davem@davemloft.net>
68795         * scripts/check-local-headers.sh: Accept a host triplet in the
68796         path matched by the exclude regexp.
68798         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68799         definition.
68800         * sysdeps/powerpc/powerpc32/dl-machine.h
68801         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68802         * sysdeps/s390/s390-32/dl-machine.h
68803         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68804         * sysdeps/sparc/sparc32/dl-machine.h
68805         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68806         * sysdeps/sparc/sparc64/dl-machine.h
68807         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68809         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68810         lazy binding.
68811         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68812         undefined symbol errors.
68814         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68815         DT_NEEDED entries.
68817 2012-04-05  Michael Matz  <matz@suse.de>
68819         [BZ #13592]
68820         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68822 2012-04-05  Andreas Jaeger  <aj@suse.de>
68824         [BZ #13908]
68825         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68826         comment.
68828 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68830         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68831         which ROUND is no valid rounding mode.
68833 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68835         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68836         read again.
68837         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68839 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68841         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68842         an exception using FPU order intentionally.
68844 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68846         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68847         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68848         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68849         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68851 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68853         [BZ #12340]
68854         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68855         EINVAL when BUFLEN is too smal.
68857 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68859         [BZ #13553]
68860         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68861         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68863 2012-04-03  Andreas Jaeger  <aj@suse.de>
68865         [BZ #13938]
68866         * manual/setjmp.texi (System V contexts): Fix sentence.
68868         [BZ #13926]
68869         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68870         New macro for this case.
68871         [!__GNUC__] (__bswap_64): New inline function for this case.
68872         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68873         * bits/byteswap.h: Likewise.
68874         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68875         ull, guard with __GLIBC_HAVE_LONG_LONG.
68877         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68878         __GLIBC_HAVE_LONG_LONG.
68880         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68881         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68883 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68885         [BZ #13691]
68886         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68887         inptr and inend, rather than using last_ch.
68889 2012-04-02  David S. Miller  <davem@davemloft.net>
68891         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68892         * stdio-common/printf-parse.h (read_int): Change return type to
68893         'int', return -1 on INT_MAX overflow.
68894         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68895         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68896         overflows INT_MAX.  Check for overflow of in-format-string precision
68897         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68898         SIZE_MAX not INT_MAX for integer overflow test.
68899         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68900         skip the construct in the format string but do not record anything.
68901         * stdio-common/bug22.c: Adjust to test both width/prevision
68902         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68903         explicitly for proper errno values.
68905 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68907         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68908         CHAR_MAX.
68909         * string/test-strcmp.c [! WIDE]: Likewise.
68910         * time/tst-mktime2.c: Likewise for INT_MAX.
68911         * string/test-string.h: #include <sys/param.h> for MIN.
68913         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68914         * sysdeps/i386/init-first.c (init): Likewise.
68915         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68916         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68917         * sysdeps/sh/init-first.c (init): Likewise.
68919 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68921         * po/ru.po: Update from translation team.
68922         * po/vi.po: Likewise.
68924 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68926         * resolv/nss_dns/dns-host.c: Merge copyright years.
68928 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68930         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68931         Optimize memcpy with prefetch if
68932         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68933         src, dst pointers have unequal 16 byte alignments.
68935 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68937         [BZ #13928]
68938         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68939         from a CNAME entry and return the minimum ttl for the query.
68940         (gaih_getanswer_slice): Likewise.
68942 2012-03-30  Jeff Law  <law@redhat.com>
68944         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68945         due to long keys.
68946         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68947         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68949         * resolv/nss_dns/dns-host.c: Update copyright year.
68951 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68953         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68954         requests to save a system call.  Fix check that all bytes are sent.
68956         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68957         comments for sendmmsg.
68959 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68961         [BZ #13691]
68962         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68963         with only 1 character between 0x0041 and 0x01b0.
68964         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68965         * wcsmbs/tst-mbsnrtowcs.c: New file.
68967 2012-03-29  David S. Miller  <davem@davemloft.net>
68969         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68970         small copies by hand.
68972 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68974         [BZ #13761]
68975         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68976         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68977         group memberships.
68979 2012-03-28  David S. Miller  <davem@davemloft.net>
68981         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68982         that branches into memcpy.
68983         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68985         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68986         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68988         bits.
68989         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68990         implementation too.
68991         * sysdeps/sparc/mempcpy.S: New file.
68993         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68994         the IFUNC routine in the libc case.
68995         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68997         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68998         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68999         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69000         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69001         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69002         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69003         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69004         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69006         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69007         loop to 256 bytes instead of 64 bytes and fix test signedness.
69009         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69010         * sysdeps/sparc/sparc32/Makefile: rather than here...
69011         * sysdeps/sparc/sparc64/Makefile: and here.
69013 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69015         * malloc/mallocbug.c: Avoid warnings about unused variables.
69017 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69019         [BZ #13760]
69020         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69021         in the right place. Discard and retry query if response is
69022         larger than input buffer size.
69024 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69026         [BZ #369]
69027         [BZ #2678]
69028         [BZ #3866]
69029         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69030         x for large integer exponent.
69031         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69032         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69033         sign of result as needed afterwards.
69034         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69035         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69036         result for underflowing pow the same as for overflow.
69037         (__kernel_standard_l): Handle powl overflow and underflow here
69038         rather than calling __kernel_standard.
69039         * math/libm-test.inc (pow_test): Add more tests.
69041         [BZ #3868]
69042         [BZ #13879]
69043         [BZ #13910]
69044         [BZ #13911]
69045         [BZ #13912]
69046         [BZ #13913]
69047         [BZ #13915]
69048         [BZ #13916]
69049         [BZ #13917]
69050         [BZ #13918]
69051         [BZ #13919]
69052         [BZ #13920]
69053         [BZ #13921]
69054         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69055         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69056         (__kernel_standard_l): New function.
69057         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69058         __kernel_standard.
69059         * math/w_acosl.c (__acosl): Likewise.
69060         * math/w_asinl.c (__asinl): Likewise.
69061         * math/w_atan2l.c (__atan2l): Likewise.
69062         * math/w_atanhl.c (__atanhl): Likewise.
69063         * math/w_coshl.c (__coshl): Likewise.
69064         * math/w_exp10l.c (__exp10l): Likewise.
69065         * math/w_exp2l.c (__exp2l): Likewise.
69066         * math/w_fmodl.c (__fmodl): Likewise.
69067         * math/w_hypotl.c (__hypotl): Likewise.
69068         * math/w_j0l.c (__j0l, __y0l): Likewise.
69069         * math/w_j1l.c (__j1l, __y1l): Likewise.
69070         * math/w_jnl.c (__jnl, __ynl): Likewise.
69071         * math/w_lgammal.c (__lgammal): Likewise.
69072         * math/w_log10l.c (__log10l): Likewise.
69073         * math/w_log2l.c (__log2l): Likewise.
69074         * math/w_logl.c (__logl): Likewise.
69075         * math/w_powl.c (__powl): Likewise.
69076         * math/w_remainderl.c (__remainderl): Likewise.
69077         * math/w_scalbl.c (sysv_scalbl): Likewise.
69078         * math/w_sinhl.c (__sinhl): Likewise.
69079         * math/w_sqrtl.c (__sqrtl): Likewise.
69080         * math/w_tgammal.c (__tgammal): Likewise.
69081         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69082         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69083         * math/libm-test.inc (acos_test): Add more tests.
69084         (acosh_test): Likewise.
69085         (asin_test): Likewise.
69086         (atanh_test): Likewise.
69087         (exp_test): Likewise.
69088         (exp10_test): Likewise.
69089         (exp2_test): Likewise.
69090         (expm1_test): Likewise.
69091         (lgamma_test): Likewise.
69092         (log_test): Likewise.
69093         (log10_test): Likewise.
69094         (log1p_test): Likewise.
69095         (log2_test): Likewise.
69096         (pow_test): Do not allow some spurious overflow exceptions.
69097         (sqrt_test): Add more tests.
69098         (tgamma_test): Likewise.
69099         (y0_test): Likewise.
69100         (y1_test): Likewise.
69101         (yn_test): Likewise.
69103 2012-03-27  Anton Blanchard  <anton@samba.org>
69105         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69106         MAP_HUGETLB.
69107         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69108         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69109         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69111 2012-03-27  David S. Miller  <davem@davemloft.net>
69113         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69115         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69116         have-as-vis3 check.
69118 2012-03-27  Andreas Jaeger  <aj@suse.de>
69120         * sysdeps/x86_64/elf/configure.in: Moved to ...
69121         * sysdeps/x86_64/configure.in: ... here.
69122         * sysdeps/x86_64/elf/start.S: Moved to ...
69123         * sysdeps/x86_64/start.S: ... here.
69124         * sysdeps/x86_64/elf/configure: Delete.
69126         * sysdeps/x86_64/configure.in: Merge contents from
69127         sysdeps/i386/configure.in (without i686 check).
69129         * sysdeps/i386/elf/Versions: Merge into ...
69130         * sysdeps/i386/Versions: ... this.
69131         * sysdeps/i386/elf/Versions: Delete file.
69132         * sysdeps/i386/elf/start.S: Moved to ...
69133         * sysdeps/i386/start.S: ...here.
69134         * sysdeps/i386/elf/configure.in: Merge into...
69135         * sysdeps/i386/configure.in: ...here.
69136         * sysdeps/i386/elf/configure.in: Delete file.
69137         * sysdeps/i386/elf/configure: Delete file.
69139         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69140         * debug/backtracesyms.c: ... here.
69141         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69142         * debug/backtracesymsfd.c: ... here.
69143         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69144         * sysdeps/generic/ifunc-sel.h: ... here.
69146         * sysdeps/unix/i386/start.c: Delete file.
69147         * sysdeps/unix/sparc/start.c: Delete file.
69148         * sysdeps/unix/start.c: Delete file.
69150         * sysdeps/sh/elf/configure.in: Moved to ...
69151         * sysdeps/sh/configure.in: ... here.
69152         * sysdeps/sh/elf/start.S: Moved to ...
69153         * sysdeps/sh/start.S: ... here.
69154         * sysdeps/sh/elf/configure: Delete file.
69156         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69157         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69158         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69159         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69160         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69161         * sysdeps/powerpc/powerpc64/start.S: here.
69162         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69163         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69164         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69165         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69166         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69168         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69169         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69170         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69171         * sysdeps/powerpc/powerpc32/start.S: ... here.
69172         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69173         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69174         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69176         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69177         * sysdeps/powerpc/ifunc-sel.h: ... here.
69178         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69179         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69181         * sysdeps/sparc/elf/configure.in: Moved to ...
69182         * sysdeps/sparc/configure.in: ... here.
69183         * sysdeps/sparc/elf/configure: Delete file.
69184         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69185         * sysdeps/sparc/sparc32/start.S: ... here.
69186         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69187         * sysdeps/sparc/sparc64/start.S: ... here.
69188         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69189         * sysdeps/sparc/sparc32/Makefile: ... this.
69190         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69191         * sysdeps/sparc/sparc64/Makefile: ... this.
69193         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69194         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69195         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69196         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69197         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69198         * sysdeps/s390/s390-32/setjmp.S: ... here.
69199         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69200         * sysdeps/s390/s390-32/configure.in: ... here.
69201         * sysdeps/s390/s390-32/elf/configure: Delete file.
69202         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69203         * sysdeps/s390/s390-32/start.S: ... here.
69205         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69206         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69207         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69208         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69209         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69210         * sysdeps/s390/s390-64/setjmp.S: ... here.
69211         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69212         * sysdeps/s390/s390-64/configure.in: ... here
69213         * sysdeps/s390/s390-64/elf/configure: Delete file.
69214         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69215         * sysdeps/s390/s390-64/start.S: ... here.
69216         * sysdeps/s390/s390-64/elf/configure: Delete.
69218         * configure.in: Remove support for elf directories in sysdeps.
69220         * configure: Regenerated.
69221         * sysdeps/i386/configure: Regenerated.
69222         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69223         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69224         * sysdeps/s390/s390-32/configure: Regenerated.
69225         * sysdeps/s390/s390-64/configure: Regenerated.
69226         * sysdeps/sh/configure: Regenerated.
69227         * sysdeps/sparc/configure: Regenerated.
69228         * sysdeps/x86_64/configure: Regenerated.
69230 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69234         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69235         denormal result into account.
69237 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69239         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69240         Reported by Allan McRae <allan@archlinux.org>.
69242 2012-03-23  Jeff Law  <law@redhat.com>
69244         * nss/getnssent.c (__nss_getent): Fix typo.
69246 2012-03-23  David S. Miller  <davem@davemloft.net>
69248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69250 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69252         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69253         to pad to uint64_t for each field.
69254         (dl_tls_index): Replace unsigned long with uint64_t.
69256 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69257         Paul Pluzhnikov  <ppluzhnikov@google.com>
69259         [BZ #6528]
69260         * grp/Makefile (otherlibs): Don't set it.
69261         * inet/Makefile (otherlibs): Likewise.
69262         * login/Makefile (otherlibs): Likewise.
69263         * nscd/Makefile (otherlibs): Likewise.
69264         * posix/Makefile (otherlibs): Likewise.
69265         * pwd/Makefile (otherlibs): Likewise.
69266         * rt/Makefile (otherlibs): Likewise.
69267         * sunrpc/Makefile (otherlibs): Likewise.
69268         * nss/Makefile (otherlibs): Likewise.
69269         Add libnss_files to routines and static-only-routines.
69270         ($(objpfx)getent): Remove rule.
69271         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69272         static-only-routines.
69274 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69276         [BZ #13892]
69277         * math/s_cexp.c: Include <float.h>.
69278         (__cexp): Handle exp result overflowing not necessarily
69279         overflowing both real and imaginary parts of result.
69280         * math/s_cexpf.c: Likewise.
69281         * math/s_cexpl.c: Likewise.
69282         * math/libm-test.inc (cexp_test): Add more tests.
69283         * sysdeps/i386/fpu/libm-test-ulps: Update.
69284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69286 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69288         * include/link.h (ELFW): New macro.
69289         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69290         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69292 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69294         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69295         with uint64_t.
69297 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69299         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69300         declaration.
69301         (struct La_x32_retval): Likewise.
69303 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69305         * sysdeps/x86_64/preconfigure.in: New file.
69306         * sysdeps/x86_64/preconfigure: New generated file.
69308 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69310         [BZ #13824]
69311         * math/e_exp2l.c: Include <float.h>.
69312         (__ieee754_exp2l): Handle overflow and underflow cases
69313         separately.  Only pass fractional part of argument to
69314         __ieee754_expl.
69315         * math/libm-test.inc (exp2_test): Add more tests.
69317         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69318         negating x to take absolute value.
69319         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69320         Likewise.
69321         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69322         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69323         Likewise.
69324         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69325         computing low part if x was negated.
69326         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69328 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69330         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69331         la_x32_gnu_pltexit.
69332         (pltexit): Cast int_retval to ptrdiff_t.
69333         * elf/tst-auditmod3b.c: Likewise.
69334         * elf/tst-auditmod4b.c: Likewise.
69335         * elf/tst-auditmod5b.c: Likewise.
69336         * elf/tst-auditmod6b.c: Likewise.
69337         * elf/tst-auditmod6c.c: Likewise.
69338         * elf/tst-auditmod7b.c: Likewise.
69340         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69341         and x32_gnu_pltexit.
69343         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69344         __ELF_NATIVE_CLASS.
69345         (La_x32_regs): New macro.
69346         (La_x32_retval): Likewise.
69347         (la_x32_gnu_pltenter): New function prototype.
69348         (la_x32_gnu_pltexit): Likewise.
69350 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69352         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69353         exponent.
69355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69357         * configure.in (libc_cv_cc_nofma): Check for option to disable
69358         generation of FMA instructions.
69359         * configure: Regenerate.
69360         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69361         * sysdeps/ieee754/dbl-64/Makefile: New file.
69362         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69363         Remove brandred-fma4.
69364         (CFLAGS-brandred-fma4.c): Remove.
69365         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69366         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69367         define.
69368         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69369         define.
69371 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69373         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69374         LLONG_MAX != LONG_MAX.
69375         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69376         (_fitoa_word): Likewise.
69377         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69378         LLONG_MAX != LONG_MAX.
69379         * stdio-common/_itowa.h: Include <_itoa.h>.
69380         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69381         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69382         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69383         only if not defined.
69384         (_ITOA_WORD_TYPE): Likewise.
69385         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69386         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69388 2012-03-21  David S. Miller  <davem@davemloft.net>
69390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69392 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69394         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69395         of x86_64 when setting libc_cv_slibdir, libdir and
69396         libc_cv_localedir.
69397         * sysdeps/unix/sysv/linux/configure: Regenerated.
69399 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69401         * manual/lang.texi (Old Varargs): Remove section.
69402         (How Variadic): Update menu.
69403         (va_start): Do not mention varargs.h.
69405 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69406             Joseph Myers  <joseph@codesourcery.com>
69408         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69409         link test.
69410         * configure: Regenerated.
69412 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69414         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69415         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69416         conformtest.pl
69418 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69420         * NOTES: Remove.
69421         * Makefile (files-for-dist): Remove NOTES.
69422         (NOTES): Remove rule.
69423         * README: Don't refer to NOTES.
69424         * manual/creature.texi: Don't include macros.texi.
69425         * manual/intro.texi (creature.texi): Remove comment referring to
69426         NOTES.
69428         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69429         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69430         * configure: Regenerated.
69431         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69432         LIBC_TRY_CC_OPTION.
69433         (libc_cv_as_i686): Likewise.
69434         (libc_cv_cc_avx): Likewise.
69435         (libc_cv_cc_sse2avx): Likewise.
69436         (libc_cv_cc_fma4): Likewise.
69437         (libc_cv_cc_novzeroupper): Likewise.
69438         * sysdeps/i386/configure: Regenerated.
69440         [BZ #13883]
69441         * sysdeps/i386/fpu/s_cexp.S: Remove.
69442         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69443         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69444         * math/libm-test.inc (cexp_test): Add more tests.
69445         * sysdeps/i386/fpu/libm-test-ulps: Update.
69446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69448 2012-03-21  Allan McRae  <allan@archlinux.org>
69450         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69452 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69454         [BZ #13871]
69455         * math/w_exp2.c: Do not include <float.h>.
69456         (o_threshold, u_threshold): Remove.
69457         (__exp2): Calculate result before checking finiteness and calling
69458         __kernel_standard.
69459         * math/w_exp2f.c: Likewise.
69460         * math/w_exp2l.c: Likewise.
69461         * math/libm-test.inc (exp2_test): Require overflow exception for
69462         1e6 input.
69464         [BZ #3866]
69465         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69466         range of signed 64-bit integers before using fistpll.  Remove
69467         checks for whether integers fit in mantissa bits.
69468         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69469         the range of signed 32-bit integers before using fistpl.  Remove
69470         checks for whether integers fit in mantissa bits.
69471         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69472         (__ieee754_powl): Test for y outside the range of signed 64-bit
69473         integers before using fistpll.  Reduce 64-bit values to 63-bit
69474         ones as needed.
69475         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69476         divide-by-zero is raised for zero to large negative powers.
69477         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69478         (__ieee754_powl): Test for y outside the range of signed 64-bit
69479         integers before using fistpll.  Reduce 64-bit values to 63-bit
69480         ones as needed.
69481         * math/libm-test.inc (pow_test): Add more tests.
69483 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69485         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69486         <stdio-common/_itoa.h>.
69487         * debug/segfault.c: Likewise.
69488         * elf/dl-cache.c: Likewise.
69489         * elf/dl-minimal.c: Likewise.
69490         * elf/dl-misc.c: Likewise.
69491         * elf/dl-sysdep.c: Likewise.
69492         * elf/dl-version.c: Likewise.
69493         * elf/rtld.c: Likewise.
69494         * hurd/hurdsock.c: Likewise.
69495         * hurd/lookup-retry.c: Likewise.
69496         * malloc/malloc.c: Likewise.
69497         * malloc/mtrace.c: Likewise.
69498         * nscd/nscd_getgr_r.c: Likewise.
69499         * nscd/nscd_getpw_r.c: Likewise.
69500         * nscd/nscd_getserv_r.c: Likewise.
69501         * posix/getopt_init.c: Likewise.
69502         * posix/wordexp.c: Likewise.
69503         * stdio-common/_itoa.c: Likewise.
69504         * stdio-common/printf_fphex.c: Likewise.
69505         * stdio-common/vfprintf.c: Likewise.
69506         * string/_strerror.c: Likewise.
69507         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69508         * sysdeps/i386/i686/hp-timing.h: Likewise.
69509         * sysdeps/mach/_strerror.c: Likewise.
69510         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69511         * sysdeps/mach/hurd/sethostid.c: Likewise.
69512         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69513         * sysdeps/mach/xpg-strerror.c: Likewise.
69514         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69515         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69516         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69517         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69518         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69519         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69520         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69521         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69522         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69523         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69524         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69525         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69526         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69527         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69528         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69529         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69530         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69531         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69532         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69533         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69534         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69536         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69538         * stdio-common/_itoa.h: Moved to ...
69539         * sysdeps/generic/_itoa.h: Here.
69541         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69543         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69544         instead of "_itoa.h" and "_itowa.h".
69545         * stdio-common/vfprintf.: Likewise.
69547 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69549         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69550         <bits/wordsize.h>.
69551         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69552         (__signbit): Likwise.
69553         (llrintf): Likwise.
69554         (llrint): Likwise.
69556 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69558         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69559         __WORDSIZE != 64.
69561 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69563         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69564         OVERFLOW_EXCEPTION_OK.
69565         * math/libm-test.inc ("Philosophy"): Update comment about
69566         exception testing.
69567         (OVERFLOW_EXCEPTION): Define.
69568         (OVERFLOW_EXCEPTION_OK): Likewise.
69569         (INVALID_EXCEPTION_OK): Renumber.
69570         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69571         (IGNORE_ZERO_INF_SIGN): Likewise.
69572         (test_exceptions): Handle FE_OVERFLOW.
69573         (exp10_test): Expect overflow exceptions.
69574         (exp2_test): Likewise.
69575         (expm1_test): Likewise.
69576         (nextafter_test): Likewise.
69577         (pow_test): Likewise.
69578         (scalbn_test): Likewise.
69579         (scalbln_test): Likewise.
69581 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69583         * sysdeps/x86_64/bits/atomic.h
69584         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69585         64bit integer.
69586         (atomic_exchange_acq): Likewise.
69587         (__arch_exchange_and_add_body): Likewise.
69588         (__arch_add_body): Likewise.
69589         (atomic_add_negative): Likewise.
69590         (atomic_add_zero): Likewise.
69592 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69594         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69595         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69597 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69599         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69600         Check __x86_64__ instead of __WORDSIZE.
69602 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69604         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69606 2012-03-19  David S. Miller  <davem@davemloft.net>
69608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69610         * sysdeps/sparc/fpu/fenv_private.h: New file.
69611         * sysdeps/sparc/fpu/math_private.h: Use it.
69612         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69613         Remove.
69614         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69615         (libc_feholdexcept_setroundl): Remove.
69616         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69617         Remove.
69618         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69619         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69621 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69623         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69624         int64_t instead of long int.
69625         (INSERT_WORDS64): Likwise.
69627 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69629         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69630         _Unwind_GetCFA return to _Unwind_Ptr first.
69632 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69634         [BZ #13629]
69635         * math/s_clog.c: Include <float.h>.
69636         (__clog): Scale large or subnormal inputs.
69637         * math/s_clogf.c: Likewise.
69638         * math/s_clogl.c: Likewise.
69639         * math/s_clog10.c: Include <float.h>.
69640         (M_LOG10_2): Define.
69641         (__clog10): Scale large or subnormal inputs.
69642         * math/s_clog10f.c: Likewise.
69643         * math/s_clog10l.c: Likewise.
69644         * math/libm-test.inc (clog_test): Add more tests.
69645         (clog10_test): Likewise.
69646         * sysdeps/i386/fpu/libm-test-ulps: Update.
69647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69649         [BZ #11451]
69650         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69651         x and y.
69652         * math/libm-test.inc (atan2_test): Add another test.
69654         * Makerules (common-objdir-compile): Remove.
69655         * sysdeps/unix/Makefile (config-generated): Do not add
69656         $(unix-generated) to variable.
69657         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69658         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69659         Remove rule.
69660         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69661         Likewise.
69662         [generic bits/local_lim.h] (before-compile): Do not append to
69663         variable.
69664         [generic bits/local_lim.h] (common-generated): Likewise.
69665         [generic sys/param.h] (before-compile): Do not append to variable.
69666         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69667         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69668         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69669         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69670         include.
69671         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69672         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69673         [generic sys/param.h] ($(addprefix
69674         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69675         [generic sys/param.h] (common-generated): Do not append to
69676         variable.
69677         [generic sys/param.h] (sysdep_headers): Likewise.
69678         [generic bits/errno.h] (before-compile): Do not append to
69679         variable.
69680         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69681         rule.
69682         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69683         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69684         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69685         [generic bits/errno.h] (common-generated): Do not append to
69686         variable.
69687         [generic bits/ioctls.h] (before-compile): Do not append to
69688         variable.
69689         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69690         rule.
69691         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69692         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69693         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69694         rule.
69695         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69696         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69697         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69698         [generic bits/ioctls.h] (common-generated): Do not append to
69699         variable.
69700         [generic sys/syscall.h] (syscall.h): Remove variable.
69701         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69702         rule.
69703         [generic sys/syscall.h] (before-compile): Do not append to
69704         variable.
69705         [generic sys/syscall.h] (common-generated): Likewise.
69706         * sysdeps/unix/errnos-tmpl.c: Remove file.
69707         * sysdeps/unix/errnos.awk: Likewise.
69708         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69709         * sysdeps/unix/ioctls.awk: Likewise.
69710         * sysdeps/unix/mk-local_lim.c: Likewise.
69711         * sysdeps/unix/snarf-ioctls: Likewise.
69713 2012-03-19  Richard Henderson  <rth@twiddle.net>
69715         * sysdeps/i386/fpu/fenv_private.h: New file.
69716         * sysdeps/i386/fpu/math_private.h: Use it.
69717         (math_opt_barrier, math_force_eval): Remove.
69718         (libc_feholdexcept_setround_53bit): Remove.
69719         (libc_feupdateenv_53bit): Remove.
69720         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69721         (math_opt_barrier, math_force_eval): Remove.
69722         (libc_feholdexcept): Remove.
69723         (libc_feholdexcept_setround): Remove.
69724         (libc_fetestexcept, libc_fesetenv): Remove.
69725         (libc_feupdateenv_test): Remove.
69726         (libc_feupdateenv, libc_feholdsetround): Remove.
69727         (libc_feresetround): Remove.
69729         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69730         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69732         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69733         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69734         (libc_feupdateenv_testl): New.
69735         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69736         (libc_feupdateenv_testf): New.
69737         (libc_feupdateenv): Use libc_feupdateenv_test.
69738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69739         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69741         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69742         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69743         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69744         (libc_feresetround_noex): New.
69745         (libc_feresetround_noexf): New.
69746         (libc_feresetround_noexl): New.
69747         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69748         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69749         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69750         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69751         SET_RESTORE_ROUND.
69752         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69754         (__cos): Likewise.
69755         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69756         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69757         SET_RESTORE_ROUND_NOEX.
69758         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69759         SET_RESTORE_ROUND_NOEXF.
69760         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69761         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69762         (libc_feholdsetroundf): New.
69763         (libc_feresetround, libc_feresetroundf): New.
69765         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69766         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69767         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69769         * sysdeps/generic/math_private.h: Include <fenv.h>.
69770         (default_libc_feholdexcept): New.
69771         (default_libc_feholdexcept_setround): New.
69772         (default_libc_fesetenv, default_libc_feupdateenv): New.
69773         (libc_feholdexcept): Only define if undefined.
69774         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69775         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69776         (libc_feholdexcept_setroundl): Likewise.
69777         (libc_feholdexcept_setround_53bit): Likewise.
69778         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69779         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69780         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69781         (libc_feupdateenv_53bit): Likewise.
69782         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69783         (libc_feholdexcept): Convert from macro to inline function.
69784         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69785         (libc_fesetenv, libc_feupdateenv): Likewise.
69787         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69788         not previously defined.
69789         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69790         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69791         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69792         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69793         * sysdeps/ieee754/flt-32/math_private.h: New file.
69794         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69795         math_private.h below SET_FLOAT_WORD.
69796         (__isnan, __isinf_ns, __finite): Remove.
69797         (__isnanf, __isinf_nsf, __finitef): Remove.
69799 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69803 2012-03-17  David S. Miller  <davem@davemloft.net>
69805         [BZ #6471]
69806         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69807         for 2.16.
69809 2012-03-16  David S. Miller  <davem@davemloft.net>
69811         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69812         warnings.
69814         [BZ #6471]
69815         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69816         properly.
69817         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69818         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69819         sysdep_routines when subdir is sysvipc.
69820         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69821         __getshmlba helper.
69823         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69825 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69827         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69828         [__LP64__].
69830 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69832         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69833         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69834         (__lround): Renamed to ...
69835         (__llround): This.  Replace long int with long long int.
69836         Define lround functions as aliases of llround functions.
69837         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69839 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69841         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69842         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69843         adresses to uintptr_t.  Replace "long int" and "unsigned long
69844         int" with "greg_t" on va_arg.
69846 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69848         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69849         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69851         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69852         Move e_machine check before EI_CLASS check.  Handle x32
69853         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69854         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69855         SKIP_EM_IA_64 and include
69856         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69858         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69859         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69860         (add_system_dir): New macro.
69862         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69863         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69865 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69867         [BZ #2551]
69868         [BZ #2552]
69869         [BZ #2553]
69870         [BZ #2554]
69871         [BZ #2562]
69872         [BZ #2563]
69873         [BZ #2565]
69874         [BZ #2566]
69875         [BZ #2576]
69876         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69877         (y0): Likewise.
69878         * math/w_j0f.c (j0f): Likewise.
69879         (y0f): Likewise.
69880         * math/w_j0l.c (__j0l): Likewise.
69881         (__y0l): Likewise.
69882         * math/w_j1.c (j1): Likewise.
69883         (y1): Likewise.
69884         * math/w_j1f.c (j1f): Likewise.
69885         (y1f): Likewise.
69886         * math/w_j1l.c (__j1l): Likewise.
69887         (__y1l): Likewise.
69888         * math/w_jn.c (jn): Likewise.
69889         (yn): Likewise.
69890         * math/w_jnf.c (jnf): Likewise.
69891         (ynf): Likewise.
69892         * math/w_jnl.c (__jnl): Likewise.
69893         (__ynl): Likewise.
69894         * math/libm-test.inc (j0_test): Add more tests.
69895         (j1_test): Likewise.
69896         (jn_test): Likewise.  Add trailing semicolon to existing test.
69897         (y0_test): Likewise.
69898         (y1_test): Likewise.
69899         * sysdeps/i386/fpu/libm-test-ulps: Update.
69900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69902         [BZ #13851]
69903         [BZ #13854]
69904         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69905         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69906         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69907         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69908         (__tanl): Set errno for infinite argument.
69909         * sysdeps/i386/fpu/mptan.c: Remove.
69910         * sysdeps/i386/fpu/s_tan.S: Likewise.
69911         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69912         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69913         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69914         * math/libm-test.inc (tan_test): Add more tests and enable more
69915         tests for double and long double.
69916         * sysdeps/i386/fpu/libm-test-ulps: Update.
69917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69919 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69921         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69922         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69924 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69926         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69927         * configure.in: Use it for both main tree and add-ons.
69928         * configure: Regenerated.
69930 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69932         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69934 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69936         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69937         in comment.
69939         [BZ #13851]
69940         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69941         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69942         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69943         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69944         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69945         infinite argument.
69946         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69947         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69948         != 0 for prec == 2.
69949         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69950         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69951         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69952         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69953         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69954         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69955         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69956         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69957         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69958         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69959         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69960         * math/libm-test.inc (cos_test): Add more tests and enable more
69961         tests for long double.
69962         (sin_test): Likewise.
69963         (sincos_test): Likewise.
69964         * sysdeps/i386/fpu/libm-test-ulps: Update.
69965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69967 2012-03-16  David S. Miller  <davem@davemloft.net>
69969         * sysdeps/sparc/fpu/math_private.h: New file.
69971 2012-03-15  David S. Miller  <davem@davemloft.net>
69973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69974         file.
69975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69977         file.
69978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69983         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69984         sysdep routines.
69985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69987         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69988         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69990         * sysdeps/sparc/sparc-ifunc.h: New file.
69991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69992         sparc-ifunc.h
69993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69995         Likewise.
69996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69997         Likewise.
69998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70002         Likewise.
70003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70008         Likewise.
70009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70010         Likewise.
70011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70017         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70018         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70028         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70029         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70030         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70031         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70032         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70033         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70034         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70036 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70038         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70039         scaling.
70040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70042 2012-03-15  Andreas Jaeger  <aj@suse.de>
70044         [BZ #13852]
70045         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70046         ieee754/flt-32 implementation for sin, cos and sincos.
70047         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70048         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70049         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70050         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70051         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70052         ieee754/flt-32 implementation for tan.
70054         * math/libm-test.inc (cos_test): Enable some large input tests for
70055         float as well
70056         (sin_test): Likewise.
70057         (sincos_test): Likewise.
70058         (tan_test): Add tests for large input.
70060         * sysdeps/i386/fpu/libm-test-ulps: Update.
70062 2012-03-15  Andreas Jaeger  <aj@suse.de>
70064         [BZ #13658]
70065         * math/libm-test.inc (cos_test): Add more test cases.
70066         (sin_test): Likewise.
70067         (sincos_test): Likewise.
70069 2012-03-15  Andreas Jaeger  <aj@suse.de>
70071         [BZ #13837]
70072         * math/libm-test.inc (cos_test): Add a test case for large input
70073         value.
70074         (sin_test): Likewise.
70075         (sincos_test): Likewise.
70077 2012-03-15  Andreas Jaeger  <aj@suse.de>
70078             Joseph Myers  <joseph@codesourcery.com>
70080         [BZ #13658]
70081         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70082         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70083         * sysdeps/i386/fpu/branred.c: Likewise.
70084         * sysdeps/i386/fpu/dosincos.c: Likewise.
70085         * sysdeps/i386/fpu/mpa.c: Likewise.
70086         * sysdeps/i386/fpu/s_cos.S: Likewise.
70087         * sysdeps/i386/fpu/s_sin.S: Likewise.
70088         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70089         * sysdeps/i386/fpu/sincos32.c: Likewise.
70091         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70092         Define.
70093         (libc_feupdateenv_53bit): Define.
70094         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70095         Define.
70096         (libc_feupdateenv_53bit): Define.
70098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70099         53 bit (without extend i386 double precision).
70101         * math/libm-test.inc (sincos_test): Add tests for large input.
70102         (sin): Likewise.
70103         (cos): Likewise.
70105         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70107 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70111 2012-03-15  David S. Miller  <davem@davemloft.net>
70113         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70114         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70115         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70116         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70129         file.
70130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70132         file.
70133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70135         file.
70136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70138         file.
70139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70141         fmin/fmax sysdep routines.
70142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70144 2012-03-14  David S. Miller  <davem@davemloft.net>
70146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70151         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70152         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70153         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70157         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70165         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70166         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70167         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70168         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70169         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70170         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70171         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70172         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70173         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70174         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70175         routines.
70176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70177         file.
70178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70180         file.
70181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70183         file.
70184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70186         file.
70187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70189         file.
70190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70192         file.
70193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70194         file.
70195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70196         file.
70197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70198         file.
70199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70200         New file.
70201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70202         file.
70203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70204         file.
70205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70207         file.
70208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70210         file.
70211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70213         file.
70214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70216         VIS3 routines.
70218         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70219         New file.
70221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70223         * sysdeps/sparc/configure.in: New file.
70224         * sysdeps/sparc/configure: Generate.
70225         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70226         * configure: Regenerate.
70227         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70228         * config.make.in (have-as-vis3): New.
70229         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70230         available use -Av9d instead of -Av9a.
70231         * sysdeps/sparc/sparc64/Makefile: Likewise.
70232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70234         New file.
70235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70236         file.
70237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70238         New file.
70239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70240         file.
70241         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70242         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70243         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70244         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70245         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70247         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70248         fzeros/fnegs to load 0x80000000 into a float register instead of
70249         using the stack.
70250         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70252 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70255         bits/syscall.h.
70256         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70257         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70258         ($(inst_includedir)/bits/syscall.h): Remove rule.
70259         ($(objpfx)bits/syscall.d): Include instead of
70260         $(objpfx)syscall-list.d.
70261         (generated): Change syscall-list.h and syscall-list.d to
70262         bits/syscall.h and bits/syscall.d.
70264 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70266         [BZ #13846]
70267         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70269 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70271         [BZ #13841]
70272         * math/s_csqrt.c: Include <float.h>.
70273         (__csqrt): Scale large or subnormal inputs.
70274         * math/s_csqrtf.c: Likewise.
70275         * math/s_csqrtl.c: Likewise.
70276         * math/libm-test.inc (csqrt_test): Add more tests.
70277         * sysdeps/i386/fpu/libm-test-ulps: Update.
70278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70280         [BZ #13840]
70281         * math/libm-test.inc (hypot_test): Add more tests.
70283 2012-03-13  David S. Miller  <davem@davemloft.net>
70285         [BZ #13840]
70286         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70287         double-precision for the calculation instead of scaling.
70289 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70291         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70292         manipulate bits before adding and subtracting TWO52[sx].
70293         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70294         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70295         Likewise.
70296         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70298 2012-03-13  David S. Miller  <davem@davemloft.net>
70300         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70301         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70303         rtld-global-offsets.h
70304         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70306         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70307         large parameters.
70309         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70311         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70312         'err' in the ifdef scope in which it is actually used.
70314         * nss/nss_db/db-init.c: Include string.h
70316 2012-03-12  David S. Miller  <davem@davemloft.net>
70318         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70319         masking out of the most significant byte of random value used.
70320         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70321         Fix coding style in previous change.
70323         * sysdeps/unix/sysv/linux/kernel-features.h
70324         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70325         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70326         expression.
70327         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70328         later.
70330 2012-03-11  David S. Miller  <davem@davemloft.net>
70332         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70333         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70334         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70335         for 'resultvar' otherwise things get truncated on 64-bit.
70337         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70338         Fix masking out of the most significant byte of random value used.
70340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70342 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70346 2012-03-09  David S. Miller  <davem@davemloft.net>
70348         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70349         variables with appropriate CPP guards.
70350         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70351         from the frame pointer, not the stack pointer.  Correct layout
70352         comments.  Fix test on resulting framesize and the management of
70353         the outregs buffer for pltexit.  Preserve floating point return
70354         values across _dl_call_pltexit call.
70355         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70356         framesize and the management of the outregs buffer for pltexit.
70357         Preserve floating point return values across _dl_call_pltexit
70358         call.
70359         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70360         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70361         (la_sparc64_gnu_pltexit): New functions.
70362         (print_exit): Fix format string for return register value.
70364 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70366         * sunrpc/Makefile (others): Add rpcgen.
70367         ($(objpfx)rpcgen): Remove special build rule and dependency on
70368         libc.
70369         * sunrpc/rpcgen.c: New file.
70371 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70373         [BZ #13673]
70374         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70375         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70376         * sysdeps/i386/crti.S: Likewise.
70377         * sysdeps/i386/crtn.S: Likewise.
70378         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70379         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70380         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70381         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70382         * sysdeps/sh/crti.S: Likewise.
70383         * sysdeps/sh/crtn.S: Likewise.
70384         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70386         [BZ #13673]
70387         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70388         with URL.
70389         * locale/programs/locfile-kw.gperf: Likewise.
70390         * locale/programs/charmap-kw.h: Regenerated.
70391         * locale/programs/locfile-kw.h: Likewise.
70393         [BZ #13673]
70394         * intl/plural.y: Replace FSF snail mail address with URL.
70395         * intl/plural.c: Regenerated.
70397 2012-03-09  Richard Henderson  <rth@twiddle.net>
70399         * include/math_private.h: Remove file.
70400         * math/math_private.h: Move file ...
70401         * sysdeps/generic/math_private.h: ... here.
70403         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70404         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70405         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70407         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70408         and <math_private.h>.
70409         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70410         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70411         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70412         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70413         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70414         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70415         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70416         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70417         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70418         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70419         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70420         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70421         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70422         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70423         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70424         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70425         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70426         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70427         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70428         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70429         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70430         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70431         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70433         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70434         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70435         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70436         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70437         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70438         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70439         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70440         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70441         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70442         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70443         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70444         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70445         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70446         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70447         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70448         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70449         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70450         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70451         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70452         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70453         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70454         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70455         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70456         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70457         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70458         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70459         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70460         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70461         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70462         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70463         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70464         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70465         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70466         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70467         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70468         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70469         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70470         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70472         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70473         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70474         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70475         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70476         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70477         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70478         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70479         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70480         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70481         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70482         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70489         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70490         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70491         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70492         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70497         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70498         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70499         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70500         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70501         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70502         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70503         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70504         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70505         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70506         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70507         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70508         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70509         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70510         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70511         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70512         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70513         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70514         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70515         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70516         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70517         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70518         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70519         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70520         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70521         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70522         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70523         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70524         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70525         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70526         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70527         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70528         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70529         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70530         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70531         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70532         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70533         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70534         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70535         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70536         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70537         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70538         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70539         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70540         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70541         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70542         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70543         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70544         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70545         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70546         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70547         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70548         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70549         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70550         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70551         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70552         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70553         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70554         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70555         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70556         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70557         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70558         * sysdeps/ieee754/k_standard.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70571         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70584         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70585         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70586         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70587         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70588         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70589         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70590         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70595         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70599         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70600         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70602         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70603         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70604         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70605         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70606         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70608         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70609         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70610         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70611         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70612         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70613         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70614         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70615         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70616         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70617         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70618         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70619         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70620         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70621         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70622         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70623         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70624         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70625         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70626         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70627         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70628         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70632         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70633         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70634         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70636         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70637         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70638         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70639         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70640         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70641         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70642         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70643         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70644         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70645         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70646         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70647         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70648         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70649         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70650         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70651         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70652         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70653         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70654         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70655         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70656         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70657         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70658         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70659         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70660         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70661         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70662         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70663         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70664         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70665         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70666         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70667         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70668         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70669         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70670         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70671         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70672         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70673         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70674         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70675         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70676         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70677         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70678         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70679         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70680         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70681         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70682         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70683         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70684         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70685         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70686         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70687         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70688         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70689         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70690         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70691         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70692         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70693         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70694         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70695         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70696         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70697         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70698         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70699         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70700         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70701         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70702         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70703         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70704         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70705         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70706         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70707         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70708         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70709         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70711         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70714         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70719         * sysdeps/ieee754/s_lib_version.c: Likewise.
70720         * sysdeps/ieee754/s_matherr.c: Likewise.
70721         * sysdeps/ieee754/s_signgam.c: Likewise.
70722         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70723         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70724         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70725         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70726         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70727         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70728         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70729         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70730         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70731         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70732         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70733         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70734         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70735         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70736         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70737         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70738         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70739         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70740         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70741         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70742         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70744 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70746         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70747         * sunrpc/rpc_main.c: Likewise.
70748         * sunrpc/rpc_svcout.c: Likewise.
70750 2012-03-09  David S. Miller  <davem@davemloft.net>
70752         * include/math_private.h: New file.
70754 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70756         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70757         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70758         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70759         from <bits/socket_type.h>.
70760         (enum __socket_type): Don't define here.
70761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70763         bits/socket_type.h.
70765         [BZ #13566]
70766         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70767         checking __USE_GNU.
70769         * Makerules ($(inst_includedir)/%.h): New rule.
70770         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70771         (install-others): Remove variable setting.
70772         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70774 2012-03-08  Richard Henderson  <rth@twiddle.net>
70776         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70777         from macro to inline function; merge with the
70778         !__LIBC_INTERNAL_MATH_INLINES version.
70779         (__ieee754_sqrtf): Likewise.
70781         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70782         to inline function.
70783         (__rintf, __floor, __floorf): Likewise.
70785         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70786         macro to inline function.
70787         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70789         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70790         not <math/math_private.h>.
70792 2012-03-08  David S. Miller  <davem@davemloft.net>
70794         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70795         copyright year.
70796         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70798 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70800         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70801         normalization.
70802         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70803         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70805 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70807         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70808         be defined individually, they must be defined as a block.  Define
70809         S for printing a string instead of hidint the different by using a
70810         macro for adding the 'l'.
70811         * stdio-common/tst-fphex-wide.c: Adjust.
70813 2012-03-07  Marek Polacek  <polacek@redhat.com>
70815         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70817 2012-03-08  Marek Polacek  <polacek@redhat.com>
70819         [BZ #13806]
70820         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70821         * stdio-common/tst-fphex.c: Define a few macros to make the
70822         test reusable.  Use them.
70823         * stdio-common/tst-fphex-wide.c: New file.
70825 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70827         [BZ #6911]
70828         * manual/macros.texi (gnusystems): New macro.
70829         (nongnusystems): Likewise.
70830         (gnulinuxhurdsystems): Likewise.
70831         (gnuhurdsystems): Likewise..
70832         (gnulinuxsystems): Likewise.
70833         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70834         variants of the GNU system, not "GNU system".
70835         * manual/conf.texi: Likewise.
70836         * manual/errno.texi: Likewise.  Update example of errno macro
70837         expansion.
70838         * manual/filesys.texi: Likewise.
70839         (getumask): Document as specific to GNU/Hurd.
70840         * manual/install.texi: Likewise.  Reword some references to
70841         GNU/Linux.
70842         * manual/intro.texi: Likewise.
70843         * manual/io.texi: Likewise.
70844         (File Name Portability): Detail which constraints are inapplicable
70845         to all GNU systems and which are only inapplicable to GNU/Hurd.
70846         * manual/job.texi: Likewise.
70847         * manual/llio.texi: Likewise.
70848         (O_NOCTTY): Document as present on GNU/Linux.
70849         * manual/maint.texi: Likewise.
70850         * manual/memory.texi: Likewise.
70851         * manual/pattern.texi: Likewise.
70852         * manual/pipe.texi: Likewise.
70853         * manual/process.texi: Likewise.
70854         * manual/resource.texi: Likewise.
70855         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70856         child on GNU/Hurd.
70857         * manual/setjmp.texi: Likewise.
70858         * manual/signal.texi: Likewise.
70859         * manual/startup.texi: Likewise.
70860         * manual/stdio.texi: Likewise.
70861         * manual/terminal.texi: Likewise.
70862         (ONLCR): Document as POSIX.
70863         (OXTABS): Document availability on GNU/Linux as XTABS.
70864         (ONOEOT): Document availability separately from other bits.
70865         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70866         * manual/time.texi: Likewise.
70867         * manual/users.texi: Likewise.
70868         * INSTALL: Regenerated.
70869         * sysdeps/gnu/errlist.c: Regenerated.
70871         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70872         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70873         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70874         puts.
70875         * configure: Regenerated.
70877 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70879         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70880         default includes instead of AC_HEADER_CHECK.
70881         * sysdeps/i386/configure: Regenerated.
70883         [BZ #10716]
70884         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70885         * math/s_cacoshf.c (__cacoshf): Likewise.
70886         * math/s_cacoshl.c (__cacoshl): Likewise.
70887         * math/s_casinh.c (__casinh): Set signs of result from argument.
70888         * math/s_casinhf.c (__casinhf): Likewise.
70889         * math/s_casinhl.c (__casinhl): Likewise.
70890         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70891         (casinh_test): Add more tests.
70892         * sysdeps/i386/fpu/libm-test-ulps: Update.
70893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70895 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70897         * po/zh_TW.po: Update from translation team.
70899         * login/Makefile (distribute): Remove variable.
70900         * catgets/Makefile: Likewise.
70901         * mach/Makefile: Likewise.
70902         * malloc/Makefile: Likewise.
70903         * misc/Makefile: Likewise.
70904         * iconv/Makefile: Likewise.
70905         * nscd/Makefile: Likewise.
70906         * hurd/Makefile: Likewise.
70907         * manual/Makefile: Likewise.
70908         * locale/Makefile: Likewise.
70909         * intl/Makefile: Likewise.
70910         * conform/Makefile: Likewise.
70911         * nss/Makefile: Likewise.
70912         * time/Makefile: Likewise.
70913         * soft-fp/Makefile: Likewise.
70914         * dirent/Makefile: Likewise.
70915         * gmon/Makefile: Likewise.
70916         * po/Makefile: Likewise.
70917         * rt/Makefile: Likewise.
70918         * socket/Makefile: Likewise.
70919         * math/Makefile: Likewise.
70920         * signal/Makefile: Likewise.
70921         * debug/Makefile: Likewise.
70922         * elf/Makefile: Likewise.
70923         * timezone/Makefile: Likewise.
70924         * stdlib/Makefile: Likewise.
70925         * iconvdata/Makefile: Likewise.
70926         * sunrpc/Makefile: Likewise.
70927         * io/Makefile: Likewise.
70928         * argp/Makefile: Likewise.
70929         * inet/Makefile: Likewise.
70930         * hesiod/Makefile: Likewise.
70931         * grp/Makefile: Likewise.
70932         * csu/Makefile: Likewise.
70933         * wctype/Makefile: Likewise.
70934         * crypt/Makefile: Likewise.
70935         * libio/Makefile: Likewise.
70936         * string/Makefile: Likewise.
70937         * nis/Makefile: Likewise.
70938         * resolv/Makefile: Likewise.
70939         * stdio-common/Makefile: Likewise.
70940         * wcsmbs/Makefile: Likewise.
70941         * dlfcn/Makefile: Likewise.
70942         * posix/Makefile: Likewise.
70944         [BZ #6959]
70945         * timezone/Makefile: Don't install timezone files, just the programs
70946         and scripts.
70948 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70950         * nss/databases.def: Add missing gshadow entry.
70952         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70954 2012-03-06  Marek Polacek  <polacek@redhat.com>
70956         [BZ #13726]
70957         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70958         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70959         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70960         * stdio-common/tst-long-dbl-fphex.c: New file.
70962 2012-03-06  David S. Miller  <davem@davemloft.net>
70964         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70965         (set_obp_int): New function.
70966         (get_obp_int): New function.
70967         (__get_clockfreq_via_dev_openprom): Likewise.
70968         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70969         Avoid unused variable warnings on 'val' and use builtin_expect.
70970         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70971         __builtin_expect.
70972         (INLINE_CLONE_SYSCALL): Likewise.
70974 2012-03-05  David S. Miller  <davem@davemloft.net>
70976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70978 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70982         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70983         only for |x| >= 40.
70984         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70986 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70988         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70989         Replace gettimeofday with __vdso_gettimeofday.
70991         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70992         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70993         __vdso_clock_gettime and __vdso_getcpu.
70995         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70996         time with __vdso_time.
70998 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71000         * manual/lang.texi (size_t): Note types to which size_t may be
71001         equivalent with the GNU C Library, but do not describe when
71002         differences between them are significant.
71004 2012-03-05  Andreas Jaeger  <aj@suse.de>
71006         * sysdeps/i386/fpu/libm-test-ulps: Update.
71008 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71010         [BZ #3976]
71011         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71012         (__ieee754_pow): Save and restore rounding mode and use
71013         round-to-nearest for main computations.
71014         * math/libm-test.inc (pow_test_tonearest): New function.
71015         (pow_test_towardzero): Likewise.
71016         (pow_test_downward): Likewise.
71017         (pow_test_upward): Likewise.
71018         (main): Call the new functions.
71019         * sysdeps/i386/fpu/libm-test-ulps: Update.
71020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71022         [BZ #3976]
71023         * math/libm-test.inc (cosh_test_tonearest): New function.
71024         (cosh_test_towardzero): Likewise.
71025         (cosh_test_downward): Likewise.
71026         (cosh_test_upward): Likewise.
71027         (sinh_test_tonearest): Likewise.
71028         (sinh_test_towardzero): Likewise.
71029         (sinh_test_downward): Likewise.
71030         (sinh_test_upward): Likewise.
71031         (main): Call the new functions.
71032         * sysdeps/i386/fpu/libm-test-ulps: Update.
71033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71035 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71037         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71038         default stack guard is set in last bytes.
71039         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71041 2012-03-05  Kees Cook  <keescook@chromium.org>
71043         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71045         [BZ #13656]
71046         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71047         possibly allocate from heap instead of stack.
71048         * stdio-common/bug-vfprintf-nargs.c: New file.
71049         * stdio-common/Makefile (tests): Add nargs overflow test.
71051 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71055 2012-03-03  Marek Polacek  <polacek@redhat.com>
71057         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71058         * math/math_private.h: Likewise.
71059         * stdlib/tst-strtod.c: Likewise.
71060         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71061         * sysdeps/x86_64/bits/atomic.h: Likewise.
71063 2012-03-02  David S. Miller  <davem@davemloft.net>
71065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71069         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71070         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71071         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71072         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71074 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71076         [BZ #13792]
71077         * manual/examples/README: New file, says the example source files
71078         can be used under GPL>=2.
71079         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71080         line containing just "*/".
71081         * manual/examples/add.c: Add copyright header (GPL>=2).
71082         * manual/examples/argp-ex1.c: Likewise.
71083         * manual/examples/argp-ex2.c: Likewise.
71084         * manual/examples/argp-ex3.c: Likewise.
71085         * manual/examples/argp-ex4.c: Likewise.
71086         * manual/examples/atexit.c: Likewise.
71087         * manual/examples/db.c: Likewise.
71088         * manual/examples/dir.c: Likewise.
71089         * manual/examples/dir2.c: Likewise.
71090         * manual/examples/execinfo.c: Likewise.
71091         * manual/examples/filecli.c: Likewise.
71092         * manual/examples/filesrv.c: Likewise.
71093         * manual/examples/fmtmsgexpl.c: Likewise.
71094         * manual/examples/genpass.c: Likewise.
71095         * manual/examples/inetcli.c: Likewise.
71096         * manual/examples/inetsrv.c: Likewise.
71097         * manual/examples/isockad.c: Likewise.
71098         * manual/examples/longopt.c: Likewise.
71099         * manual/examples/memopen.c: Likewise.
71100         * manual/examples/memstrm.c: Likewise.
71101         * manual/examples/mkfsock.c: Likewise.
71102         * manual/examples/mkisock.c: Likewise.
71103         * manual/examples/mygetpass.c: Likewise.
71104         * manual/examples/pipe.c: Likewise.
71105         * manual/examples/popen.c: Likewise.
71106         * manual/examples/rprintf.c: Likewise.
71107         * manual/examples/search.c: Likewise.
71108         * manual/examples/select.c: Likewise.
71109         * manual/examples/setjmp.c: Likewise.
71110         * manual/examples/sigh1.c: Likewise.
71111         * manual/examples/sigusr.c: Likewise.
71112         * manual/examples/stpcpy.c: Likewise.
71113         * manual/examples/strdupa.c: Likewise.
71114         * manual/examples/strftim.c: Likewise.
71115         * manual/examples/strncat.c: Likewise.
71116         * manual/examples/subopt.c: Likewise.
71117         * manual/examples/swapcontext.c: Likewise.
71118         * manual/examples/termios.c: Likewise.
71119         * manual/examples/testopt.c: Likewise.
71120         * manual/examples/testpass.c: Likewise.
71121         * manual/examples/timeval_subtract.c: Likewise.
71123         [BZ #13792]
71124         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71125         function to ...
71126         * manual/timeval_subtract.c.texi: ... here, new file.
71128 2012-03-02  David S. Miller  <davem@davemloft.net>
71130         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71132 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71134         [BZ #3976]
71135         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71136         (__sin): Save and restore rounding mode and use round-to-nearest
71137         for all computations.
71138         (__cos): Save and restore rounding mode and use round-to-nearest
71139         for all computations.
71140         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71141         <fenv.h>.
71142         (tan): Save and restore rounding mode and use round-to-nearest for
71143         all computations.
71144         * math/libm-test.inc (cos_test_tonearest): New function.
71145         (cos_test_towardzero): Likewise.
71146         (cos_test_downward): Likewise.
71147         (cos_test_upward): Likewise.
71148         (sin_test_tonearest): Likewise.
71149         (sin_test_towardzero): Likewise.
71150         (sin_test_downward): Likewise.
71151         (sin_test_upward): Likewise.
71152         (tan_test_tonearest): Likewise.
71153         (tan_test_towardzero): Likewise.
71154         (tan_test_downward): Likewise.
71155         (tan_test_upward): Likewise.
71156         (main): Call the new functions.
71157         * sysdeps/i386/fpu/libm-test-ulps: Update.
71158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71160         [BZ #10135]
71161         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71162         small n, then large n, before computing and testing k+n.
71163         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71164         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71165         Likewise.
71166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71167         Likewise.
71168         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71169         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71170         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71171         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71172         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71173         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71174         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71175         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71176         * math/libm-test.inc (scalbn_test): Add more tests.
71177         (scalbln_test): Likewise.
71179         * manual/filesys.texi (mode_t): Describe constraints on size and
71180         signedness, not exact equivalence to a particular type.
71181         (ino_t): Likewise.
71182         (ino64_t): Likewise.
71183         (dev_t): Likewise.
71184         (nlink_t): Likewise.
71185         (blkcnt_t): Likewise.
71186         (blkcnt64_t): Likewise.
71187         * manual/llio.texi (off_t): Likewise.
71189         [BZ #3976]
71190         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71191         (__ieee754_exp): Save and restore rounding mode and use
71192         round-to-nearest for all computations.
71193         * math/libm-test.inc (exp_test_tonearest): New function.
71194         (exp_test_towardzero): Likewise.
71195         (exp_test_downward): Likewise.
71196         (exp_test_upward): Likewise.
71197         (main): Call the new functions.
71198         * sysdeps/i386/fpu/libm-test-ulps: Update.
71199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71201 2012-03-01  Chris Demetriou  <cgd@google.com>
71203         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71204         have predictable order.
71206 2012-03-01  David S. Miller  <davem@davemloft.net>
71208         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71210         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71211         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71212         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71213         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71215         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71216         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71217         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71219         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71220         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71221         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71222         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71223         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71227         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71228         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71229         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71231         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71232         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71233         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71234         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71235         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71236         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71237         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71238         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71239         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71240         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71241         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71242         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71244         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71245         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71246         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71247         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71248         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71249         * sysdeps/sparc/elf/configure: Regenerated.
71251 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71253         * configure.in (AS, LD): Require binutils 2.20 or later.
71254         * configure: Regenerated.
71255         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71256         as required minimum version.
71257         * INSTALL: Regenerated.
71259         [BZ #2541]
71260         [BZ #4108]
71261         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71262         before squaring exponent.
71263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71264         bottom long double and 27 bits of top long double before squaring
71265         exponent.
71266         * math/libm-test.inc (erfc_test): Add more tests.
71267         * sysdeps/i386/fpu/libm-test-ulps: Update.
71268         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71271 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71273         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71274         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71275         containing bit-fields.
71276         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71277         * soft-fp/single.h (_FP_UNION_S): Likewise.
71278         * soft-fp/double.h (_FP_UNION_D): Likewise.
71280 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71282         [BZ #13786]
71283         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71284         not include ../strcmp.S.
71285         [USE_AS_STRNCASECMP_L]: Likewise.
71286         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71287         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71288         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71289         (__strncasecmp_l_ia32): Define as alias to
71290         __strncasecmp_l_nonascii.
71292         [BZ #5794]
71293         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71294         * sysdeps/i386/fpu/libm-test-ulps: Update.
71295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71297         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71300 2012-02-29  Jeff Law  <law@redhat.com>
71302         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71303         out of bounds read.
71305 2012-02-29  Marek Polacek  <polacek@redhat.com>
71307         [BZ #13706]
71308         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71309         * elf/Makefile: Add rules to run tst-unused-dep.out.
71311 2012-02-28  David S. Miller  <davem@davemloft.net>
71313         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71314         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71316         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71317         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71318         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71320 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71322         * math/libm-test.inc (llround_test): Move one test from
71323         lround_test.  Use TEST_f_L in moved test.
71324         (lround_test): Move misplaced test to llround_test.  Add testcase
71325         from bug 2561.
71327 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71329         * sysdeps/x86_64/fpu/e_expf.S: New file.
71330         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71332 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71334         [BZ #13637]
71335         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71336         of remain_len that may cause incomplete multi-byte character and
71337         false match.
71338         * posix/bug-regex33.c: New file.
71339         * posix/Makefile (tests): Add bug-regex33.
71341 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71343         * manual/macros.texi: New file.
71344         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71345         * manual/libc.texinfo: Include macros.texi.
71346         * manual/creatute.texi: Likewise.
71347         * manual/install.texi: Likewise.
71348         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71349         @glibcadj{} in references to the GNU C Library.
71350         * manual/charset.texi: Likewise.
71351         * manual/conf.texi: Likewise.
71352         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71353         when not using those macros.
71354         * manual/creature.texi: Likewise.
71355         * manual/crypt.texi: Likewise.
71356         * manual/errno.texi: Likewise.
71357         * manual/filesys.texi: Likewise.
71358         * manual/header.texi: Likewise.
71359         * manual/install.texi: Likewise.
71360         * manual/intro.texi: Likewise.
71361         * manual/io.texi: Likewise.
71362         * manual/job.texi: Likewise.
71363         * manual/lang.texi: Likewise.
71364         * manual/libc.texiinfo: Likewise.
71365         * manual/llio.texi: Likewise.
71366         * manual/locale.texi: Likewise.
71367         * manual/maint.texi: Likewise.
71368         * manual/math.texi: Likewise.
71369         * manual/memory.texi: Likewise.
71370         * manual/message.texi: Likewise.
71371         * manual/nss.texi: Likewise.
71372         * manual/pattern.texi: Likewise.
71373         * manual/process.texi: Likewise.
71374         * manual/resource.texi: Likewise.
71375         * manual/search.texi: Likewise.
71376         * manual/setjmp.texi: Likewise.
71377         * manual/signal.texi: Likewise.
71378         * manual/socket.texi: Likewise.
71379         * manual/startup.texi: Likewise.
71380         * manual/stdio.texi: Likewise.
71381         * manual/string.texi: Likewise.
71382         * manual/sysinfo.texi: Likewise.
71383         * manual/syslog.texi: Likewise.
71384         * manual/terminal.texi: Likewise.
71385         * manual/time.texi: Likewise.
71386         * manual/users.texi: Likewise.
71387         * INSTALL: Regenerated.
71388         * NOTES: Regenerated.
71389         * sysdeps/gnu/errlist.c: Regenerated.
71391 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71393         * include/dirent.h: Include <dirstream.h> before
71394         <dirent/dirent.h>.
71396 2012-02-28  David S. Miller  <davem@davemloft.net>
71398         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71399         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71400         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71401         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71403 2012-02-27  David S. Miller  <davem@davemloft.net>
71405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71407         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71408         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71411         frame pointer instead of stack pointer relative arg slot.
71412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71413         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71414         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71416 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71418         [BZ #3992]
71419         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71421 2012-02-27  David S. Miller  <davem@davemloft.net>
71423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71427         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71428         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71429         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71430         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71432 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71434         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71435         later.  Allow versions 5-9.
71436         * configure: Regenerated.
71437         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71438         required minimum version and 4.6 as recommended version.  Do not
71439         mention bugs in GCC 2.7 and 2.8.
71440         * INSTALL: Regenerated.
71442 2012-02-27  David S. Miller  <davem@davemloft.net>
71444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71448         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71449         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71450         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71451         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71453         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71454         manipulate bits before adding and subtracting TWO112[sx].
71455         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71457 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71459         [BZ #13775]
71460         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71461         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71462         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71463         being in POSIX, because they are in 1003.1-2008.
71465         * rt/tst-aio.c: Include <fcntl.h>.
71466         * rt/tst-aio7.c: Likewise.
71467         * rt/tst-aio64.c: Likewise.
71469         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71471 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71473         * manual/install.texi (--with-headers): Describe headers as
71474         interface headers, not private headers.
71475         (Specific advice for GNU/Linux systems): Describe use of headers
71476         from "make headers_install", not private headers from older
71477         kernels.
71478         * INSTALL: Regenerated.
71479         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71480         Change to 2.6.19.
71481         * sysdeps/unix/sysv/linux/configure: Regenerated.
71483         * manual/llio.texi (fclean): Remove documentation.
71485         * manual/Makefile (libc-texi-generated): New variable.  Include
71486         version.texi.
71487         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71488         $(libc-texi-generated), not duplicated list of files.
71489         (version.texi, stamp-version): New rules.
71490         (realclean): Remove $(libc-texi-generated), not individual files
71491         from that list.  Do not remove dir-add.texinfo.
71492         * manual/libc.texinfo: Comment out uses of edition numbers and
71493         references to printed manual.  Remove last-updated dates.
71494         (EDITION): Comment out.
71495         (ISBN): Likewise.
71496         (VERSION, UPDATED): Remove.
71497         (version.texi): Include.
71499 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71501         * sysdeps/posix/spawni.c: Include <signal.h>.
71502         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71503         * sysdeps/pthread/aio_fsync.c: Likewise.
71505 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71507         * conform/Makefile (tests): Run only when not cross-compiling and
71508         when fast-check is not defined.
71510         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71511         * conform/data/limits.h-data: Fixes for POSIX2008.
71512         * conform/run-conformtest.sh: Run all tests.
71513         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71514         headers.
71515         * include/bits/dlfcn.h: Likewise.
71516         * include/langinfo.h: Likewise.
71517         * include/monetary.h: Likewise.
71518         * include/sys/poll.h: Likewise.
71520         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71521         for __USE_GNU.
71522         * posix/spawn.h: Define __need_sigset_t.
71523         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71524         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71525         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71526         to get sigevent_t only.
71527         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71528         only for __USE_GNU.
71529         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71530         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71531         process_vm_writev only for __USE_GNU.
71532         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71534         * conform/Makefile: For now ignore errors from run-conformtest.
71535         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71536         POSIX to avoid namespace pollution.  Don't prepend headers.
71537         * conform/data/aio.h-data: Fixes for POSIX testing.
71538         * conform/data/fcntl.h-data: Likewise.
71539         * conform/data/glob.h-data: Likewise.
71540         * conform/data/grp.h-data: Likewise.
71541         * conform/data/pthread.h-data: Likewise.
71542         * conform/data/pwd.h-data: Likewise.
71543         * conform/data/signal.h-data: Likewise.
71544         * conform/data/spawn.h-data: Likewise.
71545         * conform/data/stdio.h-data: Likewise.
71546         * conform/data/stdlib.h-data: Likewise.
71547         * conform/data/stropts.h-data: Likewise.
71548         * conform/data/sys/mman.h-data: Likewise.
71549         * conform/data/sys/stat.h-data: Likewise.
71550         * conform/data/sys/types.h-data: Likewise.
71551         * conform/data/sys/wait.h-data: Likewise.
71552         * conform/data/time.h-data: Likewise.
71553         * conform/data/unistd.h-data: Likewise.
71554         * conform/data/utime.h-data: Likewise.
71556         * io/sys/stat.h: fchmod was always in POSIX.
71557         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71558         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71559         * rt/aio.h: Define __need_timespec before including <time.h>.
71560         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71561         struct.  Add forward declaration of pthread_attr_t and use it in
71562         sigevent.
71563         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71564         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71565         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71566         always remove CLK_TCK definition.
71568 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71570         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71572 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71574         * conform/run-conformtest.sh: New file.
71575         * conform/Makefile: Run run-conformtest for tests.
71576         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71577         support.
71579         * conform/data/uchar.h-data: New file.
71580         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71581         * conform/data/arpa/inet.h-data: Likewise.
71582         * conform/data/assert.h-data: Likewise.
71583         * conform/data/complex.h-data: Likewise.
71584         * conform/data/cpio.h-data: Likewise.
71585         * conform/data/ctype.h-data: Likewise.
71586         * conform/data/dirent.h-data: Likewise.
71587         * conform/data/dlfcn.h-data: Likewise.
71588         * conform/data/errno.h-data: Likewise.
71589         * conform/data/fcntl.h-data: Likewise.
71590         * conform/data/float.h-data: Likewise.
71591         * conform/data/fmtmsg.h-data: Likewise.
71592         * conform/data/fnmatch.h-data: Likewise.
71593         * conform/data/ftw.h-data: Likewise.
71594         * conform/data/glob.h-data: Likewise.
71595         * conform/data/grp.h-data: Likewise.
71596         * conform/data/iconv.h-data: Likewise.
71597         * conform/data/inttypes.h-data: Likewise.
71598         * conform/data/langinfo.h-data: Likewise.
71599         * conform/data/libgen.h-data: Likewise.
71600         * conform/data/limits.h-data: Likewise.
71601         * conform/data/locale.h-data: Likewise.
71602         * conform/data/math.h-data: Likewise.
71603         * conform/data/monetary.h-data: Likewise.
71604         * conform/data/mqueue.h-data: Likewise.
71605         * conform/data/ndbm.h-data: Likewise.
71606         * conform/data/net/if.h-data: Likewise.
71607         * conform/data/netdb.h-data: Likewise.
71608         * conform/data/netinet/in.h-data: Likewise.
71609         * conform/data/nl_types.h-data: Likewise.
71610         * conform/data/poll.h-data: Likewise.
71611         * conform/data/pthread.h-data: Likewise.
71612         * conform/data/pwd.h-data: Likewise.
71613         * conform/data/regex.h-data: Likewise.
71614         * conform/data/sched.h-data: Likewise.
71615         * conform/data/search.h-data: Likewise.
71616         * conform/data/semaphore.h-data: Likewise.
71617         * conform/data/setjmp.h-data: Likewise.
71618         * conform/data/signal.h-data: Likewise.
71619         * conform/data/spawn.h-data: Likewise.
71620         * conform/data/stdarg.h-data: Likewise.
71621         * conform/data/stdio.h-data: Likewise.
71622         * conform/data/stdlib.h-data: Likewise.
71623         * conform/data/string.h-data: Likewise.
71624         * conform/data/strings.h-data: Likewise.
71625         * conform/data/stropts.h-data: Likewise.
71626         * conform/data/sys/ipc.h-data: Likewise.
71627         * conform/data/sys/mman.h-data: Likewise.
71628         * conform/data/sys/msg.h-data: Likewise.
71629         * conform/data/sys/resource.h-data: Likewise.
71630         * conform/data/sys/select.h-data: Likewise.
71631         * conform/data/sys/sem.h-data: Likewise.
71632         * conform/data/sys/shm.h-data: Likewise.
71633         * conform/data/sys/socket.h-data: Likewise.
71634         * conform/data/sys/stat.h-data: Likewise.
71635         * conform/data/sys/statvfs.h-data: Likewise.
71636         * conform/data/sys/time.h-data: Likewise.
71637         * conform/data/sys/timeb.h-data: Likewise.
71638         * conform/data/sys/times.h-data: Likewise.
71639         * conform/data/sys/types.h-data: Likewise.
71640         * conform/data/sys/uio.h-data: Likewise.
71641         * conform/data/sys/un.h-data: Likewise.
71642         * conform/data/sys/utsname.h-data: Likewise.
71643         * conform/data/sys/wait.h-data: Likewise.
71644         * conform/data/syslog.h-data: Likewise.
71645         * conform/data/tar.h-data: Likewise.
71646         * conform/data/termios.h-data: Likewise.
71647         * conform/data/utime.h-data: Likewise.
71648         * conform/data/utmpx.h-data: Likewise.
71649         * conform/data/varargs.h-data: Likewise.
71650         * conform/data/wchar.h-data: Likewise.
71651         * conform/data/wctype.h-data: Likewise.
71652         * conform/data/wordexp.h-data: Likewise.
71654         * include/stropts.h: New file.
71655         * include/uchar.h: New file.
71656         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71657         * include/assert.h: Likewise.
71658         * include/ctype.h: Likewise.
71659         * include/dirent.h: Likewise.
71660         * include/dlfcn.h: Likewise.
71661         * include/fcntl.h: Likewise.
71662         * include/fnmatch.h: Likewise.
71663         * include/glob.h: Likewise.
71664         * include/grp.h: Likewise.
71665         * include/libio.h: Likewise.
71666         * include/locale.h: Likewise.
71667         * include/math.h: Likewise.
71668         * include/net/if.h: Likewise.
71669         * include/netdb.h: Likewise.
71670         * include/netinet/in.h: Likewise.
71671         * include/pthread.h: Likewise.
71672         * include/pwd.h: Likewise.
71673         * include/regex.h: Likewise.
71674         * include/sched.h: Likewise.
71675         * include/search.h: Likewise.
71676         * include/setjmp.h: Likewise.
71677         * include/signal.h: Likewise.
71678         * include/stdio.h: Likewise.
71679         * include/stdlib.h: Likewise.
71680         * include/string.h: Likewise.
71681         * include/sys/cdefs.h: Likewise.
71682         * include/sys/mman.h: Likewise.
71683         * include/sys/msg.h: Likewise.
71684         * include/sys/resource.h: Likewise.
71685         * include/sys/select.h: Likewise.
71686         * include/sys/socket.h: Likewise.
71687         * include/sys/stat.h: Likewise.
71688         * include/sys/statvfs.h: Likewise.
71689         * include/sys/time.h: Likewise.
71690         * include/sys/times.h: Likewise.
71691         * include/sys/uio.h: Likewise.
71692         * include/sys/utsname.h: Likewise.
71693         * include/sys/wait.h: Likewise.
71694         * include/termios.h: Likewise.
71695         * include/time.h: Likewise.
71696         * include/ulimit.h: Likewise.
71697         * include/unistd.h: Likewise.
71698         * include/utime.h: Likewise.
71699         * include/wchar.h: Likewise.
71700         * include/wctype.h: Likewise.
71701         * include/wordexp.h: Likewise.
71703         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71705         * time/time.h: TIME_UTC must be a macro.
71706         Make timespec_get available for ISO C11 only as well.
71708 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71710         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71711         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71713 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71715         * configure.in: Use -o not -a in test for unsupported multi-arch.
71717 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71719         * manual/texinfo.tex: Update to version 2012-01-19.16.
71721 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71723         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71725 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71727         [BZ #13738]
71728         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71729         * manual/fdl-1.3.texi: New file.
71730         * manual/fdl-1.1.texi: File removed.
71732         [BZ #13738]
71733         * manual/libc.texinfo (FDL_VERSION): New @set.
71734         Use it for mention of FDL in cover text.
71735         (Documentation License): Use it in @include file name.
71737 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71738             Roland McGrath  <roland@hack.frob.com>
71740         [BZ #5461]
71741         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71742         (not LONG_LONG_MAX and LONG_LONG_MIN.
71743         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71744         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71745         name.
71746         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71748 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71750         [BZ #2547]
71751         [BZ #11365]
71752         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71753         manipulate bits before adding and subtracting TWO23[sx].
71754         * math/libm-test.inc (nearbyint_test): Add more tests.
71756 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71758         [BZ #2548]
71759         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71760         bits before adding and subtracting TWO23[sx].
71761         * math/libm-test.inc (rint_test): Add more tests.
71762         (rint_test_tonearest): Likewise.
71763         (rint_test_towardzero): Likewise.
71764         (rint_test_downward): Likewise.
71765         (rint_test_upward: Likewise.
71767 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71769         [BZ #10110]
71770         * include/stdc-predef.h: New file.  Extracted from features.h.
71771         * include/features.h: Include stdc-predef.h.
71772         * Makefile (headers): Add stdc-predef.h.
71773         * CONFORMANCE (Compiler limitations): Update.
71775 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71777         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71779 2012-02-21  David S. Miller  <davem@davemloft.net>
71781         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71782         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71784 2012-02-20  David S. Miller  <davem@davemloft.net>
71786         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71787         using a normal save/restore sequence, rather than allocating a
71788         dummy stack frame just to store a frame pointer and restore.
71789         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71791 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71793         * manual/install.texi: Fix stray word in line-wrapped comment.
71795 2012-02-20  David S. Miller  <davem@davemloft.net>
71797         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71798         both binutils and gcc support GOTDATA.
71800         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71801         "rd %pc" in the PIC register setup sequences.
71803         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71804         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71805         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71806         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71807         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71808         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71809         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71810         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71812         (SYSCALL_ERROR_HANDLER): Likewise.
71813         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71814         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71815         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71816         (SYSCALL_ERROR_HANDLER): Likewise.
71818         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71819         (HAVE_GCC_GOTDATA): New.
71820         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71821         relocation support in both binutils and gcc.
71822         * sysdeps/sparc/elf/configure: Regenerate.
71824         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71825         * sysdeps/sparc/sparc32/elf/configure: Delete.
71826         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71827         * sysdeps/sparc/sparc64/elf/configure: Delete.
71828         * sysdeps/sparc/elf/configure.in: New file.
71829         * sysdeps/sparc/elf/configure: Generate.
71831         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71832         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71833         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71834         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71835         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71837 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71839         * manual/install.texi: Do not mention specific glibc version
71840         numbers.
71841         * manual/libc.texinfo (VERSION, UPDATED): Update.
71842         (@copying): Use @copyright{} and range of years.
71844 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71846         [BZ #13695]
71847         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71848         [crti.S not in sysdirs] (generated): Do not append.
71849         [crti.S not in sysdirs] (omit-deps): Likewise.
71850         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71851         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71852         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71853         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71854         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71855         Likewise.
71856         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71857         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71858         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71859         * csu/defs.awk: Remove file.
71860         * sysdeps/generic/initfini.c: Likewise.
71861         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71862         variable.
71863         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71864         Likewise.
71866 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71868         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71869         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71870         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71871         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71872         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71873         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71874         <bits/epoll.h>.
71875         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71876         (__EPOLL_PACKED): Define to empty if not defined by
71877         <bits/epoll.h>.
71878         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71880         bits/epoll.h.
71882 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71884         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71885         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71886         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71887         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71888         <bits/timerfd.h>.
71889         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71891         bits/timerfd.h.
71893 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71895         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71896         in C locale.
71897         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71898         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71899         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71902 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71904         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71905         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71907 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71909         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71910         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71911         defined.
71912         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71913         Likewise.
71914         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71915         entry for 2.16.
71917 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71919         * math/w_acos.c: Use non-signaling floating-point comparisons.
71920         * math/w_acosf.c: Likewise.
71921         * math/w_acosh.c: Likewise.
71922         * math/w_acoshf.c: Likewise.
71923         * math/w_acoshl.c: Likewise.
71924         * math/w_acosl.c: Likewise.
71925         * math/w_asin.c: Likewise.
71926         * math/w_asinf.c: Likewise.
71927         * math/w_asinl.c: Likewise.
71928         * math/w_atanh.c: Likewise.
71929         * math/w_atanhf.c: Likewise.
71930         * math/w_atanhl.c: Likewise.
71931         * math/w_exp2.c: Likewise.
71932         * math/w_exp2f.c: Likewise.
71933         * math/w_exp2l.c: Likewise.
71934         * math/w_j0.c: Likewise.
71935         * math/w_j0f.c: Likewise.
71936         * math/w_j0l.c: Likewise.
71937         * math/w_j1.c: Likewise.
71938         * math/w_j1f.c: Likewise.
71939         * math/w_j1l.c: Likewise.
71940         * math/w_jn.c: Likewise.
71941         * math/w_jnf.c: Likewise.
71942         * math/w_log.c: Likewise.
71943         * math/w_log10.c: Likewise.
71944         * math/w_log10f.c: Likewise.
71945         * math/w_log10l.c: Likewise.
71946         * math/w_log2.c: Likewise.
71947         * math/w_log2f.c: Likewise.
71948         * math/w_log2l.c: Likewise.
71949         * math/w_logf.c: Likewise.
71950         * math/w_logl.c: Likewise.
71951         * math/w_sqrt.c: Likewise.
71952         * math/w_sqrtf.c: Likewise.
71953         * math/w_sqrtl.c: Likewise.
71954         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71955         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71956         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71957         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71958         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71960 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71962         [BZ #9739]
71963         * manual/string.texi (strnlen): Use correct parameter name in
71964         equivalent expression.
71966 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71968         [BZ #11174]
71969         * manual/users.texi (seteuid): Consistently use neweuid for
71970         argument name.
71972 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71974         [BZ #13704]
71975         * manual/nss.texi (Services in the NSS configuration): Correct
71976         list of services in example configuration file.
71978 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71980         [BZ #11322]
71981         * manual/arith.texi: Remove statements about negative zero
71982         behaving identically to zero.
71984 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71986         [BZ #5993]
71987         * manual/install.texi: Do not document upgrading from libc5.
71989 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71991         [BZ #4596]
71992         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71994 2012-02-18  David S. Miller  <davem@davemloft.net>
71996         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71997         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71998         %o7 across the call.
71999         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72000         instead.
72001         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72002         SETUP_PIC_REG_LEAF.
72003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72004         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72005         * sysdeps/sparc/crtn.S: Likewise.
72007 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72009         * aout/Makefile: Remove.
72011 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72013         [BZ #13058]
72014         * manual/examples/argp-ex1.c (main): Format definition in GNU
72015         style.
72016         * manual/examples/argp-ex2.c (main): Likewise.
72017         * manual/examples/argp-ex3.c (main): Likewise.
72018         * manual/examples/argp-ex4.c (main): Likewise.
72019         * manual/examples/longopt.c (main): Use new-style prototype
72020         definition.
72021         * manual/examples/strncat.c (main): Specify return type and use
72022         (void) for arguments.
72023         * manual/examples/subopt.c (main): Use char **argv argument.
72025 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72027         [BZ #5077]
72028         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72029         rounding modes.
72031 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72033         [BZ #6907]
72034         * manual/string.texi (strchr): Change when strchrnul is
72035         recommended.
72037 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72039         [BZ #174]
72040         * manual/locale.texi (setlocale): Document LOCPATH.
72042 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72044         [BZ #10210]
72045         * manual/process.texi (execle): Move @dots{} before last argument.
72047 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72049         [BZ #12047]
72050         * manual/charset.texi (Generic Charset Conversion): Fix typo
72051         (LC_TYPE -> LC_CTYPE).
72053 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72055         [BZ #5805]
72056         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72057         (scalbnf): Likewise.
72058         (scalbnl): Likewise.
72059         (scalbln): Likewise.
72060         (scalblnf): Likewise.
72061         (scalblnl): Likewise.
72062         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72063         (vwarnx): Likewise.
72064         (verr): Likewise.
72065         (verrx): Likewise.
72066         * manual/filesys.texi (telldir): Use braces around return type.
72067         * manual/llio.texi (mmap): Add space after comma.
72068         (mmap64): Likewise.
72069         * manual/math.texi (jn): Use @var{} on parameter names.
72070         (jnf): Likewise.
72071         (jnl): Likewise.
72072         (yn): Likewise.
72073         (ynf): Likewise.
72074         (ynl): Likewise.
72075         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72076         line.
72077         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72078         "...".
72079         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72080         (sched_get_priority_max): Likewise.
72081         * manual/signal.texi (sigvec): Add space after comma.
72082         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72083         names.
72084         (if_indextoname): Likewise.
72085         (if_freenameindex): Likewise.
72086         (sendto): Use ',' instead of '.' in prototype.
72087         * manual/startup.texi (syscall): Use @dots{} instead of literal
72088         "...".
72089         * manual/stdio.texi (__fpending): Separate initial words of
72090         paragraph from @deftypefun line.
72091         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72092         "...".
72093         (vsyslog): Use @var{} on parameter names.
72094         * manual/terminal.texi (stty): Use @var{} on parameter names.
72095         * manual/users.texi (getutmp): Use @var{} on parameter names.
72096         (getutmpx): Likewise.
72098 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72100         [BZ #6884]
72101         * manual/stdio.texi (fopen): Fix typos in description of
72102         ",ccs=STRING".
72104 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72106         [BZ #4026]
72107         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72108         get clock_id definition.
72110 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72112         [BZ #4822]
72113         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72114         (madvise): Cast every argument to void on its own.
72116 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72118         [BZ #9902]
72119         * manual/startup.texi (Exit Status): Fix typo.
72121 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72123         [BZ #10140]
72124         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72125         * manual/examples/argp-ex2.c: Likewise.
72126         * manual/examples/argp-ex3.c: Likewise.
72128 2012-02-16  Richard Henderson  <rth@redhat.com>
72130         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72131         * sysdeps/s390/s390-32/initfini.c: Remove.
72132         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72133         * sysdeps/s390/s390-64/initfini.c: Remove.
72135 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72137         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72138         compiler output for sysdeps/generic/initfini.c.
72139         * sysdeps/sh/elf/initfini.c: Remove file.
72141 2012-02-16  David S. Miller  <davem@davemloft.net>
72143         [BZ #11494]
72144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72146         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72147         * sysdeps/sparc/crti.S: New file.
72148         * sysdeps/sparc/crtn.S: New file.
72149         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72150         * sysdeps/sparc/sparc64/Makefile: Likewise.
72152 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72154         [BZ #3335]
72155         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72157 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72159         [BZ #4822]
72160         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72162         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72163         (write, read, close): Likewise.
72164         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72166 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72168         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72169         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72170         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72171         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72172         <bits/signalfd.h>.
72173         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72175         bits/signalfd.h.
72177 2012-02-14  Marek Polacek  <polacek@redhat.com>
72179         * sysdeps/x86_64/crti.S: New file.
72180         * sysdeps/x86_64/crtn.S: New file.
72181         * sysdeps/x86_64/elf/initfini.c: Remove file.
72183 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72185         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72186         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72187         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72188         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72189         <bits/inotify.h>.
72190         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72192         bits/inotify.h.
72194 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72196         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72197         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72198         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72199         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72200         <bits/eventfd.h>.
72201         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72203         bits/eventfd.h.
72205 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72207         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72208         __feraiseexcept instead of feraiseexcept.
72210         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72211         nanosleep invocations.
72212         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72213         strings, and add error checking for a nanosleep invocations.
72215 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72217         Replace FSF snail mail address with URLs, as per GNU coding standards.
72218         Most of the snail mail addresses were wrong anyway, and omitting
72219         them makes the source code easier to maintain.  Almost all of the
72220         changes are to license notices and to locale LC_IDENTIFICATION
72221         addresses, except for this one:
72222         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72223         not its snail mail address.
72225 2012-02-09  Richard Henderson  <rth@twiddle.net>
72227         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72228         of kernel-features.h.
72230         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72232 2012-02-08  Marek Polacek  <polacek@redhat.com>
72234         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72235         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72236         * sysdeps/gnu/_G_config.h: Likewise.
72237         * sysdeps/generic/_G_config.h: Likewise.
72239 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72241         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72242         tests.
72243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72245         * sysdeps/powerpc/powerpc32/crti.S: New file.
72246         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72247         * sysdeps/powerpc/powerpc64/crti.S: New file.
72248         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72250         * Makeconfig (have-initfini): Don't set.
72251         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72252         * configure.in (nopic_initfini): Don't substitute.
72253         * config.h.in (HAVE_INITFINI): Don't #undef.
72254         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72255         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72257 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72259         Support crti.S and crtn.S provided directly by architectures.
72260         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72261         [crti.S in sysdirs] (omit-deps): Likewise.
72262         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72263         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72264         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72265         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72266         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72267         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72268         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72269         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72270         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72271         compiler output for sysdeps/generic/initfini.c.
72272         * sysdeps/i386/elf/Makefile: Remove file.
72273         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72275 2012-02-07  Marek Polacek  <polacek@redhat.com>
72277         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72278         * sysdeps/gnu/_G_config.h: Likewise.
72279         * sysdeps/mach/hurd/_G_config.h: Likewise.
72281 2012-02-07  Marek Polacek  <polacek@redhat.com>
72283         * math/Makefile (tests): Add tst-CMPLX2.
72284         * math/tst-CMPLX2.c: New file.
72286 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72288         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72290         * math/libm-test.inc (jn_test): Add missing L suffix.
72292 2012-02-06  Marek Polacek  <polacek@redhat.com>
72294         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72295         * sysdeps/i386/fpu/e_powf.S: Likewise.
72296         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72297         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72298         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72299         * sysdeps/i386/fpu/e_pow.S: Likewise.
72300         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72301         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72302         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72303         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72304         * sysdeps/i386/fpu/e_log2.S: Likewise.
72305         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72306         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72307         * sysdeps/i386/fpu/e_powl.S: Likewise.
72308         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72309         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72310         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72311         * sysdeps/i386/fpu/e_logl.S: Likewise.
72312         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72313         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72314         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72315         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72316         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72317         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72318         * sysdeps/i386/fpu/e_log.S: Likewise.
72319         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72320         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72321         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72322         * sysdeps/i386/fpu/e_logf.S: Likewise.
72323         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72324         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72325         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72326         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72327         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72328         * sysdeps/i386/fpu/e_log10.S: Likewise.
72329         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72330         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72331         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72332         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72333         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72334         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72335         * sysdeps/i386/asm-syntax.h: Likewise.
72336         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72337         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72338         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72339         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72340         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72341         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72342         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72343         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72344         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72345         * sysdeps/powerpc/sysdep.h: Likewise.
72346         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72347         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72349 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72351         [BZ #411]
72352         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72354 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72356         * sysdeps/i386/sysdep.h: Include <features.h>.
72357         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72358         version.
72360 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72362         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72363         Define.
72364         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72365         LOAD_PIC_REG_STR.
72367 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72369         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72370         (SETUP_PIC_REG): Use GET_PC_THUNK.
72371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72372         macro.
72374 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72376         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72377         for non-PIC compilation.
72378         (SETUP_PIC_REG): Add .p2align directive.
72379         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72380         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72381         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72382         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72383         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72384         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72385         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72386         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72387         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72388         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72389         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72390         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72391         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72392         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72393         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72394         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72395         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72396         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72397         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72398         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72399         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72400         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72401         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72402         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72403         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72404         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72405         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72406         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72407         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72408         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72409         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72410         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72411         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72412         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72413         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72414         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72415         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72416         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72417         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72418         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72419         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72421 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72423         * math/tst-CMPLX.c: Include <stdio.h>.
72425 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72427         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72428         float.
72429         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72430         * sysdeps/sparc/bits/mathdef.h: Likewise.
72432 2012-01-31  Marek Polacek  <polacek@redhat.com>
72434         * libio/libio.h: Don't define _PARAMS.
72435         * locale/programs/config.h: Don't define PARAMS.
72436         * stdlib/strtol_l.c: Likewise.
72437         (__strtol_l): Remove PARAMS from the prototype.
72439 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72441         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72442         names.  Just use the correct names.  Remove unnecessary wrapper
72443         functions.
72444         * malloc/arena.c: Likewise.
72445         * malloc/hooks.c: Likewise.
72447         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72448         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72449         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72451 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72453         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72454         into tail calls.
72455         (update_get_addr): New function.
72456         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72457         GET_ADDR_MODULE parameter.
72459 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72461         * crypt/cert.c: Remove __STDC__ conditionals.
72462         * crypt/crypt-entry.c: Likewise.
72463         * crypt/crypt_util.c: Likewise.
72464         * libio/filedoalloc.c: Likewise.
72465         * libio/fileops.c: Likewise.
72466         * libio/genops.c: Likewise.
72467         * libio/iofclose.c: Likewise.
72468         * libio/iofdopen.c: Likewise.
72469         * libio/iofopen.c: Likewise.
72470         * libio/iofopen64.c: Likewise.
72471         * libio/iogetdelim.c: Likewise.
72472         * libio/iopopen.c: Likewise.
72473         * libio/obprintf.c: Likewise.
72474         * libio/oldfileops.c: Likewise.
72475         * libio/oldiofclose.c: Likewise.
72476         * libio/oldiofdopen.c: Likewise.
72477         * libio/oldiofopen.c: Likewise.
72478         * libio/oldiopopen.c: Likewise.
72479         * libio/wfiledoalloc.c: Likewise.
72480         * libio/wgenops.c: Likewise.
72481         * locale/programs/xmalloc.c: Likewise.
72482         * misc/syslog.c: Likewise.
72483         * stdio-common/xbug.c: Likewise.
72484         * string/memchr.c: Likewise.
72485         * string/memcmp.c: Likewise.
72486         * string/memrchr.c: Likewise.
72487         * string/rawmemchr.c: Likewise.
72488         * sysdeps/posix/getcwd.c: Likewise.
72489         * time/strftime_l.c: Likewise.
72491 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72493         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72494         * config.make.in (config-cflags-sse2avx): Define.
72495         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72496         Fix typo.
72498 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72500         * scripts/config.guess: Update from upstream config git repository.
72501         * scripts/config.sub: Likewise.
72503 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72505         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72506         (EM_NUM): Update.
72507         (R_TILEPRO_*, R_TILEGX_*): New macros.
72509         * scripts/firstversions.awk: Fix bug in version range handling.
72511         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72513         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72515         * include/sys/epoll.h: New file.
72516         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72517         libc_hidden_def.
72519 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72521         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72522         Avoid unnecessary __WORDSIZE == 64 test.
72523         (fmaxf): Use VEX format if possible.
72524         (fmax): Likewise.
72525         (fminf): Likewise.
72526         (fmin): Likewise.
72528         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72529         * math/math_private.h: Remove libc_fegetround* and
72530         libc_fesetround*.
72531         * sysdeps/i386/configure.in: Check for -msse2avx.
72532         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72533         also if SSE2AVX is defined.
72534         Remove libc_fegetround* and libc_fesetround*.
72535         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72536         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72537         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72538         of HAS_YMM_USABLE.
72539         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72540         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72541         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72542         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72543         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72545         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72547 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72549         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72550         size is not set.
72551         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72553 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72555         [BZ #13618]
72556         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72557         relocation.
72558         * Makeconfig (libm): Define.
72559         * elf/Makefile: Add rules to build and run tst-relsort1.
72560         * elf/tst-relsort1.c: New file.
72561         * elf/tst-relsort1mod1.c: New file.
72562         * elf/tst-relsort1mod2.c: New file.
72564 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72566         * math/s_ldexp.c: Remove __STDC__ conditionals.
72567         * math/s_ldexpf.c: Likewise.
72568         * math/s_ldexpl.c: Likewise.
72569         * math/s_nextafter.c: Likewise.
72570         * math/s_nexttowardf.c: Likewise.
72571         * math/s_significand.c: Likewise.
72572         * math/s_significandf.c: Likewise.
72573         * math/s_significandl.c: Likewise.
72574         * math/w_jnl.c: Likewise.
72575         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72576         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72577         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72578         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72579         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72580         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72581         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72582         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72583         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72584         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72585         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72586         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72587         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72588         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72589         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72590         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72591         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72592         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72594         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72595         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72596         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72597         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72598         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72599         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72600         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72601         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72602         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72603         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72604         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72605         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72606         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72607         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72608         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72609         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72610         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72611         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72612         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72613         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72614         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72615         * sysdeps/ieee754/k_standard.c: Likewise.
72616         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72617         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72618         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72619         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72620         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72621         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72622         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72623         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72624         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72625         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72626         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72627         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72628         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72629         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72630         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72631         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72632         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72633         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72634         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72635         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72636         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72637         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72638         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72639         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72640         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72641         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72642         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72643         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72644         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72645         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72646         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72647         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72648         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72649         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72650         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72651         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72652         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72653         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72654         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72655         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72656         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72658         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72659         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72660         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72661         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72662         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72663         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72664         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72665         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72666         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72667         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72668         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72669         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72670         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72671         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72672         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72673         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72674         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72675         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72676         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72677         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72678         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72679         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72680         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72681         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72682         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72683         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72684         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72685         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72686         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72687         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72688         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72689         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72690         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72691         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72692         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72693         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72694         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72695         * sysdeps/ieee754/s_matherr.c: Likewise.
72696         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72697         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72699         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72701 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72703         * crypt/md5.h: Remove __STDC__ conditionals.
72704         * libio/libioP.h: Likewise.
72705         * locale/programs/config.h: Likewise.
72706         * sysdeps/generic/sysdep.h: Likewise.
72707         * sysdeps/i386/asm-syntax.h: Likewise.
72708         * sysdeps/s390/asm-syntax.h: Likewise.
72709         * sysdeps/unix/sysdep.h: Likewise.
72710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72713 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72715         * libio/libio.h: Remove __STDC__ conditionals.
72716         * malloc/obstack.h: Likewise.
72717         * math/complex.h: Likewise.
72718         * math/math.h: Likewise.
72719         * sysdeps/generic/_G_config.h: Likewise.
72720         * sysdeps/gnu/_G_config.h: Likewise.
72721         * sysdeps/mach/hurd/_G_config.h: Likewise.
72722         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72723         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72724         * sysdeps/sparc/bits/mathdef.h: Likewise.
72726 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72728         [BZ #13583]
72729         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72730         Clean up HAS_* macros.
72731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72732         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72733         possible.
72734         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72735         HAS_AVX.
72736         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72737         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72738         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72739         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72740         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72742 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72744         * elf/tst-unique3.cc (gets): Remove declaration.
72745         * elf/tst-unique3lib.cc (gets): Likewise.
72746         * elf/tst-unique3lib2.cc (gets): Likewise.
72747         * elf/tst-unique4.cc (gets): Likewise.
72749 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72751         * include/stdio.h: Add C++ protection.  Add gets declarations and
72752         definitions.
72753         * debug/tst-chk1.c: Don't declare gets here.
72754         * stdio-common/tst-gets.c: Likewise.
72756 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72758         * posix/glob: Remove directory.
72760 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72762         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72764 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72766         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72767         of the non-standard EPFNOSUPPORT.
72769 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72771         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72772         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72773         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72775 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72777         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72779 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72781         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72782         transient errors.
72783         * nscd/grpcache.c (cache_addgr): Likewise.
72784         * nscd/hstcache.c (cache_addhst): Likewise.
72785         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72786         * nscd/pwdcache.c (cache_addpw): Likewise.
72787         * nscd/servicescache.c (cache_addserv): Likewise.
72789 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72791         * malloc/malloc.c: Various cleanups.
72792         * malloc/hooks.c: Likewise.
72794         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72795         * stdlib/bug-fmtmsg1.c: New file.
72797         * stdlib/fmtmsg.c (init): Add missing unlock.
72798         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72800 2012-01-12  Marek Polacek  <polacek@redhat.com>
72802         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72803         and _GNU_SOURCE.
72805 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72807         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72808         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72809         macro to ensure uniqueness of label name.
72810         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72811         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72813 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72815         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72817         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72818         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72822 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72824         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72826         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72827         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72828         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72830         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72832         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72833         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72834         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72837         * math/bits/math-finite.h: Add ldexp support.
72839 2012-01-10  Marek Polacek  <polacek@redhat.com>
72841         * locale/programs/localedef.h (show_archive_content): Add noreturn
72842         attribute.
72844 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72846         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72848 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72850         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72852         * io/Makefile (headers): Add bits/poll2.h.
72854 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72857         typo #include statement.
72859 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72861         * include/sys/cdefs.h: Define __attribute_alloc_size.
72862         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72863         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72864         * elf/pldd.c: Likewise.
72865         * iconv/iconv_charmap.c: Likewise.
72866         * iconv/iconvconfig.c: Likewise.
72867         * iconv/strtab.c: Likewise.
72868         * locale/programs/locale.c: Likewise.
72869         * locale/programs/localedef.h: Likewise.
72870         * locale/programs/simple-hash.c: Likewise.
72871         * nscd/nscd.h: Likewise.
72872         * nss/makedb.c: Likewise.
72873         * sysdeps/generic/ldconfig.h: Likewise.
72874         * locale/programs/localedef.c: Remove xmalloc prototype.
72875         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72877 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72879         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72880         appropriate.
72882 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72884         * math/Makefile (tests): Add tst-CMPLX.
72885         * math/tst-CMPLX.c: New file.
72887         * math/complex.h (CMPLXL): Fix typo.
72889         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72890         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72891         GLIBC_2.16.
72892         * debug/tst-chk1.c: Add poll and ppoll tests.
72893         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72894         * include/sys/poll.h: Add hidden proto for ppoll.
72895         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72896         * sysdeps/mach/hurd/ppoll.c: Likewise.
72897         * io/ppoll.c: Likewise.
72898         * debug/poll_chk.c: New file.
72899         * debug/ppoll_chk.c: New file.
72900         * include/bits/poll2.h: New file.
72901         * io/bits/poll2.h: New file.
72903         [BZ #1350]
72904         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72906         * configure.in: static is always set to yes.  Remove.
72907         * config.make.in: Don't set build-static.
72908         * Makeconfig: Remove use of build-static.
72909         * dlfcn/Makefile: Likewise.
72910         * elf/Makefile: Likewise.
72911         * math/Makefile: Likewise.
72912         * misc/Makefile: Likewise.
72913         * nptl/Makefile: Likewise.
72914         * sysdeps/mach/hurd/Makefile: Likewise.
72916         * configure.in: PWD_P is not used anymore.
72917         * config.make.in: Remove PWD_P entry.
72919         * configure.in: Remove last remnants of RANLIB.
72920         No need to check for signed size_t anymore.
72921         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72922         and IA-64.
72923         Remove __builtin_expect test because we require at least gcc 3.4.
72924         * aclocal.m4: Likewise.
72926         * wcsmbs/mbrtoc16.c: Implement using towc function.
72927         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72928         * wcsmbs/wcsmbsload.c: Likewise.
72929         * iconv/gconv_simple.c: Likewise.
72930         * iconv/gconv_int.h: Likewise.
72931         * iconv/gconv_builtin.h: Likewise.
72932         * iconv/iconv_prog.c: Remove CHAR16 handling.
72934         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72936         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72938         * configure.in: Remove --with-elf and --enable-bounded options.
72939         Dont set base_machine for ia64.  More non-ELF conditions removed.
72940         Remove testing and setting of leading underscore information.
72941         * config.make.in (build-bounded): Set to no.
72942         * config.h.in: Remove NO_UNDERSCORES entry.
72943         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72944         them.
72945         * csu/start.c: Remove !NO_UNDERSCORE code.
72946         * locale/localeinfo.h: Likewise.
72947         * sysdeps/generic/machine-gmon.h: Likewise.
72948         * sysdeps/generic/sysdep.h: Likewise.
72949         * sysdeps/i386/sysdep.h: Likewise.
72950         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72951         * sysdeps/mach/sysdep.h: Likewise.
72952         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72953         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72954         * sysdeps/sh/sysdep.h: Likewise.
72955         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72956         * sysdeps/unix/i386/sysdep.S: Likewise.
72957         * sysdeps/unix/sparc/start.c: Likewise.
72958         * sysdeps/unix/sparc/sysdep.S: Likewise.
72959         * sysdeps/unix/sparc/sysdep.h: Likewise.
72960         * sysdeps/unix/start.c: Likewise.
72961         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72962         * sysdeps/x86_64/sysdep.h: Likewise.
72964 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72966         [BZ #13553]
72967         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72968         for non-gcc.
72969         * argp/argp-fmtstream.h: Use const instead __const.
72970         * argp/argp.h: Likewise.
72971         * assert/assert.h: Likewise.
72972         * bits/fenv.h: Likewise.
72973         * bits/sched.h: Likewise.
72974         * bits/sigset.h: Likewise.
72975         * bits/sigthread.h: Likewise.
72976         * catgets/nl_types.h: Likewise.
72977         * conform/data/pthread.h-data: Likewise.
72978         * crypt/crypt-private.h: Likewise.
72979         * crypt/crypt.h: Likewise.
72980         * crypt/crypt_util.c: Likewise.
72981         * ctype/ctype.h: Likewise.
72982         * debug/execinfo.h: Likewise.
72983         * debug/mbsnrtowcs_chk.c: Likewise.
72984         * debug/mbsrtowcs_chk.c: Likewise.
72985         * debug/wcsnrtombs_chk.c: Likewise.
72986         * debug/wcsrtombs_chk.c: Likewise.
72987         * debug/wcstombs_chk.c: Likewise.
72988         * dirent/dirent.h: Likewise.
72989         * dlfcn/dlfcn.h: Likewise.
72990         * elf/neededtest4.c: Likewise.
72991         * grp/grp.h: Likewise.
72992         * gshadow/gshadow.h: Likewise.
72993         * iconv/gconv.h: Likewise.
72994         * iconv/gconv_int.h: Likewise.
72995         * iconv/gconv_simple.c: Likewise.
72996         * iconv/iconv.h: Likewise.
72997         * iconv/loop.c: Likewise.
72998         * iconv/skeleton.c: Likewise.
72999         * include/aio.h: Likewise.
73000         * include/aliases.h: Likewise.
73001         * include/argz.h: Likewise.
73002         * include/arpa/inet.h: Likewise.
73003         * include/assert.h: Likewise.
73004         * include/dirent.h: Likewise.
73005         * include/dlfcn.h: Likewise.
73006         * include/execinfo.h: Likewise.
73007         * include/fcntl.h: Likewise.
73008         * include/fenv.h: Likewise.
73009         * include/glob.h: Likewise.
73010         * include/grp.h: Likewise.
73011         * include/libintl.h: Likewise.
73012         * include/mntent.h: Likewise.
73013         * include/netdb.h: Likewise.
73014         * include/pwd.h: Likewise.
73015         * include/rpc/netdb.h: Likewise.
73016         * include/sched.h: Likewise.
73017         * include/search.h: Likewise.
73018         * include/shadow.h: Likewise.
73019         * include/signal.h: Likewise.
73020         * include/stdio.h: Likewise.
73021         * include/stdlib.h: Likewise.
73022         * include/string.h: Likewise.
73023         * include/sys/socket.h: Likewise.
73024         * include/sys/stat.h: Likewise.
73025         * include/sys/statfs.h: Likewise.
73026         * include/sys/statvfs.h: Likewise.
73027         * include/sys/syslog.h: Likewise.
73028         * include/sys/time.h: Likewise.
73029         * include/sys/uio.h: Likewise.
73030         * include/time.h: Likewise.
73031         * include/unistd.h: Likewise.
73032         * include/utmp.h: Likewise.
73033         * include/wchar.h: Likewise.
73034         * include/wctype.h: Likewise.
73035         * inet/aliases.h: Likewise.
73036         * inet/arpa/inet.h: Likewise.
73037         * inet/netinet/ether.h: Likewise.
73038         * inet/netinet/in.h: Likewise.
73039         * intl/libintl.h: Likewise.
73040         * io/bits/fcntl2.h: Likewise.
73041         * io/fcntl.h: Likewise.
73042         * io/ftw.h: Likewise.
73043         * io/sys/poll.h: Likewise.
73044         * io/sys/stat.h: Likewise.
73045         * io/sys/statfs.h: Likewise.
73046         * io/sys/statvfs.h: Likewise.
73047         * io/utime.h: Likewise.
73048         * libio/bits/stdio.h: Likewise.
73049         * libio/bits/stdio2.h: Likewise.
73050         * libio/libio.h: Likewise.
73051         * libio/libioP.h: Likewise.
73052         * libio/stdio.h: Likewise.
73053         * locale/lc-ctype.c: Likewise.
73054         * locale/locale.h: Likewise.
73055         * login/utmp.h: Likewise.
73056         * malloc/arena.c: Likewise.
73057         * malloc/malloc.c: Likewise.
73058         * malloc/malloc.h: Likewise.
73059         * malloc/mcheck.c: Likewise.
73060         * malloc/mtrace.c: Likewise.
73061         * math/bits/mathcalls.h: Likewise.
73062         * math/fenv.h: Likewise.
73063         * math/math_private.h: Likewise.
73064         * misc/bits/error.h: Likewise.
73065         * misc/bits/syslog.h: Likewise.
73066         * misc/err.h: Likewise.
73067         * misc/error.h: Likewise.
73068         * misc/fstab.h: Likewise.
73069         * misc/mntent.h: Likewise.
73070         * misc/regexp.h: Likewise.
73071         * misc/search.h: Likewise.
73072         * misc/sgtty.h: Likewise.
73073         * misc/sys/mman.h: Likewise.
73074         * misc/sys/syslog.h: Likewise.
73075         * misc/sys/uio.h: Likewise.
73076         * misc/sys/xattr.h: Likewise.
73077         * misc/ttyent.h: Likewise.
73078         * nis/rpcsvc/ypclnt.h: Likewise.
73079         * nss/nss.h: Likewise.
73080         * posix/bits/unistd.h: Likewise.
73081         * posix/fnmatch.h: Likewise.
73082         * posix/glob.h: Likewise.
73083         * posix/sched.h: Likewise.
73084         * posix/spawn.h: Likewise.
73085         * posix/sys/wait.h: Likewise.
73086         * posix/unistd.h: Likewise.
73087         * posix/wordexp.h: Likewise.
73088         * pwd/pwd.h: Likewise.
73089         * resolv/netdb.h: Likewise.
73090         * resource/sys/resource.h: Likewise.
73091         * rt/aio.h: Likewise.
73092         * rt/bits/mqueue2.h: Likewise.
73093         * rt/mqueue.h: Likewise.
73094         * shadow/shadow.h: Likewise.
73095         * signal/signal.h: Likewise.
73096         * socket/send.c: Likewise.
73097         * socket/sendto.c: Likewise.
73098         * socket/sys/socket.h: Likewise.
73099         * stdio-common/printf.h: Likewise.
73100         * stdlib/bits/stdlib.h: Likewise.
73101         * stdlib/fmtmsg.h: Likewise.
73102         * stdlib/monetary.h: Likewise.
73103         * stdlib/stdlib.h: Likewise.
73104         * stdlib/ucontext.h: Likewise.
73105         * streams/stropts.h: Likewise.
73106         * string/argz.h: Likewise.
73107         * string/bits/string2.h: Likewise.
73108         * string/string.h: Likewise.
73109         * string/strings.h: Likewise.
73110         * sunrpc/rpc/auth.h: Likewise.
73111         * sunrpc/rpc/auth_des.h: Likewise.
73112         * sunrpc/rpc/clnt.h: Likewise.
73113         * sunrpc/rpc/netdb.h: Likewise.
73114         * sunrpc/rpc/pmap_clnt.h: Likewise.
73115         * sunrpc/rpc/xdr.h: Likewise.
73116         * sysdeps/generic/inttypes.h: Likewise.
73117         * sysdeps/generic/net/if.h: Likewise.
73118         * sysdeps/generic/sys/swap.h: Likewise.
73119         * sysdeps/gnu/net/if.h: Likewise.
73120         * sysdeps/gnu/utmpx.h: Likewise.
73121         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73122         * sysdeps/i386/i486/bits/string.h: Likewise.
73123         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73124         * sysdeps/s390/bits/string.h: Likewise.
73125         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73126         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73127         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73128         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73129         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73130         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73131         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73132         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73133         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73134         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73135         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73136         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73137         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73138         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73139         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73140         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73141         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73142         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73143         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73144         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73145         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73146         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73147         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73148         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73149         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73150         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73151         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73152         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73153         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73154         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73155         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73156         * sysvipc/sys/ipc.h: Likewise.
73157         * sysvipc/sys/msg.h: Likewise.
73158         * sysvipc/sys/sem.h: Likewise.
73159         * sysvipc/sys/shm.h: Likewise.
73160         * termios/termios.h: Likewise.
73161         * time/sys/time.h: Likewise.
73162         * time/time.h: Likewise.
73163         * wcsmbs/bits/wchar2.h: Likewise.
73164         * wcsmbs/uchar.h: Likewise.
73165         * wcsmbs/wchar.h: Likewise.
73166         * wctype/wctype.h: Likewise.
73168         [BZ #13551]
73169         * Makeconfig: Remove all but ELF support including AIX support.
73170         * Makerules: Likewise.
73171         * config.h.in: Likewise.
73172         * config.make.in: Likewise.
73173         * configure: Likewise.
73174         * configure.in: Likewise.
73175         * csu/Makefile: Likewise.
73176         * csu/version.c: Likewise.
73177         * debug/Makefile: Likewise.
73178         * dlfcn/Makefile: Likewise.
73179         * elf/Makefile: Likewise.
73180         * extra-lib.mk: Likewise.
73181         * iconv/Makefile: Likewise.
73182         * include/libc-symbols.h: Likewise.
73183         * include/shlib-compat.h: Likewise.
73184         * resolv/Makefile: Likewise.
73185         * resolv/res_libc.c: Likewise.
73186         * rt/Makefile: Likewise.
73187         * sysdeps/i386/asm-syntax.h: Likewise.
73188         * sysdeps/i386/sysdep.h: Likewise.
73189         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73190         * sysdeps/mach/sysdep.h: Likewise.
73191         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73192         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73193         * sysdeps/s390/asm-syntax.h: Likewise.
73194         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73195         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73196         * sysdeps/sh/sysdep.h: Likewise.
73197         * sysdeps/unix/sparc/sysdep.h: Likewise.
73198         * sysdeps/wordsize-32/divdi3.c: Likewise.
73199         * sysdeps/x86_64/sysdep.h: Likewise.
73201         * argp/Versions: Remove _argp_unlock_xxx.
73203         [BZ #13559]
73204         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73205         * abilist/libBrokenLocale.abilist: Likewise.
73206         * abilist/libanl.abilist: Likewise.
73207         * abilist/libc.abilist: Likewise.
73208         * abilist/libcrypt.abilist: Likewise.
73209         * abilist/libdl.abilist: Likewise.
73210         * abilist/libm.abilist: Likewise.
73211         * abilist/libnsl.abilist: Likewise.
73212         * abilist/libpthread.abilist: Likewise.
73213         * abilist/libresolv.abilist: Likewise.
73214         * abilist/librt.abilist: Likewise.
73215         * abilist/libthread_db.abilist: Likewise.
73216         * abilist/libutil.abilist: Likewise.
73217         * abilist/libnss_db.abilist: New file.
73219         * scripts/abilist.awk: Add support for indirect functions.
73221         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73223         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73225         * shlib-versions: Remove entries for ports architectures.
73227         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73228         files in ports.
73229         * elf/stackguard-macros.h: Remove support for IA-64.
73230         * elf/tst-auditmod1.c: Likewise.
73231         * sysdeps/generic/ldsodefs.h: Likewise.
73233         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73234         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73235         configure files.
73237         [BZ #13552]
73238         * configure.in: Remove --enable-omitfp support.
73239         * FAQ.in: Adjust.
73240         * config.make.in: Likewise.
73241         * Makeconfig: Likewise.
73242         * manual/install.texi: Likewise.
73244         In case anyone cares, the IA-64 architecture could move to ports.
73245         * sysdeps/ia64/*: Removed.
73246         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73247         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73249         [BZ #13555]
73250         * configure.in: Remove entries for unsupported architectures.
73252         [BZ #13533]
73253         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73254         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73255         routines.
73256         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73257         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73258         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73259         fall back to using wcrtomb.
73260         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73261         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73262         renaming.
73263         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73264         * wcsmbs/tst-c16c32-1.c: New file.
73266         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73267         local variable.
73269         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73271         * elf/tst-unique3.cc: Add explicit declaration of gets.
73272         * elf/tst-unique3lib.cc: Likewise.
73273         * elf/tst-unique3lib2.cc: Likewise.
73274         * elf/tst-unique4.cc: Likewise.
73276         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73278 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73280         [BZ #13566]
73281         * assert/assert.h (static_assert): Don't define for C++.
73282         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73283         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73285 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73287         * iconv/loop.c (single loop): Fix assertion in storing of
73288         remaining bytes.
73290         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73292 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73294         * posix/getconf.c: Update copyright year.
73295         * nss/getent.c: Likewise.
73296         * nss/makedb.c: Likewise.
73297         * iconv/iconvconfig.c: Likewise.
73298         * iconv/iconv_prog.c: Likewise.
73299         * elf/ldconfig.c: Likewise.
73300         * elf/pldd.c: Likewise.
73301         * elf/sotruss.ksh: Likewise.
73302         * catgets/gencat.c: Likewise.
73303         * csu/version.c: Likewise.
73304         * elf/ldd.bash.in: Likewise.
73305         * elf/sprof.c (print_version): Likewise.
73306         * locale/programs/locale.c: Likewise.
73307         * locale/programs/localedef.c: Likewise.
73308         * login/programs/pt_chown.c: Likewise.
73309         * nscd/nscd.c (print_version): Likewise.
73310         * debug/xtrace.sh: Likewise.
73311         * malloc/memusage.sh: Likewise.
73312         * malloc/mtrace.pl: Likewise.
73313         * debug/catchsegv.sh: Likewise.
73315 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73317         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73318         pure attribute.
73320 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73322         [BZ #13533]
73323         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73324         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73325         transformations.
73326         * iconv/gconv_int.h: Likewise.
73327         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73328         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73329         from libc for GLIBC_2.16.
73330         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73331         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73332         * wcsmbs/uchar.h: Really define mbstate_t.
73333         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73334         * wcsmbs/c16rtomb.c: New file.
73335         * wcsmbs/mbrtoc16.c: New file.
73336         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73337         for C/POSIX locale.
73338         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73339         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73341         * wcsmbs/wchar.h: Add missing __restrict.
73343 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73345         [BZ #13532]
73346         * time/Makefile (routines): Add timespec_get.
73347         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73348         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73349         timespec for ISO C11.
73350         * time/timespec_get.c: New file.
73351         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73352         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73354         [BZ #13531]
73355         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73356         * stdlib/stdlib.h: Declare aligned_alloc.
73357         * Versions.def: Add GLIBC_2.16 for libc.
73358         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73360         [BZ 13527]
73361         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73362         ISO C11.
73364         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73365         code.
73367         [BZ #13528]
73368         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73370         [BZ #13529]
73371         * assert/assert.h (static_assert): Define.
73373         * version.h: Update for 2.16 development version.
73375         [BZ #13526]
73376         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73377         _ISOC11_SOURCE.
73379         * version.h (RELEASE): Bump for 2.15 release.
73380         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73382         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73383         Patch by Marek Polacek <mpolacek@redhat.com>.
73385         * bits/byteswap.h: Protect long long constants with __extension__.
73386         * sysdeps/i386/bits/byteswap.h: Likewise.
73387         * sysdeps/ia64/bits/byteswap.h: Likewise.
73388         * sysdeps/s390/bits/byteswap.h: Likewise.
73389         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73391 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73393         [BZ #13540]
73394         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73395         destination buffer.
73396         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73398 2011-12-23  Marek Polacek  <polacek@redhat.com>
73400         * elf/dl-addr.c (determine_info): Add inline keyword.
73401         * elf/tst-auditmod4b.c (check_avx): Likewise.
73402         * elf/tst-auditmod6b.c (check_avx): Likewise.
73403         * elf/tst-auditmod6c.c (check_avx): Likewise.
73404         * elf/tst-auditmod7b.c (check_avx): Likewise.
73406 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73408         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73409         !__SSE_MATH__.
73411 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73413         [BZ #13540]
73414         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73415         processing for last bytes.
73417 2011-08-06  Bruno Haible  <bruno@clisp.org>
73419         [BZ #13061]
73420         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73421         U+0385, not to U+1FEE.
73423         [BZ #13062]
73424         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73425         entry for U+00A5 U+0301.
73427 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73429         [BZ #13166]
73430         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73431         buffer for the output is too small.
73433         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73434         optimization.
73436         [BZ #13185]
73437         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73438         SSE flags if possible.
73440 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73442         [BZ #13540]
73443         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73444         processing for last bytes.
73446 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73448         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73449         (syscall-list-default-options, syscall-list-default-condition)
73450         (syscall-list-includes): Define.
73451         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73452         list of ABIs and options and #if conditions for each ABI.  Do not
73453         handle common syscalls between ABIs specially.
73454         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73455         Remove.
73456         (syscall-list-variants, syscall-list-32bit-options)
73457         (syscall-list-32bit-condition, syscall-list-64bit-options)
73458         (syscall-list-64bit-condition): Define.
73459         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73460         (syscall-list-variants, syscall-list-32bit-options)
73461         (syscall-list-32bit-condition, syscall-list-64bit-options)
73462         (syscall-list-64bit-condition): Define.
73463         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73464         Remove.
73465         (syscall-list-variants, syscall-list-32bit-options)
73466         (syscall-list-32bit-condition, syscall-list-64bit-options)
73467         (syscall-list-64bit-condition): Define.
73468         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73469         Remove.
73470         (syscall-list-variants, syscall-list-32bit-options)
73471         (syscall-list-32bit-condition, syscall-list-64bit-options)
73472         (syscall-list-64bit-condition): Define.
73474 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73476         * locale/iso-639.def: Add brx entry.
73478         [BZ #13328]
73479         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73480         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73482         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73483         __feraiseexcept_renamed.
73485 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73487         [BZ #13538]
73488         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73489         EPOLLET with unsigned values.
73490         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73491         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73493         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73494         to large cancellation.
73495         * math/s_cacoshf.c: Likewise.
73496         * math/s_cacoshl.c: Likewise.
73498 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73500         [BZ #13305]
73501         [BZ #12786]
73502         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73503         * math/s_cacoshf.c: Likewise.
73504         * math/s_cacoshl.c: Likewise.
73506 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73508         [BZ #13439]
73509         * iconv/gconv.h: Define __GCONV_SWAP.
73510         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73511         * iconvdata/utf-16.c: Likewise.
73512         * iconvdata/utf-32.c: Likewise.
73514 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73516         [BZ #13524]
73517         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73518         numerator after shifting it by one limb.
73520 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73522         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73523         under [__USE_EXTERN_INLINES].
73525 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73527         [BZ #13446]
73528         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73530 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73532         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73533         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73534         optimized code.
73535         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73536         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73537         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73538         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73539         for strncasecmp/strncasecmp_l compilation.
73540         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73541         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73543 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73545         [BZ #13484]
73546         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73547         of __asm__.
73549 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73551         [BZ #13506]
73552         * time/tzfile.c (__tzfile_read): Check values from file header.
73554 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73556         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73557         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73558         * powerpc/powerpc32/dl-start.S: Likewise.
73559         * powerpc/powerpc32/elf/start.S: Likewise.
73560         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73561         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73562         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73563         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73564         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73565         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73566         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73567         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73568         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73569         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73570         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73571         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73572         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73573         * powerpc/powerpc32/memset.S: Likewise.
73574         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73575         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73576         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73577         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73578         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73579         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73580         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73581         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73582         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73583         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73584         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73585         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73586         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73588 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73590         * math/libm-test.inc: Added more nearbyint tests.
73591         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73592         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73593         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73596 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73598         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73599         FD_CLOEXEC.
73601 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73603         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73604         Add wcscpy-ssse3 wcscpy-c.
73605         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73606         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73607         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73608         * sysdeps/x86_64/wcschr.S: New file.
73609         * sysdeps/x86_64/wcsrchr.S: New file.
73610         * string/test-strcmp.c: Remove checking of wcscmp function for
73611         wrong alignments.
73612         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73613         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73614         wcsrchr-sse2 wcsrchr-c.
73615         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73616         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73617         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73618         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73619         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73620         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73621         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73622         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73623         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73624         * wcsmbc/wcschr.c (WCSCHR): New macro.
73626 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73628         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73629         * wcsmbs/test-wcsrchr.c: New file.
73630         * string/test-strrchr.c: Add wcsrchr support.
73631         (WIDE): New macro.
73632         * wcsmbs/test-wcscpy.c: New file.
73633         * string/test-strcpy.c: Add wcscpy support.
73634         (WIDE): New macro.
73636 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73638         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73639         the inner loop.
73641 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73643         [BZ #13472]
73644         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73646 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73648         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73649         Minor optimizations.
73651         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73652         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73653         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73655 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73657         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73658         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73659         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73660         for gcc to avoid warnings.
73661         * inet/Makefile (tests): Add tst-checks.
73662         * inet/tst-checks.c: New file.
73664         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73665         warning.
73667         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73668         __wmemcmp_sse2.
73670         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73671         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73673         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73675 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73677         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73678         problem.
73680         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73682 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73684         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73685         conditional on GCC version.
73686         (__arch_compare_and_exchange_val_8_acq)
73687         (__arch_compare_and_exchange_val_16_acq)
73688         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73689         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73690         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73692 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73694         * sysdeps/sh/backtrace.c: New file.
73696 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73698         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73699         parenthesis.
73701 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73703         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73704         falling back to utime.
73706 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73708         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73709         expectations for float.
73711 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73713         * locale/weight.h (findidx): Add parameter len.
73714         * locale/weightwc.h (findidx): Likewise.
73715         * posix/fnmatch_loop.c (FCT): Adjust caller.
73716         * posix/regcomp.c (build_equiv_class): Likewise.
73717         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73718         * posix/regexec.c (check_node_accept_bytes): Likewise.
73719         * string/strcoll_l.c (STRCOLL): Likewise.
73720         * string/strxfrm_l.c (STRXFRM): Likewise.
73722 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73724         * Makefile.in: Remove CVSOPT handling.
73725         * configure.in: Remove use of AC_REVISION.
73726         * iconvdata/Makefile (distribute): No need to filter out CVS.
73727         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73728         handling.
73730 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73733         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73734         [USE_AS_STRNCASECMP_L]: Likewise.
73735         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73736         NO_TLS_DIRECT_SEG_REFS.
73737         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73738         Fix argument offsets for non-PIC.
73739         [USE_AS_STRNCASECMP_L]: Likewise.
73740         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73741         NO_TLS_DIRECT_SEG_REFS.
73743 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73745         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73746         O_CLOEXEC.
73747         * locale/loadlocale.c (_nl_load_locale): Likewise.
73749 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73751         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73752         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73753         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73754         (SYSCALL_GETTIME): Set errno on error.
73756         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73757         count references to noai6ai_cached.
73759 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73761         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73763         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73764         FD_CLOEXEC for /proc/self/maps.
73766         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73767         FD_CLOEXEC for /proc/meminfo.
73769         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73770         gai.conf.
73772         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73773         FD_CLOEXEC for given file.
73775         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73777         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73778         FD_CLOEXEC for /etc/hosts.
73779         (_gethtent): Likewise.
73781         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73783         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73784         cancellation and set FD_CLOEXEC for /etc/netgroup.
73786         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73787         reading /etc/publickey.
73789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73790         allow cancellation when reading /etc/group.
73792         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73793         cancellation.
73794         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73796         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73797         when using data file.
73799         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73801         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73802         (write_nis_obj): Use "c" and "e" in fopen.
73804         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73806         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73808         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73810         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73812         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73813         locale.alias.
73815         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73817         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73819         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73821         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73822         file parsing and set FD_CLOEXEC.
73824 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73826         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73828 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73830         * malloc/arena.c (arena_get2): Don't call reused_arena when
73831         _int_new_arena failed.
73833 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73835         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73836         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73837         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73838         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73839         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73840         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73841         to compile strcasecmp and strncasecmp.
73842         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73843         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73847 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73849         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73850         locale-defines.sym to gen-as-const-headers.
73851         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73852         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73854         to compile strcasecmp and strncasecmp.
73855         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73856         strcasecmp_l and strncasecmp_l.
73857         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73858         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73859         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73860         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73861         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73862         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73863         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73864         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73865         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73866         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73867         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73869 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73871         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73872         result of SYSDEP_GETTIME_CPU to retval.
73873         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73874         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73876         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73877         variable.
73879         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73880         mantissa words.
73881         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73883         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73884         from unused variable.
73886         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73887         DWARF definitions.
73888         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73889         for assembling.
73891         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73892         over namespaces.
73894         * sunrpc/rpc_prot.c (rejected): Fix case value.
73896         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73897         unsigned long long int to avoid warnings in shift.
73899         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73900         of use of trans.
73901         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73902         variable tmp.
73904         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73905         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73906         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73908         * nis/nis_table.c (nis_list): Use variable of correct type for
73909         result of __follow_path call.
73911 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73913         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73914         of math functions ceil, trunc, floor, round, and sqrt, when
73915         avaliable on the platform.
73916         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73917         name clash.
73918         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73919         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73920         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73922 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73924         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73925         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73927 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73929         * include/unistd.h: Fix __readlink return type.
73930         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73932 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73934         * stdlib/ucontext.h: Undo last change for makecontext.
73936 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73938         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73940         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73941         * setjmp/setjmp.h: Mark functions as non-leaf.
73942         * setjmp/bits/setjmp2.h: Likewise.
73943         * stdlib/ucontext.h: Likewise.
73945 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73947         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73948         (reused_arena): Don't check arena limit.
73949         (arena_get2): Atomically check arena limit.
73951 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73953         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73954         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73957         instructions.
73959 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73961         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73962         handler when locking.
73964         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73965         Fix size of allocated buffer.
73967 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73969         [BZ #10103]
73970         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73971         declarations for long double functions.
73972         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73974         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73976 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73978         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73979         installed.
73981         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73982         is disabled.
73984 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73986         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73988 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73990         * include/alloca.h (stackinfo_alloca_round): Define.
73991         (extend_alloca): Use it.
73992         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73993         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73994         here.
73996         * scripts/check-local-headers.sh: Ignore libaudit.h.
73998         * nscd/Makefile (extra-objs): Make recursively expanded.
74000 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74002         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74003         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74005         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74006         * posix/tst-rfc3484-2.c: Likewise.
74007         * posix/tst-rfc3484-3.c: Likewise.
74009         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74010         process_vm_writev.
74011         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74012         process_vm_writev.
74013         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74014         process_vm_writev from libc using GLIBC_2.15 version.
74016         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74018 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74020         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74021         stack usage.
74023 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74025         [BZ #13367]
74026         * nss/getent.c (initgroups_keys): Show error message in case no group
74027         names are given.
74029         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74030         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74031         __bump_nl_timestamp.
74032         * nscd/connections (nscd_init): When host database is served open
74033         netlink socket and request notification about configuration changes.
74034         (main_loop_poll): Track netlink file descriptor and bump timestamp
74035         in case data becomes available.
74036         (main_loop_epoll): Likewise.
74037         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74038         (database_pers_head): Add extra_data fileds.
74039         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74040         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74041         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74042         Adjust caller.
74043         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74044         in6ai data, call __free_in6ai.
74045         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74046         Add -DHAVE_NETLINK.
74047         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74048         interface information.  Reuse previous data if netlink timestamp
74049         is not changed.
74050         (__bump_nl_timestamp): New function.
74051         (__free_in6ai): New function.
74053 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74055         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74056         close_not_cancel_no_status here.
74057         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74059 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74061         [BZ #13276]
74062         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74063         return value.
74065         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74066         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74067         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74069 2011-07-03  Andreas Jaeger  <aj@suse.de>
74071         [BZ #10709]
74072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74073         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74074         * math/libm-test.inc (sin_test): Add test case.
74076 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74078         [BZ #13337]
74079         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74080         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74082         * elf/chroot_canon.c (chroot_canon): Cleanups.
74084         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74086         [BZ #13335]
74087         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74088         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74090         * string/test-strchr.c: Make usable for strchrnul testing.
74091         * string/test-strchrnul.c: New file.
74092         * string/Makefile (strop-tests): Add strchrnul.
74094         * po/it.po: Update from translation team.
74095         * po/es.po: Likewise.
74097 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74099         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74100         the three constants needed as parameters.  Drop the others.
74101         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74102         __m128i_strloadu_tolower.
74103         Create and initialize variable zero and use it in all the places
74104         where _mm_setzero_si128 was used.
74106         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74107         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74108         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74109         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74110         anymore.
74111         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74112         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74113         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74114         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74115         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74116         __mpranred, __mptan.
74117         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74118         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74119         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74120         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74121         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74122         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74123         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74124         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74125         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74127 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74129         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74130         redefine if SHARED.
74131         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74134         wide char related routines to wcsmbs subdir.
74136 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74138         [BZ #13344]
74139         * misc/sys/cdefs.h (__THROWNL): Define.
74140         * posix/unistd.h: Use __THREADNL instead of __THREAD
74141         for memory synchronization functions.
74143 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74145         [BZ #13349]
74146         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74147         doesn't exist.
74148         * manual/stdio.texi (Obstack Streams): Node removed.
74150 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74152         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74153         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74154         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74156         * math/math_private.h (math_force_eval): Allow non-addressable
74157         arguments.
74158         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74160 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74162         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74163         file is not needed.
74165         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74166         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74167         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74168         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74169         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74170         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74171         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74172         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74173         Add AVX variants.
74174         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74175         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74176         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74177         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74178         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74179         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74180         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74181         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74182         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74183         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74184         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74185         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74186         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74187         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74188         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74189         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74190         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74191         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74192         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74194         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74195         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74197         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74198         place.  Use VEX encoding when compiling for AVX.
74200 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74202         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74203         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74205         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74207 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74209         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74210         useless if() expression.
74211         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74212         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74213         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74214         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74215         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74216         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74217         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74218         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74219         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74220         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74221         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74222         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74223         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74224         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74225         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74226         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74227         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74228         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74229         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74231         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74233 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74235         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74236         condition.
74237         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74239 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74241         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74242         .text section.  Avoid duplicate constants.
74243         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74245         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74247         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74248         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74249         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74250         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74251         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74252         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74253         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74254         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74255         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74256         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74257         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74258         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74259         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74260         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74261         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74262         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74263         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74264         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74265         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74266         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74267         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74268         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74269         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74270         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74271         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74272         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74273         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74274         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74275         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74276         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74277         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74278         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74279         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74280         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74281         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74282         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74283         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74284         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74285         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74286         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74287         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74289 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74291         * sysdeps/x86_64/dla.h: Move to ...
74292         * sysdeps/x86_64/fpu/dla.h: ...here.
74293         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74294         situations.  Use __builtin_fma only for gcc 4.6 and up.
74296         * config.make.in: Add have-mfma4 entry.
74297         * configure.in: Substitute libc_cv_cc_fma4.
74298         * math/Makefile (dbl-only-routines): Add sincostab.
74299         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74300         Use __sincostab not sincos.
74301         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74302         name is a macro.
74303         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74304         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74305         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74307         using __copysign.
74308         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74309         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74310         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74311         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74312         and __inv.
74313         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74314         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74315         __copysign.
74316         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74317         define aliases when function name is a macro.
74318         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74319         sysdeps/ieee754/dbl-64/sincos.tbl.
74320         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74321         fma4-enabled routines.
74322         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74323         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74324         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74325         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74326         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74327         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74328         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74329         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74330         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74331         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74332         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74333         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74334         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74335         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74336         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74337         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74338         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74339         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74340         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74341         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74342         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74343         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74344         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74345         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74346         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74347         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74348         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74349         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74350         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74351         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74353         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74354         rename.
74355         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74356         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74358         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74359         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74361         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74362         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74364 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74366         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74368 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74370         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74372         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74373         prediction.
74374         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74376         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74377         Remove unused variable magic_bits.
74378         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74380         * string/strnlen.c: Define and use STRNLEN macro.
74381         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74382         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74383         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74384         * wcsmbs/wcslen.c: Define and use WCSLEN.
74385         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74386         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74387         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74388         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74389         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74390         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74391         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74393 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74396         strnlen-sse2-no-bsf.
74397         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74398         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74399         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74400         Add strnlen support.
74401         (USE_AS_STRNLEN): New macro.
74402         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74403         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74404         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74405         * sysdeps/x86_64/wcslen.S: New file.
74407 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74410         XMM-moves are used for copying on small sizes.
74412 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74414         * wcsmbs/Makefile (strop-tests): Add wcschr.
74415         * wcsmbs/test-wcschr.c: New file.
74416         * string/test-strchr.c: Update.
74417         Add wcschr support.
74418         (WIDE): New macro.
74420 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74422         * wcsmbs/Makefile (strop-tests): Add wcslen.
74423         * wcsmbs/test-wcslen.c: New file.
74424         * string/test-strlen.c: Update.
74425         Add wcslen support.
74426         (WIDE): New macro.
74428 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74430         * po/it.po: Update from translation team.
74432 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74434         * sysdeps/x86_64/wcscmp.S: Update.
74435         Fix wrong comparison semantics.
74436         wcscmp shall use signed comparison not unsigned.
74437         Don't use substraction to avoid overflow bug.
74438         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74439         * wcsmbc/wcscmp.c: Likewise.
74440         * string/test-strcmp.c: Likewise.
74441         Add new tests to check cases with negative values.
74443 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74445         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74446         * sysdeps/x86_64/dla.h: ...here.  New file.
74447         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74448         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74450         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74451         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74452         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74453         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74454         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74455         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74457 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74460         __ynl_finite aliases.
74462 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74466         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74467         define DLA_FMA.
74468         [DLA_FMA] (EMULV): Use DLA_FMA.
74469         [DLA_FMA] (MUL12): Use EMULV.
74470         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74471         that are not needed.
74472         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74473         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74474         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74475         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74476         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74477         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74478         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74480 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74482         * math/s_nan.c: Undef __nan.
74483         * math/s_nanf.c: Undef __nanf.
74484         * math/s_nanl.c: Undef __nanl.
74485         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74486         "math_private.h".
74488 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74490         * math/s_catan.c: Add branch predictions.
74491         * math/s_catanf.c: Likewise.
74492         * math/s_catanh.c: Likewise.
74493         * math/s_catanhf.c: Likewise.
74494         * math/s_catanhl.c: Likewise.
74495         * math/s_catanl.c: Likewise.
74496         * math/s_cexp.c: Likewise.
74497         * math/s_cexpf.c: Likewise.
74498         * math/s_cexpl.c: Likewise.
74499         * math/s_clog.c: Likewise.
74500         * math/s_clog10.c: Likewise.
74501         * math/s_clog10f.c: Likewise.
74502         * math/s_clog10l.c: Likewise.
74503         * math/s_clogf.c: Likewise.
74504         * math/s_clogl.c: Likewise.
74505         * math/s_csqrt.c: Likewise.
74506         * math/s_csqrtf.c: Likewise.
74507         * math/s_csqrtl.c: Likewise.
74508         * math/s_ctanf.c: Likewise.
74509         * math/s_ctanh.c: Likewise.
74510         * math/s_ctanhf.c: Likewise.
74511         * math/s_ctanhl.c: Likewise.
74512         * math/s_ctanl.c: Likewise.
74514         * math/math_private.h: Define __nan, __nanf, __nanl.
74515         * math/s_cacosh.c: Include <math_private.h>.
74516         * math/s_cacoshl.c: Likewise.
74517         * math/s_casinh.c: Likewise.
74518         * math/s_casinhf.c: Likewise.
74519         * math/s_casinhl.c: Likewise.
74520         * math/s_ccos.c: Rely entire on ccosh.
74521         * math/s_ccosf.c: Rely entire on ccoshf.
74522         * math/s_ccosl.c: Rely entirely on ccoshl.
74523         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74524         Remove tests for FE_INVALID.
74525         * math/s_ccoshf.c: Likewise.
74526         * math/s_ccoshl.c: Likewise.
74527         * math/s_csin.c: Likewise.
74528         * math/s_csinf.c: Likewise.
74529         * math/s_csinh.c Likewise.
74530         * math/s_csinhf.c: Likewise.
74531         * math/s_csinhl.c: Likewise.
74532         * math/s_csinl.c: Likewise.
74533         * math/s_ctan.c: Likewise.
74534         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74535         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74536         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74538 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74541         compilation problems.
74543         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74544         __builtin_expect.
74546 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74548         * sysdeps/i386/configure.in: Test for -mfma4 option.
74549         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74550         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74551         COMMON_CPUID_INDEX_80000001.
74552         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74553         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74554         use it if FMA3 is not supported.
74555         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74557         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74558         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74560 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74562         [BZ #12892]
74563         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74564         it would create a cycle with a link time dependency.
74566 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74568         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74569         instruction.
74570         * string/Makefile (strop-tests): Add rawmemchr.
74571         * string/test-rawmemchr.c: New file.
74573         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74574         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74575         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74576         when compiling str{,n}casecmp and when AVX is available.  Hook up
74577         new optimized code in initializers.
74579 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74581         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74582         __feraiseexcept instead of feraiseexcept.
74584 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74586         * math/math_private.h: Define defaults for libc_fetestexcept and
74587         libc_feupdateenv.
74588         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74589         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74590         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74591         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74592         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74593         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74594         libc_fetestexcept and libc_feupdateenv.
74596         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74597         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74598         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74599         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74600         libc_feholdexcept_setround.
74602         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74603         Add s_nearbyint-c and s_nearbyintf-c.
74604         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74605         nearbyintf inlines.
74606         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74607         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74608         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74609         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74611         * math/math_private.h: Define defaults for libc_fegetround,
74612         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74613         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74614         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74615         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74616         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74617         standard functions.
74618         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74619         Remove comments and hacks for old compiler versions.
74620         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74621         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74622         libc_feholdexceptl.
74624 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74626         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74627         (__feraiseexcept_renamed): Add __NTH.
74628         (feraiseexcept): Add __NTH.  Rename local variables to fix
74629         namespace violations.
74631 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74633         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74635         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74637         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74638         recently added interfaces.
74639         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74641         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74642         about macro parameter expansion.
74644         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74645         __NO_MATH_INLINES is defined.  Cleanups.
74647         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74648         and __floorf is target has SSE4.1.
74649         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74650         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74651         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74652         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74654         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74655         name.
74656         (floorf): Likewise.
74658         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74660 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74662         * misc/sys/cdefs.h: Fix last change.
74664         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74665         database lookup.
74667 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74669         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74671         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74672         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74673         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74674         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74675         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74676         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74677         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74678         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74679         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74680         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74681         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74682         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74683         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74684         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74685         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74686         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74687         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74688         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74689         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74690         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74691         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74692         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74694         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74695         ceil, ceilf, floor, floorf.
74697         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74698         Perform IRELATIVE relocations last.
74700         * elf/do-rel.h: Add another parameter nrelative, replacing the
74701         local variable with the same name.  Change name of the function
74702         to end in Rel or Rela (uppercase).
74703         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74704         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74705         elf_dynamic_do_##reloc function.
74707 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74709         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74710         is sufficient, at least on modern CPUs.
74712         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74714         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74715         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74717         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74718         __expl_finite.
74719         * math/bits/math-finite.h: Add entries for exp.
74720         * math/e_expl.c: Add __*_finite alias.
74721         * sysdeps/i386/fpu/e_exp.S: Likewise.
74722         * sysdeps/i386/fpu/e_expf.S: Likewise.
74723         * sysdeps/i386/fpu/e_expl.c: Likewise.
74724         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74725         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74726         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74727         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74728         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74729         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74730         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74732         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74733         is sufficient, at least on modern CPUs.
74735         * ctype/ctype-info.c (__ctype_init): Define.
74736         * include/ctype.h (__ctype_init): Declare.
74737         (__ctype_b_loc): The variable is always initialized.
74738         (__ctype_toupper_loc): Likewise.
74739         (__ctype_tolower_loc): Likewise.
74740         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74741         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74743 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74745         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74747         * configure.in: Also look in $cxxmachine/include for C++ system
74748         headers.
74750 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74752         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74753         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74754         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74755         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74756         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74757         (USE_AS_WMEMCMP): New macro.
74758         Fixing indents.
74759         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74760         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74761         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74762         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74764         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74765         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74766         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74767         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74768         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74769         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74770         (USE_AS_WMEMCMP): New macro.
74771         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74772         * sysdeps/string/test-memcmp.c: Update.
74773         Fix simple_wmemcmp.
74774         Add new tests.
74775         * wcsmbs/wmemcmp.c: Update.
74776         (WMEMCMP): New macro.
74777         Fix overflow bug.
74779 2011-10-12  Andreas Jaeger  <aj@suse.de>
74781         [BZ #13268]
74782         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74784 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74786         * libio/iofwide.c (do_length): Avoid warning.
74788         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74790 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74792         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74794         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74795         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74796         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74797         * sysdeps/i386/i686/fpu/e_log.S: New file.
74798         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74799         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74801         * ctype/ctype.h: Add support for inlined isXXX functions when
74802         compiling C++ code.
74804 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74806         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74808         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74810 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74812         [BZ #13291]
74813         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74815 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74817         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74818         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74819         feraiseexcept.
74821         * sysdeps/x86_64/memrchr.S: Check for zero size.
74823         * string/stratcliff.c: Add memrchr tests.
74825 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74827         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74828         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74829         rawmemchr-sse2 rawmemchr-sse2-bsf.
74830         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74831         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74832         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74833         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74834         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74835         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74836         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74837         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74838         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74839         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74840         * string/memrchr.c (MEMRCHR): New macro.
74842 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74844         Add integration with gcc's -ffinite-math-only and optimize wrapper
74845         functions in libm.
74846         * Versions.def: Define GLIBC_2.15 version for libm.
74847         * math/Makefile (headers): Add bits/math-finite.h.
74848         * math/bits/math-finite.h: New file.
74849         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74850         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74851         * math/e_acoshl.c: Add __*_finite alias.
74852         * math/e_acosl.c: Likewise.
74853         * math/e_asinl.c: Likewise.
74854         * math/e_atan2l.c: Likewise.
74855         * math/e_atanhl.c: Likewise.
74856         * math/e_coshl.c: Likewise.
74857         * math/e_exp10.c: Likewise.
74858         * math/e_exp10f.c: Likewise.
74859         * math/e_exp10l.c: Likewise.
74860         * math/e_exp2l.c: Likewise.
74861         * math/e_fmodl.c: Likewise.
74862         * math/e_gammal_r.c: Likewise.
74863         * math/e_hypotl.c: Likewise.
74864         * math/e_j0l.c: Likewise.
74865         * math/e_j1l.c: Likewise.
74866         * math/e_jnl.c: Likewise.
74867         * math/e_lgammal_r.c: Likewise.
74868         * math/e_log10l.c: Likewise.
74869         * math/e_log2l.c: Likewise.
74870         * math/e_logl.c: Likewise.
74871         * math/e_powl.c: Likewise.
74872         * math/e_sinhl.c: Likewise.
74873         * math/e_sqrtl.c: Likewise.
74874         * math/e_scalb.c: Completely rewritten and optimized.
74875         * math/e_scalbf.c: Likewise.
74876         * math/e_scalbl.c: Likewise.
74877         * math/w_acos.c: Likewise.
74878         * math/w_acosf.c: Likewise.
74879         * math/w_acosl.c: Likewise.
74880         * math/w_acosh.c: Likewise.
74881         * math/w_acoshf.c: Likewise.
74882         * math/w_acoshl.c: Likewise.
74883         * math/w_asin.c: Likewise.
74884         * math/w_asinf.c: Likewise.
74885         * math/w_asinl.c: Likewise.
74886         * math/w_atan2.c: Likewise.
74887         * math/w_atan2f.c: Likewise.
74888         * math/w_atan2l.c: Likewise.
74889         * math/w_atanh.c: Likewise.
74890         * math/w_atanhf.c: Likewise.
74891         * math/w_atanhl.c: Likewise.
74892         * math/w_exp10.c: Likewise.
74893         * math/w_exp10f.c: Likewise.
74894         * math/w_exp10l.c: Likewise.
74895         * math/w_fmod.c: Likewise.
74896         * math/w_fmodf.c: Likewise.
74897         * math/w_fmodl.c: Likewise.
74898         * math/w_j0.c: Likewise.
74899         * math/w_j0f.c: Likewise.
74900         * math/w_j0l.c: Likewise.
74901         * math/w_j1.c: Likewise.
74902         * math/w_j1f.c: Likewise.
74903         * math/w_j1l.c: Likewise.
74904         * math/w_jn.c: Likewise.
74905         * math/w_jnf.c: Likewise.
74906         * math/w_log.c: Likewise.
74907         * math/w_logf.c: Likewise.
74908         * math/w_logl.c: Likewise.
74909         * math/w_log10.c: Likewise.
74910         * math/w_log10f.c: Likewise.
74911         * math/w_log10l.c: Likewise.
74912         * math/w_log2.c: Likewise.
74913         * math/w_log2f.c: Likewise.
74914         * math/w_log2l.c: Likewise.
74915         * math/w_pow.c: Likewise.
74916         * math/w_powf.c: Likewise.
74917         * math/w_powl.c: Likewise.
74918         * math/w_remainder.c: Likewise.
74919         * math/w_remainderf.c: Likewise.
74920         * math/w_remainderl.c: Likewise.
74921         * math/w_scalb.c: Likewise.
74922         * math/w_scalbf.c: Likewise.
74923         * math/w_scalbl.c: Likewise.
74924         * math/w_sqrt.c: Likewise.
74925         * math/w_sqrtf.c: Likewise.
74926         * math/w_sqrtl.c: Likewise.
74927         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74928         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74929         used.
74930         * math/math_private.h: Declare __kernel_standard_f.
74931         * math/w_cosh.c: Remove cruft and optimize a bit.
74932         * math/w_coshf.c: Likewise.
74933         * math/w_coshl.c: Likewise.
74934         * math/w_exp2.c: Likewise.
74935         * math/w_exp2f.c: Likewise.
74936         * math/w_exp2l.c: Likewise.
74937         * math/w_hypot.c: Likewise.
74938         * math/w_hypotf.c: Likewise.
74939         * math/w_hypotl.c: Likewise.
74940         * math/w_lgamma.c: Likewise.
74941         * math/w_lgamma_r.c: Likewise.
74942         * math/w_lgammaf.c: Likewise.
74943         * math/w_lgammaf_r.c: Likewise.
74944         * math/w_lgammal.c: Likewise.
74945         * math/w_lgammal_r.c: Likewise.
74946         * math/w_sinh.c: Likewise.
74947         * math/w_sinhf.c: Likewise.
74948         * math/w_sinhl.c: Likewise.
74949         * math/w_tgamma.c: Likewise.
74950         * math/w_tgammaf.c: Likewise.
74951         * math/w_tgammal.c: Likewise.
74952         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74953         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74954         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74955         Minor optimizations.  Pretty printing.  Remove cruft.
74956         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74957         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74958         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74959         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74960         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74961         * sysdeps/i386/fpu/e_asin.S: Likewise.
74962         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74963         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74964         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74965         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74966         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74967         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74968         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74969         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74970         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74971         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74972         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74973         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74974         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74975         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74976         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74977         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74978         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74979         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74980         * sysdeps/i386/fpu/e_log.S: Likewise.
74981         * sysdeps/i386/fpu/e_log10.S: Likewise.
74982         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74983         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74984         * sysdeps/i386/fpu/e_log2.S: Likewise.
74985         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74986         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74987         * sysdeps/i386/fpu/e_logf.S: Likewise.
74988         * sysdeps/i386/fpu/e_logl.S: Likewise.
74989         * sysdeps/i386/fpu/e_pow.S: Likewise.
74990         * sysdeps/i386/fpu/e_powf.S: Likewise.
74991         * sysdeps/i386/fpu/e_powl.S: Likewise.
74992         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74993         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74994         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74995         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74996         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74997         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74998         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74999         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75000         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75001         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75002         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75004         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75005         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75006         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75007         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75008         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75009         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75010         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75011         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75012         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75014         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75015         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75016         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75017         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75018         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75019         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75020         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75021         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75022         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75023         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75024         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75025         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75026         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75027         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75028         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75029         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75030         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75031         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75032         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75033         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75034         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75035         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75036         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75037         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75038         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75039         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75040         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75041         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75042         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75043         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75044         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75045         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75046         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75047         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75048         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75049         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75050         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75051         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75052         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75053         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75054         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75055         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75056         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75057         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75058         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75059         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75060         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75061         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75062         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75063         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75065         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75066         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75068         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75069         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75070         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75071         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75072         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75074         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75075         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75076         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75077         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75078         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75079         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75080         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75081         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75082         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75083         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75084         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75085         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75086         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75087         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75088         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75089         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75090         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75091         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75092         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75093         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75094         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75095         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75096         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75097         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75098         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75099         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75100         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75101         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75102         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75103         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75104         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75105         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75106         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75107         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75108         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75109         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75110         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75111         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75112         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75113         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75114         (__isnanf): Likewise.
75115         (__isinf_ns): Likewise.
75116         (__isinf_nsf): Likewise.
75117         (__finite): Likewise.
75118         (__finitef): Likewise.
75119         (__ieee754_sqrt): Define as macro.
75120         (__ieee754_sqrtf): Define as macro.
75121         (__ieee754_sqrtl): Define as macro.
75122         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75123         inlined copy.
75124         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75125         __FINITE_MATH_ONLY__ consistent.
75126         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75128 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75130         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75131         of rawmemchr.
75133         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75135 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75137         * po/ja.po: Update from translation team.
75139 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75141         * locale/programs/locarchive.c (prepare_address_space): New function.
75142         (create_archive, enlarge_archive, open_archive): Use it.
75144         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75145         inside [SHARED], where it is used.
75147         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75149         * nss/getent.c (netgroup_keys): Remove unused variable.
75150         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75152 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75154         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75155         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75157         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75158         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75159         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75160         * math/Makefile (libm-calls): Add s_isinf_ns.
75161         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75162         * math/multc3.c: Likewise.
75163         * math/s_casin.c: Likewise.
75164         * math/s_casinf.c: Likewise.
75165         * math/s_casinl.c: Likewise.
75166         * math/s_ccos.c: Likewise.
75167         * math/s_ccosf.c: Likewise.
75168         * math/s_ccosl.c: Likewise.
75169         * math/s_ctan.c: Likewise.
75170         * math/s_ctanf.c: Likewise.
75171         * math/s_ctanh.c: Likewise.
75172         * math/s_ctanhf.c: Likewise.
75173         * math/s_ctanhl.c: Likewise.
75174         * math/s_ctanl.c: Likewise.
75175         * math/w_fmod.c: Likewise.
75176         * math/w_fmodf.c: Likewise.
75177         * math/w_fmodl.c: Likewise.
75178         * math/w_remainder.c: Likewise.
75179         * math/w_remainderf.c: Likewise.
75180         * math/w_remainderl.c: Likewise.
75181         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75182         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75183         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75184         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75185         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75186         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75187         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75188         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75190         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75191         of the number.
75192         * stdio-common/printf_fphex.c: Likewise.
75193         * stdio-common/printf_size.c: Likewise.
75195         * math/e_exp10.c: Include math_private.h using <...> not "...".
75196         * math/e_exp10f.c: Likewise.
75197         * math/e_exp10l.c: Likewise.
75198         * math/e_exp2l.c: Likewise.
75199         * math/e_j0l.c: Likewise.
75200         * math/e_j1l.c: Likewise.
75201         * math/e_jnl.c: Likewise.
75202         * math/e_lgammal_r.c: Likewise.
75203         * math/e_rem_pio2l.c: Likewise.
75204         * math/e_scalb.c: Likewise.
75205         * math/e_scalbf.c: Likewise.
75206         * math/e_scalbl.c: Likewise.
75207         * math/k_cosl.c: Likewise.
75208         * math/k_sinl.c: Likewise.
75209         * math/k_tanl.c: Likewise.
75210         * math/s_cacoshf.c: Likewise.
75211         * math/s_catan.c: Likewise.
75212         * math/s_catanf.c: Likewise.
75213         * math/s_catanh.c: Likewise.
75214         * math/s_catanhf.c: Likewise.
75215         * math/s_catanhl.c: Likewise.
75216         * math/s_catanl.c: Likewise.
75217         * math/s_ccosh.c: Likewise.
75218         * math/s_ccoshf.c: Likewise.
75219         * math/s_ccoshl.c: Likewise.
75220         * math/s_cexp.c: Likewise.
75221         * math/s_cexpf.c: Likewise.
75222         * math/s_cexpl.c: Likewise.
75223         * math/s_clog.c: Likewise.
75224         * math/s_clog10.c: Likewise.
75225         * math/s_clog10f.c: Likewise.
75226         * math/s_clog10l.c: Likewise.
75227         * math/s_clogf.c: Likewise.
75228         * math/s_clogl.c: Likewise.
75229         * math/s_csin.c: Likewise.
75230         * math/s_csinf.c: Likewise.
75231         * math/s_csinh.c: Likewise.
75232         * math/s_csinhf.c: Likewise.
75233         * math/s_csinhl.c: Likewise.
75234         * math/s_csinl.c: Likewise.
75235         * math/s_csqrt.c: Likewise.
75236         * math/s_csqrtf.c: Likewise.
75237         * math/s_csqrtl.c: Likewise.
75238         * math/s_ctan.c: Likewise.
75239         * math/s_ctanf.c: Likewise.
75240         * math/s_ctanh.c: Likewise.
75241         * math/s_ctanhf.c: Likewise.
75242         * math/s_ctanhl.c: Likewise.
75243         * math/s_ctanl.c: Likewise.
75244         * math/s_ldexp.c: Likewise.
75245         * math/s_ldexpf.c: Likewise.
75246         * math/s_ldexpl.c: Likewise.
75247         * math/s_significand.c: Likewise.
75248         * math/s_significandf.c: Likewise.
75249         * math/s_significandl.c: Likewise.
75250         * math/w_acos.c: Likewise.
75251         * math/w_acosf.c: Likewise.
75252         * math/w_acosh.c: Likewise.
75253         * math/w_acoshf.c: Likewise.
75254         * math/w_acoshl.c: Likewise.
75255         * math/w_acosl.c: Likewise.
75256         * math/w_asin.c: Likewise.
75257         * math/w_asinf.c: Likewise.
75258         * math/w_asinl.c: Likewise.
75259         * math/w_atan2.c: Likewise.
75260         * math/w_atan2f.c: Likewise.
75261         * math/w_atan2l.c: Likewise.
75262         * math/w_atanh.c: Likewise.
75263         * math/w_atanhf.c: Likewise.
75264         * math/w_atanhl.c: Likewise.
75265         * math/w_cosh.c: Likewise.
75266         * math/w_coshf.c: Likewise.
75267         * math/w_coshl.c: Likewise.
75268         * math/w_dremf.c: Likewise.
75269         * math/w_exp10.c: Likewise.
75270         * math/w_exp10f.c: Likewise.
75271         * math/w_exp10l.c: Likewise.
75272         * math/w_exp2.c: Likewise.
75273         * math/w_exp2f.c: Likewise.
75274         * math/w_fmod.c: Likewise.
75275         * math/w_fmodf.c: Likewise.
75276         * math/w_fmodl.c: Likewise.
75277         * math/w_hypot.c: Likewise.
75278         * math/w_hypotf.c: Likewise.
75279         * math/w_hypotl.c: Likewise.
75280         * math/w_j0.c: Likewise.
75281         * math/w_j0f.c: Likewise.
75282         * math/w_j0l.c: Likewise.
75283         * math/w_j1.c: Likewise.
75284         * math/w_j1f.c: Likewise.
75285         * math/w_j1l.c: Likewise.
75286         * math/w_jn.c: Likewise.
75287         * math/w_jnf.c: Likewise.
75288         * math/w_jnl.c: Likewise.
75289         * math/w_lgamma.c: Likewise.
75290         * math/w_lgamma_r.c: Likewise.
75291         * math/w_lgammaf.c: Likewise.
75292         * math/w_lgammaf_r.c: Likewise.
75293         * math/w_lgammal.c: Likewise.
75294         * math/w_lgammal_r.c: Likewise.
75295         * math/w_log.c: Likewise.
75296         * math/w_log10.c: Likewise.
75297         * math/w_log10f.c: Likewise.
75298         * math/w_log10l.c: Likewise.
75299         * math/w_log2.c: Likewise.
75300         * math/w_log2f.c: Likewise.
75301         * math/w_log2l.c: Likewise.
75302         * math/w_logf.c: Likewise.
75303         * math/w_logl.c: Likewise.
75304         * math/w_pow.c: Likewise.
75305         * math/w_powf.c: Likewise.
75306         * math/w_powl.c: Likewise.
75307         * math/w_remainder.c: Likewise.
75308         * math/w_remainderf.c: Likewise.
75309         * math/w_remainderl.c: Likewise.
75310         * math/w_scalb.c: Likewise.
75311         * math/w_scalbf.c: Likewise.
75312         * math/w_scalbl.c: Likewise.
75313         * math/w_sinh.c: Likewise.
75314         * math/w_sinhf.c: Likewise.
75315         * math/w_sinhl.c: Likewise.
75316         * math/w_sqrt.c: Likewise.
75317         * math/w_sqrtf.c: Likewise.
75318         * math/w_sqrtl.c: Likewise.
75319         * math/w_tgamma.c: Likewise.
75320         * math/w_tgammaf.c: Likewise.
75321         * math/w_tgammal.c: Likewise.
75323         * po/ja.po: Update from translation team.
75325 2011-09-29  Andreas Jaeger  <aj@suse.de>
75327         [BZ #13179]
75328         * sunrpc/netname.c (netname2host): Fix logic.
75330         [BZ #6779]
75331         [BZ #6783]
75332         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75333         correctly.
75334         * math/w_remainder.c (__remainder): Likewise.
75335         * math/w_remainderf.c (__remainderf): Likewise.
75336         * math/libm-test.inc (remainder_test): Add test cases.
75338 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75340         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75341         sdiv_qrnnd.
75343 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75345         * string/test-memcmp.c: Avoid unncessary #defines.
75346         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75348 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75350         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75351         Use new sse2 version for core i3 - i7 as it's faster
75352         than sse42 version.
75353         (bit_Prefer_PMINUB_for_stringop): New.
75354         * sysdeps/x86_64/rawmemchr.S: Update.
75355         Replace with faster SSE2 version.
75356         * sysdeps/x86_64/memrchr.S: New file.
75357         * sysdeps/x86_64/memchr.S: Update.
75358         Replace with faster SSE2 version.
75360 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75362         * elf/dl-load.c (lose): Add cast to avoid warning.
75364 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75366         * po/ca.po: Update from translation team.
75368         * inet/getnetgrent_r.c: Hook up nscd.
75369         * nscd/Makefile (routines): Add nscd_netgroup.
75370         (nscd-modules): Add netgroupcache.
75371         (CFLAGS-netgroupcache.c): Define.
75372         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75373         (cache_search): Add const to second parameter.
75374         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75375         INNETGR.
75376         (dbs): Add netgrdb entry.
75377         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75378         (verify_persistent_db): Handle netgrdb.
75379         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75380         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75381         GETFDNETGR.
75382         (netgroup_response_header): Define.
75383         (innetgroup_response_header): Define.
75384         (datahead): Add netgroup_response_header and innetgroup_response_header
75385         elements.
75386         * nscd/nscd.conf: Add entries for netgroup cache.
75387         * nscd/nscd.h (dbtype): Add netgrdb.
75388         (_PATH_NSCD_NETGROUP_DB): Define.
75389         (netgroup_iov_disabled): Declare.
75390         (xmalloc, xcalloc, xrealloc): Move declarations here.
75391         (cache_search): Adjust prototype.
75392         Add netgroup-related prototypes.
75393         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75394         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75395         (__nscd_innetgr): Declare.
75396         * nscd/selinux.c (perms): Use access_vector_t as element type and
75397         add netgroup-related initializers.
75398         * nscd/netgroupcache.c: New file.
75399         * nscd/nscd_netgroup.c: New file.
75400         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75401         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75402         For four parameters use innetgr.
75403         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75404         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75405         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75406         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75408         * nscd/connections.c (register_traced_file): Don't register file
75409         for disabled databases.
75411 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75413         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75415         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75416         from tree and freeing node.
75418 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75420         * nss/nsswitch.c (__nss_database_lookup): Handle
75421         nss_parse_service_list out of memory case.
75423 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75425         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75426         out of memory case.
75428 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75430         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75431         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75432         pass it down.
75433         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75434         elf_machine_rela, elf_machine_lazy_rel.
75435         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75436         (ELF_DYNAMIC_DO_REL): Likewise.
75437         (ELF_DYNAMIC_DO_RELA): Likewise.
75438         (ELF_DYNAMIC_RELOCATE): Likewise.
75439         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75440         to ELF_DYNAMIC_DO_REL.
75441         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75442         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75443         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75444         elf_machine_rela.
75445         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75446         skip_ifunc, don't call ifunc function if non-zero.
75447         (elf_machine_rela): Likewise.
75448         (elf_machine_lazy_rel): Likewise.
75449         (elf_machine_lazy_rela): Likewise.
75450         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75451         (elf_machine_lazy_rel): Likewise.
75452         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75453         Likewise.
75454         (elf_machine_lazy_rel): Likewise.
75455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75456         Likewise.
75457         (elf_machine_lazy_rel): Likewise.
75458         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75459         (elf_machine_lazy_rel): Likewise.
75460         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75461         (elf_machine_lazy_rel): Likewise.
75462         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75463         (elf_machine_lazy_rel): Likewise.
75464         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75465         (elf_machine_lazy_rel): Likewise.
75466         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75467         (elf_machine_lazy_rel): Likewise.
75468         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75469         (elf_machine_lazy_rel): Likewise.
75471 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75473         * nss/nss_files/files-init.c (_nss_files_init): Use static
75474         initialization for all the *_traced_file variables.
75476 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75478         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75480 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75482         [BZ #13226]
75483         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75485 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75487         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75488         Reread the line before reparsing it.
75490 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75492         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75494 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75495             Maxim Kuvyrkov  <maxim@codesourcery.com>
75496             Joseph Myers  <joseph@codesourcery.com>
75498         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75499         if needed for __stack_chk_guard.
75501 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75503         * sysdeps/posix/spawni.c (script_execute): Always define it.
75504         It will be optimized away if unused.
75505         (maybe_script_execute): New function.
75506         (__spawni): Call it.
75508         * Makerules: Don't include tls.make.
75509         (config-tls): Always set to thread.
75510         * tls.make.c: File removed.
75512 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75514         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75515         * config.make.in (CPPFLAGS-config): New substituted variable.
75517 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75519         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75521         [BZ #13192]
75522         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75523         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75525 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75527         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75528         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75529         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75530         (CALL_FAIL): Likewise.
75531         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75532         (CALL_FAIL): Macro removed.
75533         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75535 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75537         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75538         for __FINITE_MATH_ONLY__ == 1.
75540 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75542         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75543         __ieee754_sqrt instead of sqrt.
75544         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75545         __ieee754_sqrtf instead of sqrtf.
75546         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75547         __floorf instead of floorf.
75548         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75549         __floorf, __truncf instead of floorf, truncf.
75551 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75553         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75555         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75556         __extern_always_inline.
75557         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75558         32-bit.
75560 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75562         * elf/rtld.c (dl_main): Also relocate in dependency order when
75563         doing symbol dependency testing.
75565 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75567         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75568         Always define `refsym'.
75570 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75572         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75573         (__FD_ELT): Renamed from __FDELT.
75574         * misc/bits/select2.h (__FD_ELT): Likewise.
75575         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75576         __FD_MASK instead of __FDELT, __FDMASK.
75577         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75578         Likewise.
75579         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75580         Likewise.
75582         * elf/Makefile (gen-ldd): Fix pattern.
75584         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75585         (init_tls): Likewise.
75587 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75589         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75591 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75593         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75594         `struct cmsghdr *' instead of `void *'.
75595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75596         Likewise.
75598 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75600         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75601         if non-absolute.
75602         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75603         ldd_rewrite_script.
75605 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75607         * configure.in: Remove --with-tls option.
75608         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75609         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75610         out in case it is missing.
75611         * sysdeps/ia64/elf/configure.in: Likewise.
75612         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75613         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75614         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75615         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75616         * sysdeps/sh/elf/configure.in: Likewise.
75617         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75618         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75619         * sysdeps/x86_64/elf/configure.in: Likewise.
75620         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75621         * sysdeps/mach/hurd/tls.h: Likewise.
75623         [BZ #13067]
75624         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75626         [BZ #13090]
75627         * configure.in: Fix use of AC_INIT.
75629         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75631 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75633         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75634         __set_errno.
75635         * malloc/hooks.c: Likewise.
75637         [BZ #11929]
75638         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75639         variables statically.
75640         (narenas): Initialize.
75641         (list_lock): Initialize.
75642         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75643         initializtion of main_arena and list_lock.  Small cleanups.
75644         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75645         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75646         Add initializers to main_arena and mp_.
75647         (malloc_state): Remove pagesize member.  Change all users to use
75648         GLRO(dl_pagesize).
75650         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75651         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75652         is always initialized.
75654         * malloc/malloc.c: Removed unused configurations and dead code.
75655         * malloc/arena.c: Likewise.
75656         * malloc/hooks.c: Likewise.
75657         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75659         * include/tls.h: Removed.  USE___THREAD must always be defined.
75660         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75661         * elf/dl-libc.c: Likewise.
75662         * elf/dl-tsd.c: Likewise.
75663         * include/errno.h: Likewise.
75664         * include/netdb.h: Likewise.
75665         * include/resolv.h: Likewise.
75666         * inet/herrno-loc.c: Likewise.
75667         * inet/herrno.c: Likewise.
75668         * malloc/arena.c: Likewise.
75669         * malloc/hooks.c: Likewise.
75670         * malloc/malloc.c: Likewise.
75671         * resolv/res-state.c: Likewise.
75672         * resolv/res_libc.c: Likewise.
75673         * sysdeps/i386/dl-machine.h: Likewise.
75674         * sysdeps/ia64/dl-machine.h: Likewise.
75675         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75676         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75677         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75678         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75679         * sysdeps/sh/dl-machine.h: Likewise.
75680         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75681         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75682         * sysdeps/unix/i386/sysdep.S: Likewise.
75683         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75684         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75686         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75688         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75689         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75691         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75693         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75694         * sysdeps/x86_64/dl-machine.h: Likewise.
75695         * tls.make.c: Likewise.
75697         * configure.in: Remove --with-__thread option.  Make tests for
75698         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75699         tls_model attribute fail if no support is available.  Remove
75700         USE_IN_LIBIO.
75701         * Makeconfig: Adjust for dropped configure option.  All features are
75702         now mandatory.
75703         * Makerules: Likewise.
75704         * Versions.def: Likewise.
75705         * argp/argp-fmtstream.c: Likewise.
75706         * argp/argp-fmtstream.h: Likewise.
75707         * argp/argp-help.c: Likewise.
75708         * assert/assert.c: Likewise.
75709         * config.h.in: Likewise.
75710         * config.make.in: Likewise.
75711         * configure: Likewise.
75712         * configure.in: Likewise.
75713         * csu/Versions: Likewise.
75714         * csu/init.c: Likewise.
75715         * elf/tst-audit2.c: Likewise.
75716         * elf/tst-tls10.c: Likewise.
75717         * elf/tst-tls10.h: Likewise.
75718         * elf/tst-tls11.c: Likewise.
75719         * elf/tst-tls12.c: Likewise.
75720         * elf/tst-tls14.c: Likewise.
75721         * elf/tst-tlsmod11.c: Likewise.
75722         * elf/tst-tlsmod12.c: Likewise.
75723         * elf/tst-tlsmod13.c: Likewise.
75724         * elf/tst-tlsmod13a.c: Likewise.
75725         * elf/tst-tlsmod14a.c: Likewise.
75726         * elf/tst-tlsmod15b.c: Likewise.
75727         * elf/tst-tlsmod16a.c: Likewise.
75728         * elf/tst-tlsmod16b.c: Likewise.
75729         * elf/tst-tlsmod7.c: Likewise.
75730         * elf/tst-tlsmod8.c: Likewise.
75731         * elf/tst-tlsmod9.c: Likewise.
75732         * gmon/gmon.c: Likewise.
75733         * grp/fgetgrent_r.c: Likewise.
75734         * grp/putgrent.c: Likewise.
75735         * hurd/fopenport.c: Likewise.
75736         * include/libc-symbols.h: Likewise.
75737         * include/tls.h: Likewise.
75738         * intl/gettextP.h: Likewise.
75739         * intl/loadinfo.h: Likewise.
75740         * locale/global-locale.c: Likewise.
75741         * locale/localeinfo.h: Likewise.
75742         * mach/devstream.c: Likewise.
75743         * malloc/arena.c: Likewise.
75744         * malloc/set-freeres.c: Likewise.
75745         * misc/err.c: Likewise.
75746         * misc/getttyent.c: Likewise.
75747         * misc/mntent_r.c: Likewise.
75748         * posix/getopt.c: Likewise.
75749         * posix/wordexp.c: Likewise.
75750         * pwd/fgetpwent_r.c: Likewise.
75751         * resolv/Versions: Likewise.
75752         * resolv/res_hconf.c: Likewise.
75753         * shadow/fgetspent_r.c: Likewise.
75754         * shadow/putspent.c: Likewise.
75755         * stdio-common/printf_fphex.c: Likewise.
75756         * stdio-common/tmpfile.c: Likewise.
75757         * stdlib/abort.c: Likewise.
75758         * stdlib/fmtmsg.c: Likewise.
75759         * sunrpc/auth_unix.c: Likewise.
75760         * sunrpc/clnt_perr.c: Likewise.
75761         * sunrpc/clnt_tcp.c: Likewise.
75762         * sunrpc/clnt_udp.c: Likewise.
75763         * sunrpc/clnt_unix.c: Likewise.
75764         * sunrpc/openchild.c: Likewise.
75765         * sunrpc/svc_simple.c: Likewise.
75766         * sunrpc/svc_tcp.c: Likewise.
75767         * sunrpc/svc_udp.c: Likewise.
75768         * sunrpc/svc_unix.c: Likewise.
75769         * sunrpc/xdr.c: Likewise.
75770         * sunrpc/xdr_array.c: Likewise.
75771         * sunrpc/xdr_rec.c: Likewise.
75772         * sunrpc/xdr_ref.c: Likewise.
75773         * sunrpc/xdr_stdio.c: Likewise.
75775 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75777         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75779 2011-07-03  Andreas Jaeger  <aj@suse.de>
75781         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75782         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75783         regenerate with gen-libm-tests.pl.
75785 2010-05-12  Petr Baudis  <pasky@suse.cz>
75787         [BZ #11589]
75788         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75789         around j0() zero points by switching to j1().
75790         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75791         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75792         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75793         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75795 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75797         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75798         instead of 0.
75799         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75800         instead of 0.
75801         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75802         Patch in part by Pavel Roskin <proski@gnu.org>.
75804         [BZ #13138]
75805         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75806         realloc.
75807         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75808         Free memory block if necessary.
75810         [BZ #12847]
75811         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75812         be NULL.  Don't lock in this case.
75814 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75816         * elf/elf.h (ELFOSABI_GNU): New macro.
75817         (ELFOSABI_LINUX): Define to that.
75819 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75821         * string/strncat.c (strncat): Undef the symbol in case it has been
75822         defined in bits/string.h.
75824 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75826         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75828         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75829         link map.
75831 2011-08-17  Andreas Jaeger  <aj@suse.de>
75833         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75835 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75836             Ian Lance Taylor  <iant@google.com>
75838         * math/libm-test.inc (lround_test): New testcase.
75839         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75841 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75843         * Makefile: Remove support for automatic cvs check-ins.
75844         * Makerules: Likewise.
75845         * config.make.in: Likewise.
75846         * configure.in: Likewise.
75847         * intl/Makefile: Likewise.
75848         * locale/Makefile: Likewise.
75849         * po/Makefile: Likewise.
75850         * posix/Makefile: Likewise.
75851         * sysdeps/gnu/Makefile: Likewise.
75852         * sysdeps/mach/hurd/Makefile: Likewise.
75853         * sysdeps/sparc/sparc32/Makefile: Likewise.
75855         [BZ #13118]
75856         * posix/Makefile (bug-regex32-ENV): Define.
75857         Patch by John Stanley <jpsinthemix@verizon.net>.
75859         * misc/Makefile (headers): Add bits/select2.h.
75860         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75861         * misc/bits/select2.h: New file.
75862         * include/bits/select2.h: New file.
75863         * debug/Makefile (routines): Add fdelt_chk.
75864         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75865         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75866         FD_ISSET.
75867         * debug/fdelt_chk.c: New file.
75869         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75870         * wcsmbs/test-wmemcmp.c: Likewise.
75871         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75872         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75874 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75876         * string/Makefile (strop-tests): Add memcmp.
75877         * string/test-wmemcmp.c: New file.
75878         * string/test-memcmp.c: Add wmemcmp support.
75880 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75882         [BZ #13153]
75883         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75884         2011-07-19 change.
75886         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75887         garbage value in a __mach_port_mod_refs call in the cases of the
75888         task-self and thread-self ports.
75890 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75892         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75894 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75896         * elf/dl-load.c (lose): Check for non-null L.
75898 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75900         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75902         * elf/dl-libc.c (dlerror_run): Pass back error code from
75903         dl_catch_error.
75905         [BZ #13123]
75906         * elf/dl-load.c (lose): Free l_origin if it is valid.
75908         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75909         names.
75910         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75911         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75912         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75913         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75914         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75915         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75917 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75919         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75920         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75921         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75922         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75923         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75924         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75925         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75926         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75927         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75928         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75930 2011-08-15  Alan Modra  <amodra@gmail.com>
75932         [BZ #13092]
75933         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75934         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75935         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75936         ppc_mcount to static-only-routines.
75937         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75938         __mcount_internal.
75939         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75940         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75942 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75944         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75945         for finite and infinity parameters.
75947 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75949         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75950         and add nop instructions for throughput optimization.
75951         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75953 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75955         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75956         aligned copy for power7 with vector-scalar instructions.
75957         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75959 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75961         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75962         AVX check.
75964 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75966         [BZ #13144]
75967         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75968         last change.
75970 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75972         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75973         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75974         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75975         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75976         clock_gettime.
75978 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75980         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75981         Forgot to demangle the pointer.
75983         * sysdeps/i386/sysdep.h: Define atom_text_section.
75984         * sysdeps/x86_64/sysdep.h: Likewise.
75985         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75986         section with atom_text_section.
75987         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75988         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75989         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75990         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75991         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75993         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75994         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75995         already be defined.  Change to take two parameters and don't assign
75996         result to variable.  Adjust all users.
75997         Define INTERNAL_GETTIME if not already defined.
75998         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75999         call.
76000         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76001         HAVE_CLOCK_GETTIME_VSYSCALL.
76002         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76004         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76005         gettimeofday vsyscall, just use time.
76007 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76009         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76010         <errno.h>.
76012 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76014         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76015         syscall on x86-64.
76016         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76017         syscall.
76018         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76019         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76020         syscall if possible.
76022 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76024         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76025         e_ident.  Don't pass to find_mapsXX.
76026         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76028 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76031         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76032         * sysdeps/x86_64/multiarch/strchr.S: Update.
76033         Check bit_slow_BSF bit.
76034         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76035         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76036         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76038 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76040         [BZ #13134]
76041         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76042         before glibc 2.15.
76043         (tryshell): Define.
76044         (__spawni): Change last parameter to be flag.  Test
76045         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76046         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76047         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76048         * posix/spawni.c: Likewise.
76049         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76050         * posix/spawnp.c: Likewise.  Change normal version to use
76051         SPAWN_XFLAGS_USE_PATH.
76052         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76053         SPAWN_XFLAGS_TRY_SHELL.
76055         [BZ #13150]
76056         * posix/glob.h: Remove gcc 1.x support.
76058         [BZ #13068]
76059         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76061 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76063         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76064         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76065         strrchr-sse2-bsf
76066         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76067         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76068         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76069         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76070         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76071         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76073 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76075         * sysdeps/x86_64/wcscmp.S: New file.
76077         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76078         wcscmp-c wcscmp-sse2
76079         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76080         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76081         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76082         * wcsmbs/wcscmp.c: Allow renaming.
76084 2011-09-05  David S. Miller  <davem@davemloft.net>
76086         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76087         stack slot, rather than the struct return pointer slot.
76088         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76089         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76091         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76093 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76095         * po/ja.po: Update from translation team.
76097         [BZ #13144]
76098         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76099         kernel in 64-bit binaries.
76101 2011-09-01  David S. Miller  <davem@davemloft.net>
76103         * elf/elf.h (HWCAP_SPARC_*): Move to..
76104         * sysdeps/sparc/sysdep.h: this new file and add new values.
76105         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76106         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76107         _DL_HWCAP_COUNT to 24.
76108         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76109         entries.
76110         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76111         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76112         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76114         instead of magic constants.
76115         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76117 2011-08-31  David S. Miller  <davem@davemloft.net>
76119         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76121         Reimplement to do errno handling inline.
76122         (SYSCALL_ERROR_HANDLER): New macro.
76123         (__SYSCALL_STRING): Do not do errno handling in asm.
76124         (__CLONE_SYSCALL_STRING): Delete.
76125         (__INTERNAL_SYSCALL_STRING): Delete.
76126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76127         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76128         (PSEUDO): Reimplement to do errno handling inline.
76129         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76130         (SYSCALL_ERROR_HANDLER): New macro.
76131         (__SYSCALL_STRING): Do not do errno handling in asm.
76132         (__CLONE_SYSCALL_STRING): Delete.
76133         (__INTERNAL_SYSCALL_STRING): Delete.
76134         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76135         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76136         i386.
76137         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76138         (inline_syscall*): Add 'err' argument.
76139         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76140         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76141         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76142         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76144         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76145         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76147 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76149         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76151 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76153         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76154         directive.
76156 2011-08-24  David S. Miller  <davem@davemloft.net>
76158         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76160 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76162         * elf/Makefile: Add rules to build and run unload8 test.
76163         * elf/unload8.c: New file.
76164         * elf/unload8mod1.c: New file.
76165         * elf/unload8mod1x.c: New file.
76166         * elf/unload8mod2.c: New file.
76167         * elf/unload8mod3.c: New file.
76169         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76170         it wasn't used.
76172 2011-08-23  David S. Miller  <davem@davemloft.net>
76174         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76175         subtract stack bias.
76176         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76177         %sp not %fp in calculations.
76178         (_JMPBUF_UNWINDS_ADJ): Likewise.
76180         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76181         (aio_suspend): Call it to force an exception region around the
76182         AIO_MISC_WAIT() invocation.
76184 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76186         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76187         backslash.
76189 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76191         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76192         protection macro.
76193         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76194         and <dl-machine.h>.
76195         (Elf64_FuncDesc): Remove.
76197 2011-08-22  David S. Miller  <davem@davemloft.net>
76199         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76200         sigaltstack check, add missing cfi directives.
76201         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76202         missing cfi directives, and sigaltstack handling.
76204 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76206         [BZ #11724]
76207         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76208         object is seen twice.
76209         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76211         * elf/Makefile (distribute): Add tst-initorder2.c.
76212         (tests): Add tst-initorder2.
76213         (modules-names): Add tst-initorder2a tst-initorder2b
76214         tst-initorder2c tst-initorder2d.  Add rules to build them.
76215         ($(objpfx)tst-initorder2.out): New rule.
76216         * elf/tst-initorder2.c: New file.
76217         * elf/tst-initorder2.exp: New file.
76219 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76221         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76223         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76224         dependencies back to end of function.
76226         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76227         $(elfobjdir)/ld.so.
76229 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76231         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76232         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76233         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76234         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76235         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76236         of __vdso_gettimeofday.
76237         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76238         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76239         attribute_hidden.
76240         (_libc_vdso_platform_setup): Remove initialization of
76241         __vdso_gettimeofday and __vdso_time.
76243 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76245         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76246         and fgetc_unlocked.
76247         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76248         getc_unlocked.
76250         * elf/dl-open.c (add_to_global): Report additions to the global scope
76251         for LD_DEBUG=scopes.
76252         (dl_open_worker): Also print scope of newly loaded dependencies.
76253         (_dl_show_scope): Indicate if there is no scope.
76255         [BZ #13114]
76256         * stdio-common/Makefile (tests): Add bug24.
76257         * stdio-common/bug24.c: New file.
76259 2011-08-19  Andreas Jaeger  <aj@suse.de>
76261         [BZ #13114]
76262         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76263         non-existant file when using close-on-exec mode.
76265 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76268         the very first instruction.
76270         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76271         the CFI state in the end.
76272         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76273         inclusion of dl-trampoline.h.
76274         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76276 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76278         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76279         expectations for long double.
76281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76282         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76284 2011-08-14  David S. Miller  <davem@davemloft.net>
76286         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76287         artificual limit depends upon the system page size.
76289 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76291         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76292         * resolv/Makefile: Define CFLAGS-libresolv.
76294 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76296         * nss/makedb.c (compute_tables): Make variables used in nested
76297         function static.
76299 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76301         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76302         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76303         if buffer was too small.
76305         * elf/pldd.c (main): Attach to all threads in the process.
76306         Rewrite /proc handling to use *at functions.
76308 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76310         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76311         specifies first scope to show.
76312         (dl_open_worker): Update callers.  Move printing scope of new
76313         object to before the relocation.
76314         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76315         * sysdeps/generic/ldsodefs.h: Update declaration.
76317         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76318         string for the scope number.
76320 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76322         * nscd/servicescache.c (cache_addserv): Make sure written is always
76323         initialized.
76325 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76327         * sysdeps/i386/i486/bits/atomic.h
76328         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76329         statement expression, so as to suppress "set but not used" warning.
76330         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76332         * string/strncat.c (STRNCAT): Use prototype definition.
76334         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76335         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76336         -Iprograms here.
76337         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76338         (localedef-modules): Add localedef.
76339         (locale-modules): Add locale.
76341         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76342         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76343         to avoid a warning.
76345 2011-08-14  David S. Miller  <davem@davemloft.net>
76347         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76348         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76350 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76352         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76353         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76354         * elf/rtld.c (dl_main): Set l_name of vDSO.
76355         Call _dl_show_scope when DL_DEBUG_SCOPES.
76356         (process_dl_debug): Recognize scopes flag and also set it for all.
76357         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76358         Declare _dl_show_scope.
76360         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76361         (do_dlopen): Pass caller_dlopen to dl_open.
76362         (__libc_dlopen_mode): Initialize caller_dlopen.
76364         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76365         of libc.  Make tolower call locale-independent.  Optimize a bit by
76366         using isdigit instead of isalnum.
76367         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76369 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76371         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76372         was a dependency or dynamically loaded.
76374 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76376         * intl/l10nflist.c: Allow architecture-specific pop function.
76377         * sysdeps/x86_64/l10nflist.c: New file.
76379         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76380         classification.
76382 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76384         * include/dirent.h: Add libc_hidden_proto for scandirat and
76385         scandirat64.  Don't declare __scandirat64.
76386         * dirent/scandirat.c: Add libc_hidden_def.
76387         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76388         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76390 2011-08-10  David S. Miller  <davem@davemloft.net>
76392         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76393         enum.
76394         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76395         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76396         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76398 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76400         * Versions.def [libc]: Add GLIBC_2.15.
76401         * dirent/Makefile (routines): Add scandirat and scandirat64.
76402         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76403         GLIBC_2.15.
76404         * dirent/dirent.h: Declare scandirat and scandirat64.
76405         * dirent/scandirat.c: New file.
76406         * dirent/scandirat64.c: New file.
76407         * sysdeps/wordsize-64/scandirat.c: New file.
76408         * sysdeps/wordsize-64/scandirat64.c: New file.
76409         * dirent/opendir.c: Define opendirat.
76410         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76411         using scandirat.
76412         * dirent/scandir64.c: Adjust for scandir.c change.
76413         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76414         __scandirat64, and __scandir_cancel_handler.
76415         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76416         additional parameter and use openat instead of open (outside of ld.so).
76417         Add new __opendir as wrapper around __opendirat.
76418         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76419         here without requiring old scandirat implementation.
76421 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76423         * dirent/scandir.c (cancel_handler): Renamed to
76424         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76425         defined.  Adjust users.
76426         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76427         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76429 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76431         * string/test-string.h (IMPL): Use __STRING to expand name and then
76432         stringify it.
76434         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76435         of cleanups.
76437 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76439         * string/Makefile: Update.
76440         (strop-tests): Append strncat.
76441         * string/test-wcscmp.c: New file.
76442         New comprehensive test for wcscmp.
76443         * string/test-strcmp.c: Update.
76444         (WIDE): New define.
76446 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76448         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76449         line.
76451 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76454         encoding to ACE if AI_IDN.
76456 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76459         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76461 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76463         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76464         Fix overflow bug in strncat.
76465         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76467         * string/test-strncat.c: Update.
76468         Add new tests for checking overflow bugs.
76470 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76472         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76473         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76474         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76475         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76476         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76477         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76478         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76479         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76480         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76482         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76483         (USE_AS_STRCAT): Define.
76484         Add strcat and strncat support.
76485         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76487 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76489         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76490         __n bigger than INT_MAX+1.
76491         (__strncmp_g): Likewise.
76493 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76495         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76496         * libio/stido.h: Likewise.
76498         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76499         (AF_NFC): Define.
76500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76501         (AF_NFC): Define.
76503         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76504         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76505         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76506         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76507         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76509         [BZ #13021]
76510         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76511         installed.
76513         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76514         typo.
76515         (_dl_x86_64_save_sse): Likewise.
76517 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76520         OSXSAVE.
76521         (_dl_x86_64_save_sse): Likewise.
76523         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76525         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76527 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76529         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76530         change.
76531         (_dl_x86_64_save_sse): Use correct AVX check.
76533 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76535         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76536         bug in strncpy/strncat.
76537         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76539 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76541         * string/tester.c (test_strcat): Add tests for different alignments
76542         of source and destination.
76543         (test_strncat): Likewise.
76545 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76547         [BZ #12852]
76548         * posix/glob.c (glob): Check passed in values before using them in
76549         expressions to avoid some overflows.
76550         (glob_in_dir): Likewise.
76552         [BZ #13007]
76553         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76554         check for AVX enablement so that we don't crash with old kernels and
76555         new hardware.
76556         * elf/tst-audit4.c: Add same checks here.
76557         * elf/tst-audit6.c: Likewise.
76559         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76561 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76563         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76565 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76567         * po/cs.po: Update from translation team.
76568         * po/bg.po: Likewise.
76570 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76572         * misc/sys/cdefs.h: Add support for const attribute.
76573         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76574         to gnu_dev_{major,minor,makedev} functions.
76576 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76578         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76580 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76582         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76583         strlen results.
76585 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76588         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76589         register in order to avoid conflicts with the soft frame pointer
76590         being held in r11 when necessary.
76591         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76592         (INTERNAL_VSYSCALL_NCS): Likewise.
76594 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76596         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76597         * elf/dl-fini.c (_dl_fini): Adjust caller.
76598         * elf/dl-close.c (_dl_close_worker): Likewise.
76599         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76601 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76603         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76604         "aux_cache->nlibs < 0".
76606         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76607         in the reload-count case.
76609 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76612         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76613         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76614         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76615         * sysdeps/x86_64/multiarch/strcat.S: New file.
76616         * sysdeps/x86_64/multiarch/strncat.S: New file.
76617         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76618         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76619         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76620         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76621         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76622         (USE_AS_STRCAT): Define.
76623         Add strcat and strncat support.
76624         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76625         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76626         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76627         * string/strncat.c: Update.
76628         (USE_AS_STRNCAT): Define.
76629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76630         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76631         and i7.
76632         * sysdeps/x86_64/multiarch/init-arch.h
76633         (bit_Prefer_PMINUB_for_stringop): New.
76634         (index_Prefer_PMINUB_for_stringop): Likewise.
76635         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76636         bit_Prefer_PMINUB_for_stringop.
76638 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76640         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76641         buffer64.
76642         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76643         of casting of buffer.
76644         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76645         buffer32 and buffer64.
76646         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76647         writes instead of casting of buffer.
76648         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76649         buffer32.
76650         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76651         casting of buffer.
76653 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76655         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76657 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76659         * nscd/nscd.c (termination_handler): Don't do anything for a database
76660         if it has not yet been initialized.
76662 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76664         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76666 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76668         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76670 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76672         * po/nl.po: Update from translation team.
76673         * po/sv.po: Likewise.
76675 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76677         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76678         now disallowed by GCC.
76680         * configure.in (use-default-link): Default to yes if a test -shared
76681         link meets our qualifications.
76682         * configure: Regenerated.
76684         * config.make.in (output-format): New variable.
76685         * configure.in: Check for ld --print-output-format support.
76686         * configure: Regenerated.
76687         * Makerules ($(common-objpfx)format.lds)
76688         [$(output-format) != unknown]: Just use $(output-format),
76689         instead of the linker-script munging.
76691 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76693         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76694         of $(common-objpfx)shlib.lds.
76695         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76697         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76698         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76700         * configure.in (-z relro check): Adjust test code to add a large
76701         writable data section after it.
76702         * configure: Regenerated.
76704 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76706         * configure.in (-z relro check): Fix test code to make the variable
76707         truly const.
76708         * configure: Regenerated.
76710 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76712         * nscd/nscd.h (struct traced_file): Define.
76713         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76714         elements.  Add traced_files.
76715         (inotify_fd): Declare.
76716         (register_traced_file): Declare.
76717         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76718         (inotify_fd): Export.
76719         (resolv_conf_descr): Remove.
76720         (nscd_init): Move inotify descriptor creation to main.
76721         Don't register files for notification here.
76722         (register_traced_file): New function.
76723         (invalidate_cache): Don't use reset_res to determine whether to call
76724         res_init, go through the list of registered files.
76725         (main_loop_poll): The inotify descriptors are now stored in the
76726         structures for the traced files.
76727         (main_loop_epoll): Likewise.
76728         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76729         to __nss_disable_nscd.
76730         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76731         for a database anymore.  Check the records for all the registered
76732         files instead.
76733         * nss/Makefile (libnss_files-routines): Add files-init.
76734         (libnss_db-routines): Add db-init.
76735         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76736         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76737         * nss/nss_db/db-init.c: New file.
76738         * nss/nss_files/files-init.c: New file.
76739         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76740         __nss_lookup_function.
76741         (__nss_lookup_function): Call nss_load_library.
76742         (nss_load_all_libraries): New function.
76743         (__nss_disable_nscd): Take parameter with callback function for files
76744         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76745         used for the cached services.
76746         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76747         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76748         options for features to all the files in nscd.
76750         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76752 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76754         * csu/elf-init.c (__libc_csu_init): Comment typo.
76756 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76758         * po/pl.po: Update from translation team.
76759         * po/ja.po: Likewise.
76760         * po/ru.po: Likewise.
76761         * po/ko.po: Likewise.
76762         * po/fr.po: Likewise.
76764 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76766         * configure.in (.ctors/.dtors header and trailer check):
76767         Use an empirical test on a built program.
76768         * configure: Regenerated.
76770         * configure.in (-z relro check): Use an empirical test on a built DSO.
76771         Detect, but do not require, on ia64.
76772         * configure: Regenerated.
76774         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76775         Update tests that use readelf to use $READELF instead.
76776         * configure: Regenerated.
76778 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76780         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76781         if the result is not used.
76783 2011-07-05  Andreas Jaeger  <aj@suse.de>
76785         [BZ#9696]
76786         * stdlib/tst-strtod.c: Add testcase.
76788 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76790         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76791         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76792         The latter has a higher limit.  Take additional parameter to pass to
76793         the new function.
76794         (__pathconf): Pass file to __statfs_link_max.
76795         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76796         __statfs_link_max.
76797         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76798         __statfs_link_max.
76800         [BZ #12868]
76801         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76802         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76803         Handle Lustre.
76804         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76805         (__statfs_filesize_max): Likewise.
76806         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76808 2011-07-05  Andreas Jaeger  <aj@suse.de>
76810         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76812 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76814         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76815         `status' variable.
76816         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76817         Likewise.
76819 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76821         * Makefile (strop-tests): Add strncat.
76822         * string/test-strncat.c: New file.
76824 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76826         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76828 2011-06-21  Andreas Jaeger  <aj@suse.de>
76830         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76831         Copy rule from iconvdata/Makefile.
76833 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76835         [BZ #12922]
76836         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76837         but no long options are defined, just return 'W'.
76839 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76841         [BZ #9696]
76842         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76844 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76846         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76847         netgroups to read.
76848         (innetgr): Likewise.
76850 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76852         * config.make.in (install_root): Default to $(DESTDIR).
76854 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76856         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76858 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76860         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76862         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76863         containing directory rather than embedding absolute directory names.
76865         * scripts/check-local-headers.sh: Rewritten using awk.
76866         Match by word, not by line.  Print error messages for matches.
76867         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76869         * Makerules [shlib-lds-flags empty]:
76870         ($(common-objpfx)libc_pic.opts): New target.
76871         ($(common-objpfx)libc_pic.os.clean): New target.
76872         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76874         * config.make.in (OBJCOPY): New variable.
76875         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76876         * configure: Regenerated.
76878         * config.make.in (use-default-link): New variable.
76879         * configure.in (use_default_link): Grok --with-default-link to set it.
76880         * configure: Regenerated.
76881         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76882         (shlib-lds, shlib-lds-flags): Define to empty.
76884         * Makerules (shlib-lds): New variable.
76885         (shlib-lds-flags): New variable.
76886         (build-shlib, build-moduile, build-module-asneeded): Use it.
76887         ($(common-objpfx)libc.so): Use $(shlib-lds).
76888         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76889         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76891         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76892         DT_FLAGS/DT_FLAGS_1 with zero flags.
76894         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76895         linker script munging.
76897 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76899         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76900         as 128-bit value.
76901         * crypt/sha512.c (sha512_process_block): Perform total addition using
76902         128-bit if possible.
76903         (__sha512_finish_ctx): Likewise.
76904         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76905         as 64-bit value.
76906         * crypt/sha256.c (SWAP64): Define.
76907         (sha256_process_block): Perform total addition using 64-bit if
76908         possible.
76909         (__sha256_finish_ctx): Likewise.
76911 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76913         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76914         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76915         * nscd/hstcache.c (cache_addhst): Likewise.
76916         * nscd/grpcache.c (cache_addgr): Likewise.
76917         * nscd/aicache.c (addhstaiX): Likewise.
76918         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76920 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76922         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76923         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76924         * nscd/hstcache.c (cache_addhst): Likewise.
76925         * nscd/grpcache.c (cache_addgr): Likewise.
76926         * nscd/aicache.c (addhstaiX): Likewise.
76928 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76930         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76931         domain only when needed.
76933 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76936         is always restored.
76938 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76940         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76941         are re-adding the entry.
76942         * nscd/servicescache.c (cache_addserv): Likewise.
76944 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76946         * sysdeps/generic/dl-irel.h: fix protection against multiple
76947         inclusions.
76948         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76950 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76952         [BZ #12935]
76953         * malloc/memusage.sh: Fix quoting in message.
76954         * debug/xtrace.sh: Likewise.
76956         * configure.in: Remove support for --experimental-malloc option, make
76957         it the default.
76958         * config.make.in: Likewise.
76959         * malloc/Makefile: Likewise.
76961 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76963         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76964         two-byte characters.
76966 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76968         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76969         AC_CACHE_CHECK invocation.
76970         * configure: Regenerated.
76972         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76974 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76976         [BZ #12350]
76977         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76978         bit from old_res_options.
76980         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76982         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76983         value type for setfct.
76985 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76987         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76988         __gettimeofday instead of gettimeofday.
76990 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76992         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76994 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76996         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76998         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76999         info.
77001 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77004         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77005         strcpy-sse2-unaligned strncpy-sse2-unaligned
77006         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77007         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77008         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77009         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77010         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77011         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77012         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77013         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77014         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77015         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77016         (STRCPY): Support SSE2 and SSSE3 versions.
77018 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77020         [BZ #12874]
77021         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77022         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77023         kernels which artificially limit size of requests.
77025 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77027         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77028         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77029         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77030         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77031         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77032         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77033         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77034         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77035         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77036         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77037         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77038         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77039         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77040         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77041         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77043         Enable unaligned load optimization for Intel Core i3, i5 and i7
77044         processors.
77045         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77046         Define.
77047         (index_Fast_Unaligned_Load): Define.
77048         (HAS_FAST_UNALIGNED_LOAD): Define.
77050 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77052         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77054 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77056         [BZ #12907]
77057         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77058         until it is clear that the information is realy needed.
77059         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77061 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77065 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77067         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77068         /sys/devices/system/cpu/online if it is usable.
77070         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77071         reading the information from the /proc filesystem to once a second.
77073 2011-06-21  Andreas Jaeger  <aj@suse.de>
77075         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77076         NULL after inclusion of kernel headers.
77078 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77080         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77081         calls to internal_setent.
77083         [BZ #12885]
77084         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77085         addresses using gethostbyname4_r ignore IPv4 addresses.
77087         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77088         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77090         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77092 2011-06-20  David S. Miller  <davem@davemloft.net>
77094         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77095         inclusions.
77096         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77098         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77099         (elf_irel): Use it.
77100         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77101         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77102         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77103         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77104         * sysdeps/x86_64/dl-irel.h: Likewise.
77106         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77107         * elf/dl-sym.c: Likewise.
77109 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77111         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77112         need to dereference resplen2.
77114 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77116         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77118 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77120         * Makeconfig: Define vardbdir and inst_vardbdir.
77121         * nss/Makefile: Add rules to install db-Makefile.
77123         * nss/nss_db/db-XXX.c: Cleanup.
77125         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77126         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77127         GLIBC_PRIVATE.
77128         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77129         * nss/makedb.c: Implement -g option to specify that value strings
77130         are generated and should not be added to table iterated over for
77131         get*ent calls.
77132         * nss/nss_db/db-initgroups.c: New file.
77134         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77135         interface.
77137         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77138         (internal_getgrouplist): Adjust to name change.
77139         Update use_initgroups_entry if this is not the first call.
77140         * nss/databases.def: Add initgroups entry.
77142         * nss/makedb.c (compute_tables): Check result of multiple hash table
77143         sizes to minimize maximum chain length.
77145 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77147         * Versions.def: Add entry for libnss_db.
77148         * shlib-versions: Likewise.
77149         * nss/Makefile: Add rules to build libnss_db.
77150         * nss/Versions: Add libnss_db information.  Organize libnss_files
77151         entries better.
77152         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77153         makedb progra.  Some minor improvements to generate smaller files.
77154         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77155         here from...
77156         * nss/makedb.c: ...here.
77157         Improve database format to be smaller and require less memory at
77158         runtime.
77159         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77160         db anymore.
77161         * nss/nss_db/db-netgrp.c: Likewise.
77162         * nss/nss_db/db-open.c: Likewise.
77163         * nss/nss_files/flies-XXX.x: Adjust comments.
77164         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77165         * nss/nss_files/files-grp.c: Likewise.
77166         * nss/nss_files/files-hosts.c: Likewise.
77167         * nss/nss_files/files-network.c: Likewise.
77168         * nss/nss_files/files-proto.c: Likewise.
77169         * nss/nss_files/files-pwd.c: Likewise.
77170         * nss/nss_files/files-rpc.c: Likewise.
77171         * nss/nss_files/files-service.c: Likewise.
77172         * nss/nss_files/files-sgrp.c: Likewise.
77173         * nss/nss_files/files-spwd.c: Likewise.
77174         * nss/nss_db/db-alias.c: Removed.
77175         * nss/nss_db/dummy-db.h: Removed.
77177 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77179         * nss/makedb.c: Rewritten to not use database library.
77180         * nss/Makefile: Update to build new makedb program.
77182 2011-06-14  Andreas Jaeger  <aj@suse.de>
77184         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77185         memset declaration.
77187 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77190         tmpbuf.
77192 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77194         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77195         * elf/Makefile ($(objpfx)ld.so): Likewise.
77197         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77198         Don't list ld.so twice in dependencies.
77200         * posix/bug-regex31.c: Include <stdlib.h>.
77202         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77204         * nis/nss_compat/compat-spwd.c
77205         (getspent_next_nss_netgr): Remove unused variable.
77206         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77208         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77209         nonmembers" output to use the right array.
77211         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77213         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77215         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77216         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77217         * catgets/gencat.c (read_input_file): Likewise.
77218         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77220         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77221         variable definition inside #if's controlling its use.
77223         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77225         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77227         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77229         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77230         unreachable code.
77232         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77234         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77235         * configure: Regenerated.
77237         * Makerules: Revert last change.
77238         * elf/Makefile: Likewise.
77240 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77242         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77243         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77244         (reloc-link): Likewise.
77246 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77248         * elf/Makefile: Add rules to build pldd.
77249         * elf/pldd.c: New file.
77250         * elf/pldd-xx.c: New file.
77252 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77254         * version.h: Update for 2.15 development version.
77256 2011-06-07  David S. Miller  <davem@davemloft.net>
77258         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77259         ifuncs.
77260         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77261         elf_machine_lazy_rel): Likewise.
77262         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77263         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77264         elf_machine_lazy_rel): Likewise.
77265         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77266         dl_hwcap via passed in argument.
77267         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77268         Likewise.
77270 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77272         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77274 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77276         [BZ #12849]
77277         * manual/fdl-1.1.texi: New file, verbatim from:
77278         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77279         * manual/lgpl-2.1.texi: New file, verbatim from:
77280         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77281         * manual/Makefile (licenses): New variable, list those new file names.
77282         (texis): Use it.
77283         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77285         * manual/fdl.texi: File removed.
77286         * manual/lesser.texi: File removed.
77287         * manual/libc.texinfo (Copying, Documentation License):
77288         Use new @include file names, put @appendix directive before @include.
77290 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77292         [BZ #12841]
77293         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77294         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77295         (mq_open): Add __NTH.
77297 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77300         Assume Intel Core i3/i5/i7 processor if AVX is available.
77302 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77305         typo.
77307 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77309         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77310         memory.  Use alloca_account.  Fix memory leak when retrying.
77312 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77314         * version.h (RELEASE): Bump for 2.14 release.
77315         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77317         * config.make.in (RANLIB): Remove entry.
77319 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77321         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77322         (libc.pot): Work around missing support for .ksh extension in xgettext.
77324         [BZ #12684]
77325         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77326         if both request failed.
77327         (send_dg): In case of server errors clear resplen or *resplen2.
77329         [BZ #12454]
77330         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77331         when there are multiple maps.
77332         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77333         (_dl_fini): Remove test here.
77335         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77337 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77339         [BZ #12350]
77340         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77341         bit from old_res_options.
77342         (gaih_inet): Likewise.
77344         [BZ #11099]
77345         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77346         as signed.
77348         * resolv/res_init.c (res_setoptions): Make the code more compact.
77350         [BZ #11558]
77351         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77352         set RES_USEVC.
77354         [BZ #11634]
77355         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77357         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77359         [BZ #11781]
77360         * malloc/malloc.h: Declare malloc hook variables as volatile.
77362         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77363         in last patch.
77365         [BZ #11799]
77366         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77367         raise in the comment.
77368         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77369         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77370         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77372 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77374         [BZ #12811]
77375         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77376         grow the buffers more if it already has to be sufficient.
77377         (build_wcs_upper_buffer): Likewise.
77378         * posix/regexec.c (check_matching): Likewise.
77379         (clean_state_log_if_needed): Likewise.
77380         (extend_buffers): Don't enlarge buffers beyond size of the input
77381         buffer.
77382         Patches mostly by Emil Wojak <emil@wojak.eu>.
77383         * posix/bug-regex32.c: New file.
77384         * posix/Makefile (tests): Add bug-regex32.
77386         * locale/findlocale.c (_nl_find_locale): Return right away if
77387         _nl_explode_name failed.
77388         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77390         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77392         * debug/xtrace.sh: Unify messages.
77393         * malloc/memusage.sh: Likewise.
77395         [BZ #12813]
77396         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77397         time symbol from vDSO.  Substitute with vsyscall if not available.
77398         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77399         __vdso_time.
77401         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77402         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77403         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77404         Add sendmmsg and internal_sendmmsg.
77405         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77406         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77407         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77409         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77410         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77411         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77413 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77415         [BZ #12813]
77416         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77417         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77418         available.
77419         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77420         __vdso_getcpu.
77422         [BZ #12814]
77423         * iconvdata/Makefile (tests): Add bug-iconv9.
77424         * iconvdata/bug-iconv9.c: New file.
77426 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77428         [BZ #12814]
77429         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77431 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77433         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77434         (struct user_regs_struct): Change intcs field back to cs.
77436 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77438         * po/ja.po: Update from translation team.
77440 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77442         [BZ #12795]
77443         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77444         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77446 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77448         * stdlib/longlong.h: Update from GCC.
77450 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77452         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77453         parameter name.
77454         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77455         Add parameter name.
77456         (__sysconf): Pass it down.
77458 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77460         [BZ #12671]
77461         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77462         some situations.
77463         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77464         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77465         add in in __libc_use_alloca calls.  Adjust callers.
77466         (glob): Use malloc in some situations.
77468         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77469         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77470         pltexit.
77472 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77474         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77475         and CLOCK_BOOTTIME_ALARM.
77477         [BZ #12782]
77478         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77479         is returned.
77481         * string/_strerror.c (__strerror_r): Print negative errors as signed
77482         numbers.
77484         [BZ #12777]
77485         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77486         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77487         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77489         * configure.in: Fix typo in redirection and correct removal of test
77490         files in two cases.
77492         [BZ #12788]
77493         * locale/setlocale.c (new_composite_name): Fix test to check for
77494         identical name of all categories.
77496         [BZ #12792]
77497         * libio/filedoalloc.c (local_isatty): New function.
77498         (_IO_file_doallocate): Use local_isatty.
77499         * stdio-common/perror.c (perror): In case a new stream is used
77500         forward the stream error.
77501         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77502         error flag.
77504 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77506         [BZ #11884]
77507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77508         alloca.
77509         * include/alloca.h (extend_alloca_account): Define.
77511         [BZ #11857]
77512         * posix/regex.h: Fix comments with documentation of user-accessible
77513         fields after compilation and describe correct free'ing of pattern
77514         after re_compile_pattern.
77515         Patch by Reuben Thomas <rrt@sc3d.org>.
77517 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77519         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77520         and -mno-altivec to prevent the compiler from using Altivec and/or
77521         VSX instructions when the corresponding registers are not available.
77523 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77525         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77527 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77529         * libio/freopen.c (freopen): Use __dup2, not dup2.
77530         * libio/freopen64.c (freopen64): Likewise.
77532 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77534         [BZ #12775]
77535         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77536         * math/Makefile (tests): Add test-powl.
77537         (CFLAGS-test-powl.c): Define.
77538         * math/test-powl.c: New file.
77540 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77542         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77544 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77546         [BZ #11837]
77547         * iconvdata/gb18030.c: Update to GB18020-2005.
77549 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77551         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77552         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77553         Patch by Aharon Robbins <arnold@skeeve.com>.
77555         [BZ #11892]
77556         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77557         on the stack.
77559         [BZ #11895]
77560         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77561         through underflows.
77563         [BZ #12766]
77564         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77565         point to strings before performing equality test for error_one_per_line
77566         mode.
77568         [BZ #11697]
77569         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77571         [BZ #11820]
77572         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77573         (struct user_fpregs_struct): Avoid __uint*_t types.
77575         [BZ #6420]
77576         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77577         symbol info.  Use it instead of calling _dl_addr locally.
77578         (lock_and_info): New function.
77579         (tr_freehook): Call lock_and_info and pass symbol info as additional
77580         parameter to tr_where.
77581         (tr_mallochook): Likewise.
77582         (tr_reallochook): Likewise.
77583         (tr_memalignhook): Likewise.
77585         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77586         used and couldn't be at all thread-safe.
77588 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77590         * libio/freopen.c (freopen): Don't close old file descriptor
77591         before the new one is opened.  Instead dup the new file descriptor
77592         to the old one after the new stream is created.
77593         * libio/freopen64.c (freopen64): Likewise.
77594         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77595         * libio/fileops.c (_IO_new_file_close_it): Handle new
77596         _IO_FLAGS2_NOCLOSE flag.
77597         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77598         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77599         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77600         _IO_FLAGS2_NOCLOSE flag.
77601         * include/unistd.h: Add hidden_proto for dup3.
77602         Define __have_dup3.
77603         * io/dup3.c: Define hidden symbol.
77604         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77606         [BZ #7101]
77607         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77608         when an incomplete long option is used.
77609         * posix/tst-getopt_long1.c: New file.
77610         * posix/Makefile (tests): Add tst-getopt_long1.
77612         [BZ #10138]
77613         * scripts/config.guess: Update from autoconf-2.68.
77614         * scripts/config.sub: Likewise.
77616         [BZ #10157]
77617         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77618         tests into ...
77619         (has_cpuclock): ...this.  New function.
77620         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77621         macro here based on has_cpuclock code.
77623         [BZ #10149]
77624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77625         First byte (not low byte) is now always NUL.
77626         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77628         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77629         Use non-cancelable interfaces.
77631         [BZ #9809]
77632         * locale/iso-639.def: Add entry for Sorani.
77634         [BZ #11901]
77635         * include/stdlib.h: Move include protection to the right place.
77636         Define abort_msg_s.  Declare __abort_msg with it.
77637         * stdlib/abort.c (__abort_msg): Adjust type.
77638         * assert/assert.c (__assert_fail_base): New function.  Majority
77639         of code from __assert_fail.  Allocate memory for __abort_msg with
77640         mmap.
77641         (__assert_fail): Now call __assert_fail_base.
77642         * assert/assert-perr.c: Remove bulk of implementation.  Use
77643         __assert_fail_base.
77644         * include/assert.hL Declare __assert_fail_base.
77645         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77646         mmap.
77647         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77649 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77651         [BZ #11952]
77652         [BZ #12453]
77653         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77654         until all modules are registered in the DTV.
77655         * elf/Makefile: Add rules to build and run tst-tls19.
77656         * elf/tst-tls19.c: New file.
77657         * elf/tst-tls19mod1.c: New file.
77658         * elf/tst-tls19mod2.c: New file.
77659         * elf/tst-tls19mod3.c: New file.
77660         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77662         [BZ #12083]
77663         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77664         correctly.
77666         [BZ #12601]
77667         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77668         two-byte sequence errors.
77669         * iconvdata/Makefile (tests): Add bug-iconv8.
77670         * iconvdata/bug-iconv8.c: New file.
77672         [BZ #12626]
77673         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77674         buf2 definition.
77676         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77678         [BZ #12432]
77679         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77680         (dummy_getcfa): New function.
77681         (init): Get _Unwind_GetCFA address, use dummy if not found.
77682         (backtrace_helper): In recursion check, also check whether CFA changes.
77683         (__backtrace): Completely initialize arg.
77685         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77686         storing incomplete byte sequence in state object.  Avoid testing for
77687         guaranteed too small input if we know there is enough data available.
77689 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77691         * Makeconfig (+link-pie): Indent.
77692         * Rules (binaries-pie): Define if $(have-fpie) and
77693         $(build-shared).
77694         (binaries-shared): Also filter out $(binaries-pie).
77695         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77696         * nscd/Makefile (others-pie): Add nscd.
77697         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77698         ($(objpfx)nscd): Remove command override.
77699         * login/Makefile (others-pie): Add pt_chown.
77700         ($(objpfx)pt_chown): Remove command override.
77701         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77702         remove command overrides.
77704 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77706         * libio/tst_putwc.c: Fix error messages.
77708         [BZ #12724]
77709         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77710         currently writing and seek to current position when not.
77711         * libio/Makefile (tests): Add bug-fclose1.
77712         * libio/bug-fclose1.c: New file.
77714 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77716         [BZ #12511]
77717         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77718         don't set DF_1_NODELETE here.
77719         (do_lookup_x): When entering new entry test for copy relocation
77720         and if necessary set DF_1_NODELETE flag.
77721         * elf/tst-unique4.cc: New file.
77722         * elf/tst-unique4.h: New file.
77723         * elf/tst-unique4lib.cc: New file.
77724         * elf/Makefile: Add rules to build and run tst-unique4.
77725         Patch by Piotr Bury <pbury@goahead.com>.
77727 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77729         [BZ #12052]
77730         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77732         [BZ #12625]
77733         * misc/mntent_r.c (addmntent): Flush the stream after the output
77735         [BZ #12393]
77736         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77737         (is_trusted_path_normalize): Skip initial colon.  Append slash
77738         to empty buffer.  Duplicate is_trusted_path code but allow
77739         constructed patch to be prefix.
77740         (is_dst): Allow $ORIGIN followed by /.
77741         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77742         Correct testing of result of is_trusted_path_normalize
77743         (decompose_rpath): Fix warning.
77745 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77747         [BZ #11257]
77748         * grp/initgroups.c (internal_getgrouplist): When we found the service
77749         list through the initgroups entry in nsswitch.conf do not always
77750         continue on a successful lookup.  Don't always use the
77751         __nss_group_database value if it is set.
77752         * nss/nsswitch.conf (initgroups): Change action for successful db
77753         lookup to continue for compatibility.
77755 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77757         [BZ #11532]
77758         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77759         and CP774 modules.
77760         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77761         and CP774 modules.
77762         * iconvdata/tst-tables.sh: Likewise.
77763         * iconvdata/cp770.c: New file.
77764         * iconvdata/cp771.c: New file.
77765         * iconvdata/cp772.c: New file.
77766         * iconvdata/cp773.c: New file.
77767         * iconvdata/cp774.c: New file.
77768         * iconvdata/testdata/CP770: New file.
77769         * iconvdata/testdata/CP770..UTF8: New file.
77770         * iconvdata/testdata/CP771: New file.
77771         * iconvdata/testdata/CP771..UTF8: New file.
77772         * iconvdata/testdata/CP772: New file.
77773         * iconvdata/testdata/CP772..UTF8: New file.
77774         * iconvdata/testdata/CP773: New file.
77775         * iconvdata/testdata/CP773..UTF8: New file.
77776         * iconvdata/testdata/CP774: New file.
77777         * iconvdata/testdata/CP774..UTF8: New file.
77779         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77780         END CHARMAP line.
77781         * iconvdata/gen-8bit-gap.sh: Likewise.
77782         * iconvdata/gen-8bit.sh: Likewise.
77784         * locale/iso-639.def: Add ary entry.
77786         [BZ #11258]
77787         * locale/C-translit.h.in: Add U20A1 transliteration.
77789         [BZ #12178]
77790         * locale/iso-639.def: Add wae entry.
77791         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77793         [BZ #12545]
77794         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77795         for n.
77797         [BZ #12711]
77798         * locale/C-translit.h.in: Add entry for U20B9.
77799         Patch by pravin.d.s@gmail.com.
77801 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77803         [BZ #12713]
77804         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77805         ENAMETOOLONG use generic getcwd.
77806         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77807         in rtld.  Use *stat64.
77808         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77809         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77810         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77811         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77812         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77813         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77814         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77815         __fstatat64 macros.
77816         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77817         * dirent/rewinddir.c: Add libc_hidden_def.
77818         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77819         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77821         * include/dirent.h (__alloc_dir): Add flags parameter.
77822         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77823         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77824         __alloc_dir.
77825         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77826         from fdopendir if O_CLOEXEC is already set.
77828 2011-03-15  Alan Modra  <amodra@gmail.com>
77830         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77831         l_tls_firstbyte_offset non-zero.  Save padding offset in
77832         l_tls_firstbyte_offset for later use.
77833         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77834         freeing static tls block.
77836 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77838         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77839         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77840         being defined by the kernel headers.
77842 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77844         [BZ #12734]
77845         * resolv/resolv.h: Define RES_NOTLDQUERY.
77846         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77847         no-tld-query and set RES_NOTLDQUERY.
77848         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77849         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77850         modern BIND to search name as TLD unless forbidden.
77852 2011-05-07  Petr Baudis  <pasky@suse.cz>
77853             Ulrich Drepper  <drepper@gmail.com>
77855         [BZ #12393]
77856         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77857         (is_trusted_path): ...to here.
77858         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77859         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77860         using is_trusted_path_normalize() in setuid scripts.
77862 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77864         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77865         __BEGIN/__END_DECLS.
77867 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77869         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77870         NSS_STATUS_NOTFOUND if no record was found.
77872 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77874         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77875         (headers-not-in-tirpc): Remove rpc/netdb.h
77876         * resolv/netdb.h: Revert last change.
77878 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77880         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77881         circular dependency between libgcc.a and libc.a.
77883 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77885         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77886         * nis/Makefile: Don't install rpcsvc/*.
77887         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77888         instead of <rpc/types.h>.
77889         (MAXHOSTNAMELEN): Define.
77891 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77893         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77895 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77897         [BZ #12714]
77898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77899         gethostbyname4_r when IPv6 results are possible.
77901 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77903         [BZ #12723]
77904         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77905         _PC_PIPE_BUF handling.
77907 2011-04-30  Bruno Haible  <bruno@clisp.org>
77909         [BZ #12717]
77910         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77911         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77912         to 'int'.
77913         * inet/getnameinfo.c (getnameinfo): Likewise.
77915 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77917         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77918         to groups setting in database lookup.
77919         * nss/nsswitch.conf: Add initgroups entry.
77921 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77923         [BZ #12685]
77924         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77925         mode string.
77926         Patch by Eric Blake <eblake@redhat.com>.
77928 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77930         * sunrpc/Makefile (need-export-routines): Add svc_run.
77931         (routines): Remove svc_run.
77932         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77933         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77934         * sunrpc/svc_run.c (svc_run): Likewise.
77935         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77937 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77939         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77940         problem in reallocation in last patch.
77942 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77944         * sunrpc/Makefile: Move inclusion of Rules.
77946 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77948         * nss/nss_files/files-initgroups.c: New file.
77949         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77950         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77951         _nss_files_initgroups_dyn.
77953 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77955         * elf/elf.h (R_ARM_IRELATIVE): Define.
77957 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77959         * po/ru.po: Update from translation team.
77961 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77963         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77964         dependencies.
77966 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77968         [BZ #12653]
77969         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77970         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77971         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77972         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77973         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77975 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77977         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77978         differing bytes.
77979         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77980         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77981         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77983 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77985         [BZ #12420]
77986         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77987         storing it.
77988         * stdlib/bug-getcontext.c: New file.
77989         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77991 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77993         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77994         instructions into .machine "z9-109".
77995         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77996         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77998 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78000         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78001         between environment variables and auxiliary vector.
78003 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78005         * Makefile: Add rules to build linkobj/libc.so.
78006         * include/libc-symbols.h: Define libc_hidden_nolink.
78007         * include/rpc/auth.h: Mark functions which are to be hidden.
78008         * include/rpc/auth_des.h: Likewise.
78009         * include/rpc/auth_unix.h: Likewise.
78010         * include/rpc/clnt.h: Likewise.
78011         * include/rpc/des_crypt.h: Likewise.
78012         * include/rpc/key_prot.h: Likewise.
78013         * include/rpc/pmap_clnt.h: Likewise.
78014         * include/rpc/pmap_prot.h: Likewise.
78015         * include/rpc/pmap_rmt.h: Likewise.
78016         * include/rpc/rpc_msg.h: Likewise.
78017         * include/rpc/svc.h: Likewise.
78018         * include/rpc/svc_auth.h: Likewise.
78019         * include/rpc/xdr.h: Likewise.
78020         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78021         * nss/Makefile: Likewise.
78022         * sunrpc/Makefile: Don't install headers.  Build library with normal
78023         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78024         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78025         for the compat linking library.  Remove use of INTDEF/INTUSE.
78026         * sunrpc/auth_none.c: Likewise.
78027         * sunrpc/auth_unix.c: Likewise.
78028         * sunrpc/authdes_prot.c: Likewise.
78029         * sunrpc/authuxprot.c: Likewise.
78030         * sunrpc/clnt_gen.c: Likewise.
78031         * sunrpc/clnt_perr.c: Likewise.
78032         * sunrpc/clnt_raw.c: Likewise.
78033         * sunrpc/clnt_simp.c: Likewise.
78034         * sunrpc/clnt_tcp.c: Likewise.
78035         * sunrpc/clnt_udp.c: Likewise.
78036         * sunrpc/clnt_unix.c: Likewise.
78037         * sunrpc/des_crypt.c: Likewise.
78038         * sunrpc/des_soft.c: Likewise.
78039         * sunrpc/get_myaddr.c: Likewise.
78040         * sunrpc/key_call.c: Likewise.
78041         * sunrpc/key_prot.c: Likewise.
78042         * sunrpc/netname.c: Likewise.
78043         * sunrpc/pm_getmaps.c: Likewise.
78044         * sunrpc/pm_getport.c: Likewise.
78045         * sunrpc/pmap_clnt.c: Likewise.
78046         * sunrpc/pmap_prot.c: Likewise.
78047         * sunrpc/pmap_prot2.c: Likewise.
78048         * sunrpc/pmap_rmt.c: Likewise.
78049         * sunrpc/publickey.c: Likewise.
78050         * sunrpc/rpc_cmsg.c: Likewise.
78051         * sunrpc/rpc_common.c: Likewise.
78052         * sunrpc/rpc_dtable.c: Likewise.
78053         * sunrpc/rpc_prot.c: Likewise.
78054         * sunrpc/rpc_thread.c: Likewise.
78055         * sunrpc/rtime.c: Likewise.
78056         * sunrpc/svc.c: Likewise.
78057         * sunrpc/svc_auth.c: Likewise.
78058         * sunrpc/svc_authux.c: Likewise.
78059         * sunrpc/svc_raw.c: Likewise.
78060         * sunrpc/svc_run.c: Likewise.
78061         * sunrpc/svc_simple.c: Likewise.
78062         * sunrpc/svc_tcp.c: Likewise.
78063         * sunrpc/svc_udp.c: Likewise.
78064         * sunrpc/svc_unix.c: Likewise.
78065         * sunrpc/svcauth_des.c: Likewise.
78066         * sunrpc/xcrypt.c: Likewise.
78067         * sunrpc/xdr.c: Likewise.
78068         * sunrpc/xdr_array.c: Likewise.
78069         * sunrpc/xdr_float.c: Likewise.
78070         * sunrpc/xdr_intXX_t.c: Likewise.
78071         * sunrpc/xdr_mem.c: Likewise.
78072         * sunrpc/xdr_rec.c: Likewise.
78073         * sunrpc/xdr_ref.c: Likewise.
78074         * sunrpc/xdr_sizeof.c: Likewise.
78075         * sunrpc/xdr_stdio.c: Likewise.
78077 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78079         [BZ #12650]
78080         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78081         * sysdeps/ia64/dl-tls.h: Likewise.
78082         * sysdeps/powerpc/dl-tls.h: Likewise.
78083         * sysdeps/s390/dl-tls.h: Likewise.
78084         * sysdeps/sh/dl-tls.h: Likewise.
78085         * sysdeps/sparc/dl-tls.h: Likewise.
78086         * sysdeps/x86_64/dl-tls.h: Likewise.
78087         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78089 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78091         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78092         rpath element also skip the following colon.
78093         (expand_dynamic_string_token): Add is_path parameter and pass
78094         down to DL_DST_REQUIRED and _dl_dst_substitute.
78095         (decompose_rpath): Call expand_dynamic_string_token with
78096         non-zero is_path.  Ignore empty rpaths.
78097         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78098         with zero is_path.
78100 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78103         Make cancelable.
78105 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78107         [BZ #12655]
78108         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78109         Patch by Filipe David Manana <fdmanana@apache.org>.
78111 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78113         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78114         Maintain aligned stack.
78115         (CHECK_RSP): Remove unused macro.
78117 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78119         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78120         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78122 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78124         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78126         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78128 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78130         [BZ #12518]
78131         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78132         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78133         * sysdeps/x86_64/memmove.c: New file.
78134         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78135         (memcpy): Renamed to ...
78136         (__new_memcpy): This.
78137         (memcpy): Provide GLIBC_2_14 memcpy.
78138         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78139         (memcpy): Provide GLIBC_2_2_5 memcpy.
78141 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78143         [BZ #12631]
78144         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78146 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78148         * misc/syncfs.c: New file.
78149         * misc/Makefile (routines): Add syncfs.
78150         * posix/unistd.h: Declare syncfs.
78151         * sysdeps/unix/syscalls.list: Add syncfs.
78153 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78155         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78156         open_by_handle_at.
78157         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78158         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78159         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78160         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78161         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78162         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78165 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78167         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78168         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78169         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78170         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78171         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78173         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78175         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78176         sync_file_range.c with -fexceptions.
78177         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78178         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78179         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78180         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78181         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78182         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78183         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78184         sync_file_range as cancellation point
78185         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78186         now a wrapper around __call_sync_file_range with cancellation handling.
78187         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78188         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78189         function name to __call_sync_file_range.
78190         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78191         Add call_sync_file_range.
78193 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78196         bits/timex.h.
78198 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78200         * iconv/iconv.h: Fix typo in comment.
78201         * io/fcntl.h: Likewise.
78202         * libio/stdio.h: Likewise.
78203         * posix/spawn.h: Likewise.
78204         * posix/unistd.h: Likewise.
78205         * stdlib/stdlib.h: Likewise.
78206         * time/time.h: Likewise.
78207         * wcsmbs/wchar.h: Likewise.
78209         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78210         open_by_handle): Add.
78211         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78212         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78213         Augment a few comments.
78214         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78215         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78216         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78218         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78219         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78220         open_by_handle.
78222         * io/fcntl.h (AT_EMPTY_PATH): Define.
78224 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78226         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78227         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78228         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78229         to...
78230         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78231         * Versions.def: Add GLIBC_2.14.
78232         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78233         Export.
78235 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78237         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78238         round counter.
78239         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78241 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78243         [BZ #12597]
78244         * string/test-strncmp.c (do_page_test): New function.
78245         (check2): Likewise.
78246         (test_main): Call check2.
78247         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78249 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78251         [BZ #12587]
78252         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78253         Handle cache information in CPU leaf 4.
78254         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78256 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78258         [BZ #12583]
78259         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78260         character representation.
78261         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78263 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78265         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78266         END(__isnan) to END(__isnanf) to match function entry point/label
78267         EALIGN(__isnanf,...).
78269 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78271         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78273 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78275         [BZ #12510]
78276         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78277         copy from the symbol referenced in the relocation to initialize the
78278         used variable.
78279         Patch by Piotr Bury <pbury@goahead.com>.
78280         * elf/Makefile: Add rules to build and tst-unique3.
78281         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78282         * elf/tst-unique3.cc: New file.
78283         * elf/tst-unique3.h: New file.
78284         * elf/tst-unique3lib.cc: New file.
78285         * elf/tst-unique3lib2.cc: New file.
78287         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78289 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78291         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78292         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78293         to _start.
78295 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78297         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78298         to-be-loaded object along a path to loader is ld.so.
78300 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78301             Ulrich Drepper  <drepper@gmail.com>
78303         * sysdeps/x86_64/memset.S: After aligning destination, code
78304         branches to different locations depending on the value of
78305         misalignment, when multiarch is enabled. Fix this.
78307 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78309         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78310         Set _x86_64_preferred_memory_instruction for AMD processsors.
78311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78312         Set bit_Prefer_SSE_for_memop for AMD processors.
78314 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78316         * libio/fmemopen.c (fmemopen): Optimize a bit.
78318 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78320         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78322 2011-03-03  Roland McGrath  <roland@redhat.com>
78324         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78326 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78328         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78329         __bzero_ultra1 instead of __memset_ultra1.
78331 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78332             Ulrich Drepper  <drepper@gmail.com>
78334         [BZ #12509]
78335         * include/link.h (struct link_map): Add l_orig_initfini.
78336         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78337         returning unsuccessfully.
78338         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78339         close of a file loaded at startup, restore the original l_initfini
78340         list.
78341         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78342         list, store the pointer.
78343         * elf/Makefile ($(objpfx)noload-mem): New rule.
78344         (noload-ENV): Define.
78345         (tests): Add $(objpfx)noload-mem.
78346         * elf/noload.c: Include <memcheck.h>.
78347         (main): Call mtrace.  Close all opened handles.
78349 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78351         [BZ #12454]
78352         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78353         dependencies are missing.
78355 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78357         Fix __if_freereq crash: Unlike the generic version which uses free,
78358         Hurd needs munmap.
78359         * sysdeps/mach/hurd/ifreq.h: New file.
78361 2011-01-27  Petr Baudis  <pasky@suse.cz>
78362             Ulrich Drepper  <drepper@gmail.com>
78364         [BZ 12445]#
78365         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78366         to extend_alloca().
78367         * stdio-common/bug23.c: New file.
78368         * stdio-common/Makefile (tests): Add bug23.
78370 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78371             Ulrich Drepper  <drepper@gmail.com>
78373         [BZ #12489]
78374         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78375         before performing relro protection.  At old place add assertion
78376         to make sure nothing changed.
78378 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78379             Glauber de Oliveira Costa  <glommer@gmail.com>
78381         * elf/elf.h: Add new ARM TLS relocs.
78383 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78386         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78387         cast from r3.
78388         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78389         'tests' variable.
78390         * sysdeps/wordsize-64/tst-writev.c: New file.
78392 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78394         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78395         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78396         insns in _dl_start to prevent a TOC reference before relocs are
78397         resolved.
78399 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78401         [BZ #12469]
78402         * Makeconfig: Remove RANLIB definition.
78403         * Makerules: Don't use RANLIB.
78404         * aclocal.m4: Remove ranlib test.
78405         * configure.in: No need to check for ranlib.
78406         * elf/rtld-Rules: Don't use RANLIB.
78408 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78410         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78411         protection macro.
78412         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78413         inclusion protection macro.
78415         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78416         SIGRTMIN and SIGRTMAX and print information in that case only when
78417         SIGRTMIN is defined.
78419 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78421         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78422         arginfo fn returning -1.
78424         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78425         and thousands string is zero terminated.
78427 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78429         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78430         sysdeps/unix/sysv/linux/bits/socket.h.
78432 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78434         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78435         (__CPU_COUNT): Remove old macros.
78436         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78437         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78438         (__CPU_ALLOC, __CPU_FREE): Add macros.
78439         (__sched_cpualloc, __sched_cpufree): Add declarations.
78441 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78443         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78444         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78445         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78446         (readdhstai): Return value of addhstaiX call.
78447         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78448         (addgrbyX): Return value returned by cache_addgr.
78449         (readdgrbyname): Return value returned by addgrbyX.
78450         (readdgrbygid): Likewise.
78451         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78452         (addpwbyX): Return value returned by cache_addpw.
78453         (readdpwbyname): Return value returned by addhstbyX.
78454         (readdpwbyuid): Likewise.
78455         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78456         (addservbyX): Return value returned by cache_addserv.
78457         (readdservbyname): Return value returned by addservbyX:
78458         (readdservbyport): Likewise.
78459         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78460         (addhstbyX): Return value returned by cache_addhst.
78461         (readdhstbyname): Return value returned by addhstbyX.
78462         (readdhstbyaddr): Likewise.
78463         (readdhstbynamev6): Likewise.
78464         (readdhstbyaddrv6): Likewise.
78465         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78466         (readdinitgroups): Return value returned by addinitgroupsX.
78467         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78468         (prune_cache): Keep track of timeout value of re-added entries.
78469         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78470         * nscd/nscd.h: Adjust prototypes of readd* functions.
78472 2011-02-04  Roland McGrath  <roland@redhat.com>
78474         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78475         (nis_stats): Likewise.
78476         * nis/nis_modify.c (nis_modify): Likewise.
78477         * nis/nis_remove.c (nis_remove): Likewise.
78478         * nis/nis_add.c (nis_add): Likewise.
78480         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78482         * posix/fnmatch_loop.c: Add some consts.
78484         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78486 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78488         [BZ #12460]
78489         * config.make.in (config-cflags-novzeroupper): Define.
78490         * configure.in: Substitute libc_cv_cc_novzeroupper.
78491         * elf/Makefile (AVX-CFLAGS): Define.
78492         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78493         (CFLAGS-tst-auditmod4a.c): Likewise.
78494         (CFLAGS-tst-auditmod4b.c): Likewise.
78495         (CFLAGS-tst-auditmod6b.c): Likewise.
78496         (CFLAGS-tst-auditmod6c.c): Likewise.
78497         (CFLAGS-tst-auditmod7b.c): Likewise.
78498         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78500 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78502         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78503         function to the callback.
78504         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78506 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78508         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78509         of errno.
78511 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78513         [BZ #11724]
78514         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78515         of constructors.
78516         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78517         of destructors.
78518         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78520         [BZ #11724]
78521         * elf/Makefile: Add rules to build and run new test.
78522         * elf/tst-initorder.c: New file.
78523         * elf/tst-initorder.exp: New file.
78524         * elf/tst-initordera1.c: New file.
78525         * elf/tst-initordera2.c: New file.
78526         * elf/tst-initordera3.c: New file.
78527         * elf/tst-initordera4.c: New file.
78528         * elf/tst-initorderb1.c: New file.
78529         * elf/tst-initorderb2.c: New file.
78530         * elf/tst-order-a1.c: New file.
78531         * elf/tst-order-a2.c: New file.
78532         * elf/tst-order-a3.c: New file.
78533         * elf/tst-order-a4.c: New file.
78534         * elf/tst-order-b1.c: New file.
78535         * elf/tst-order-b2.c: New file.
78536         * elf/tst-order-main.c: New file.
78537         New test case by George Gensure <werkt0@gmail.com>.
78539 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78542         decoding ACE if AI_CANONIDN.
78544 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78546         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78548 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78550         * version.h (RELEASE): Bump for 2.13 release.
78551         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78553         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78555         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78556         MADV_NOHUGEPAGE.
78557         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78558         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78559         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78560         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78561         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78562         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78564         * posix/getconf.c: Update copyright year.
78565         * catgets/gencat.c: Likewise.
78566         * csu/version.c: Likewise.
78567         * debug/catchsegv.sh: Likewise.
78568         * debug/xtrace.sh: Likewise.
78569         * elf/ldconfig.c: Likewise.
78570         * elf/ldd.bash.in: Likewise.
78571         * elf/sprof.c (print_version): Likewise.
78572         * iconv/iconv_prog.c: Likewise.
78573         * iconv/iconvconfig.c: Likewise.
78574         * locale/programs/locale.c: Likewise.
78575         * locale/programs/localedef.c: Likewise.
78576         * malloc/memusage.sh: Likewise.
78577         * malloc/mtrace.pl: Likewise.
78578         * nscd/nscd.c (print_version): Likewise.
78579         * nss/getent.c: Likewise.
78581         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78582         PF_CAIF, and PF_ALG.
78583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78585 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78587         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78588         (modules-names): Use them.
78589         (ifunc-test-modules, ifunc-pie-tests): Define.
78590         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78591         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78592         (test-extras): Likewise.
78593         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78594         $(compile-command.c).
78595         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78596         (all-built-dso): Define.
78597         (check-textrel.out, check-execstack.out): Depend on it.
78599         * configure.in: Don't override --enable-multi-arch.
78601 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78603         [BZ #6812]
78604         * nscd/hstcache.c (tryagain): Define.
78605         (cache_addhst): Return tryagain not notfound for temporary errors.
78606         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78607         failed.
78609 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78611         [BZ #10563]
78612         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78613         to make the syscall.
78614         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78616         [BZ #12378]
78617         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78618         and fall back to matching as normal character if the string ends before
78619         the matching ']' is found.  This is what POSIX requires.
78620         * posix/testfnm.c: Adjust test result.
78621         * posix/globtest.sh: Adjust test result.  Add new test.
78622         * posix/tst-fnmatch.input: Likewise.
78623         * posix/tst-fnmatch2.c: Add new test.
78625 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78627         * elf/Makefile (check-execstack): Revert last change.  Depend on
78628         check-execstack.h.
78629         (check-execstack.h): New target.
78630         (generated): Add check-execstack.h.
78631         * elf/check-execstack.c: Include "check-execstack.h".
78632         (main): Revert last change.
78633         (handle_file): Return zero if GNU_STACK is absent and
78634         DEFAULT_STACK_PERMS doesn't include PF_X.
78636 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78638         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78639         in child fails because the descriptor is already closed.
78640         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78641         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78642         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78644         [BZ #12397]
78645         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78646         syscall.
78648         [BZ #10484]
78649         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78650         temporary buffer used to handle multi lookups locally.
78651         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78653 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78655         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78656         loader is ld.so.
78658 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78660         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78661         alignment for SSE2.
78663 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78665         [BZ #12394]
78666         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78667         characters.  When rounding increased number of integer digits recompute
78668         number of groups.
78669         * stdio-common/tst-grouping.c: New file.
78670         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78672 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78674         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78675         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78677         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78678         void.
78679         * bits/select.h: Likewise.
78681 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78683         * po/ja.po: Update from translation team.
78685 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78687         [BZ #11155]
78688         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78689         implementation just like for lxstat, fxstatat, et al.
78691 2010-12-27  Jim Meyering  <meyering@redhat.com>
78693         [BZ #12348]
78694         * posix/regexec.c (build_trtable): Return failure indication upon
78695         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78697 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78699         [BZ #12201]
78700         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78701         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78702         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78703         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78705         [BZ #12207]
78706         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78708         [BZ #12204]
78709         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78710         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78712 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78714         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78715         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78716         script has SORT_BY_INIT_PRIORITY.
78717         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78718         NO_CTORS_DTORS_SECTIONS is defined.
78719         * elf/soinit.c: Likewise.
78720         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78721         NO_CTORS_DTORS_SECTIONS is defined.
78722         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78723         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78724         * sysdeps/sh/init-first.c: Likewise.
78725         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78727 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78729         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78730         always use the slow path.
78732 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78734         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78735         similar rule which adds the sysdep directories to the header search in
78736         order to pick up the correct platform stackinfo.h.
78737         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78738         perform test if it is, otherwise return successfully without testing.
78739         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78740         DEFAULT_STACK_PERMS define in stackinfo.h.
78741         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78742         defined in stackinfo.h.
78743         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78744         DEFAULT_STACK_PERMS defined in stackinfo.h.
78745         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78746         * sysdeps/ia64/stackinfo.h: Likewise.
78747         * sysdeps/s390/stackinfo.h: Likewise.
78748         * sysdeps/sh/stackinfo.h: Likewise.
78749         * sysdeps/sparc/stackinfo.h: Likewise.
78750         * sysdeps/x86_64/stackinfo.h: Likewise.
78751         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78752         PF_X for powerpc64.  Retain PF_X for powerpc32.
78754 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78756         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78757         accurately.
78758         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78759         GETDENTS_64BIT_ALIGNED.
78761 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78763         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78765 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78767         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78768         _GNU_SOURCE.
78770         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78771         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78772         Remove __restrict.
78773         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78774         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78776 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78778         [BZ #11655]
78779         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78780         are initialized.
78782 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78784         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78786 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78788         * po/it.po: Update from translation team.
78790 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78792         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78793         unused codes.
78795 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78797         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78799 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78801         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78802         specially.
78803         (gaih_getanswer_slice): Likewise.
78805 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78809 2010-05-31  Petr Baudis  <pasky@suse.cz>
78811         [BZ #11149]
78812         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78813         silently even in the chroot mode.
78815 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78817         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78818         last patch a bit.  Pretty printing
78820 2010-05-31  Petr Baudis <pasky@suse.cz>
78822         [BZ #10085]
78823         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78824         initialization of skip_initgroups_dyn.
78826 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78828         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78829         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78831 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78833         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78835 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78837         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78838         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78839         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78840         ($(objpfx)tst-fnmatch-mem): New rule.
78841         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78842         * posix/tst-fnmatch.c (main): Call mtrace.
78844 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78847         Support Intel processor model 6 and model 0x2c.
78849 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78851         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78852           signed comparison.
78854 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78856         [BZ #12205]
78857         * string/test-strncasecmp.c (check_result): New function.
78858         (do_one_test): Use it.
78859         (check1): New function.
78860         (test_main): Use it.
78861         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78862         Support strcasecmp and strncasecmp.
78864 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78866         [BZ #12194]
78867         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78868         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78870 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78872         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78873         IFUNC support.
78874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78875         memset-x86-64.
78876         * sysdeps/x86_64/multiarch/bzero.S: New file.
78877         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78878         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78879         * sysdeps/x86_64/multiarch/memset.S: New file.
78880         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78882         Set bit_Prefer_SSE_for_memop for Intel processors.
78883         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78884         Define.
78885         (index_Prefer_SSE_for_memop): Define.
78886         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78888 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78890         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78891         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78893 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78895         [BZ #12191]
78896         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78897         (__x86_64_raw_data_cache_size_half): Likewise.
78898         (__x86_64_raw_shared_cache_size): Likewise.
78899         (__x86_64_raw_shared_cache_size_half): Likewise.
78901         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78902         (__x86_64_raw_data_cache_size_half): Likewise.
78903         (__x86_64_raw_shared_cache_size): Likewise.
78904         (__x86_64_raw_shared_cache_size_half): Likewise.
78905         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78906         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78907         and __x86_64_raw_shared_cache_size_half.  Round
78908         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78909         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78910         to multiple of 256 bytes.
78912 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78914         [BZ #12167]
78915         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78916         of inacessible symlinks.  Verify result of symlink before returning it.
78917         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78918         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78920 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78922         * math/math.h (isinf): Fix typo in comment.
78924 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78926         * po/da.po: Update from translation team.
78928 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78930         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78931         is added to the list.
78933 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78934             Ulrich Drepper  <drepper@gmail.com>
78936         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78937         the global list here.  Move code to...
78938         (_dl_add_to_namespace_list): ...here.  New function.
78939         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78940         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78941         * elf/dl-load.c (lose): Don't remove the element from the list.
78942         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78943         (_dl_map_object): Likewise.
78945 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78947         [BZ #12159]
78948         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78949         into all bytes of SSE register.
78950         Patch by Richard Li <richardpku@gmail.com>.
78952 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78954         [BZ #12140]
78955         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78956         perturbing.
78958 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78960         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78961         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78962         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78963         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78965         submachine.
78966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78968 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78970         * include/dlfcn.h (__RTLD_SECURE): Define.
78971         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78972         mode & __RTLD_SECURE instead.
78973         (open_path): Rename preloaded parameter to secure.
78974         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78975         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78976         * elf/dl-deps.c (openaux): Likewise.
78977         * elf/rtld.c (struct map_args): Remove is_preloaded.
78978         (map_doit): Don't use it.
78979         (dl_main): Likewise.
78980         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78981         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78983 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78985         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78986         (sysd-rules-targets): Remove duplicates.
78987         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78988         rtld-%.$o dependency.
78990 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78992         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78993         _dl_map_object do it.
78995 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78997         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78998         fast fma builtins, define the macros in the C99 standard.
78999         (FP_FAST_FMAF): Likewise.
79000         (FP_FAST_FMAL): Likewise.
79001         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79003         * bits/mathdef.h: Update copyright year.
79004         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79006 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79008         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79009         builtins, define the macros in the C99 standard.
79010         (FP_FAST_FMAF): Likewise.
79011         (FP_FAST_FMAL): Likewise.
79012         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79013         multiply/add.
79014         (FP_FAST_FMAF): Likewise.
79016 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79018         [BZ #3268]
79019         * math/libm-test.inc (fma_test): Some new testcases.
79020         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79021         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79022         y and infinite z.  Do multiplication by C already in long double.
79023         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79024         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79025         y and infinite z.  Do bitwise or of inexact bit into u.d.
79026         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79027         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79028         * sysdeps/i386/fpu/s_fma.S: Removed.
79029         * sysdeps/i386/fpu/s_fmal.S: Removed.
79031 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79033         [BZ #3268]
79034         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79035         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79036         computation is not scheduled after fetestexcept.  Fix value
79037         of minimum denormal long double.
79039 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79041         [BZ #3268]
79042         * math/libm-test.inc (fma_test): Add some more tests.
79043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79044         correctly.
79046 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79048         * scripts/data/localplt-s390-linux-gnu.data: New file.
79049         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79051 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79053         [BZ #3268]
79054         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79055         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79056         instead of dbl-64.
79057         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79058         inlines.
79059         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79061         if one of x and y is very large and the other is subnormal.
79062         * sysdeps/s390/fpu/s_fmaf.c: New file.
79063         * sysdeps/s390/fpu/s_fma.c: New file.
79064         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79065         * sysdeps/powerpc/fpu/s_fma.S: New file.
79066         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79067         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79068         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79070 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79072         [BZ #3268]
79073         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79074         fma tests.
79075         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79076         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79077         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79078         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79079         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79080         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79081         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79083 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79085         [BZ #12078]
79086         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79087         * posix/bug-regex31.input: Add test case.
79089 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79091         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79092         * posix/bug-regex31.input: New file.
79094         [BZ #12078]
79095         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79096         (parse_sub_exp): Fix last change, use postorder.
79098         * posix/bug-regex31.c: New file.
79099         * posix/Makefile: Add rules to build and run bug-regex31.
79101         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79103         [BZ #12078]
79104         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79106         [BZ #12108]
79107         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79108         to have entries in sys_siglist.
79110         [BZ #12093]
79111         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79112         be NULL.
79114 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79116         [BZ #3268]
79117         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79118         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79119         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79120         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79121         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79122         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79123         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79124         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79125         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79126         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79127         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79128         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79129         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79130         * math/ftestexcept.c (fetestexcept): Likewise.
79131         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79132         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79133         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79134         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79135         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79136         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79137         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79139 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79141         [BZ #12107]
79142         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79143         newline.
79145 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79147         * string/bug-strstr1.c: New file.
79148         * string/Makefile: Add rules to build and run bug-strstr1.
79150 2010-10-05  Eric Blake  <eblake@redhat.com>
79152         [BZ #12092]
79153         * string/str-two-way.h (two_way_long_needle): Always clear memory
79154         when skipping input due to the shift table.
79156 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79158         [BZ #12005]
79159         * malloc/mcheck.c: Handle large requests.
79161         [BZ #12077]
79162         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79163         for strncmp and strncasecmp.
79164         * string/stratcliff.c: Add tests for strcmp and strncmp.
79165         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79167 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79169         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79170         __set_fpscr.
79172 2010-09-30  Andreas Jaeger  <aj@suse.de>
79174         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79175         (CGROUP_SUPER_MAGIC): Define.
79176         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79177         Handle btrfs and cgroup file systems.
79178         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79179         Likewise.
79181 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79183         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79184         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79186 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79188         [BZ #12067]
79189         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79190         trying to locate the ELF header.
79192 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79194         [BZ #11611]
79195         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79196         Mask out sign-bit copies when constructing f_fsid.
79198 2010-09-24  Petr Baudis <pasky@suse.cz>
79200         * debug/stack_chk_fail_local.c: Add missing licence exception.
79201         * debug/warning-nop.c: Likewise.
79203 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79205         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79206         implementing getdents64 using getdents syscall, set d_type if
79207         __ASSUME_GETDENTS32_D_TYPE.
79209 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79211         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79212         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79214 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79216         [BZ #12037]
79217         * posix/unistd.h: Undo change of feature selection for ftruncate from
79218         2010-01-11.
79220 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79222         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79223         detection.
79225 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79227         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79228         fanotify_mark.
79229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79231 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79233         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79234         variables after CHECK_SP call.
79235         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79237 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79238             Ulrich Drepper  <drepper@redhat.com>
79240         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79241         re-relocationg ld.so.
79242         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79243         _dl_init_paths call.
79244         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79245         here anymore.
79247 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79249         * resolv/res_init.c (__res_vinit): Count the default server we added.
79251 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79252             Ulrich Drepper  <drepper@redhat.com>
79254         [BZ #11968]
79255         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79256         (____longjmp_chk): Use %ebx for saving value across system call.
79257         Add unwind info.
79259 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79261         * manual/Makefile: Don't mix pattern rules with normal rules.
79263 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79265         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79266         operation.
79267         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79268         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79269         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79270         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79272         Likewise.
79274 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79276         [BZ #11979]
79277         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79278         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79280 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79282         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79283         * sysdeps/x86_64/addmul_1.S: Likewise.
79284         * sysdeps/x86_64/lshift.S: Likewise.
79285         * sysdeps/x86_64/mul_1.S: Likewise.
79286         * sysdeps/x86_64/rshift.S: Likewise.
79287         * sysdeps/x86_64/sub_n.S: Likewise.
79288         * sysdeps/x86_64/submul_1.S: Likewise.
79290 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79292         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79293         Define __sched_param instead of SCHED_* and sched_param when
79294         <bits/sched.h> is included with __need_schedparam defined.
79295         * bits/sched.h [__need_schedparam]
79296         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79297         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79298         (__defined_schedparam): Define to 1.
79299         (__sched_param): New structure, identical to sched_param.
79300         (__need_schedparam): Undefine.
79302 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79304         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79305         (epoll_create1): Declare.
79307         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79309 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79311         [BZ #7066]
79312         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79313         shifting retval into place.
79315 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79317         * nis/rpcsvc/nis.h: Update copyright notice.
79318         * nis/rpcsvc/nis.x: Likewise.
79319         * nis/rpcsvc/nis_callback.h: Likewise.
79320         * nis/rpcsvc/nis_callback.x: Likewise.
79321         * nis/rpcsvc/nis_object.x: Likewise.
79322         * nis/rpcsvc/nis_tags.h: Likewise.
79323         * nis/rpcsvc/yp.h: Likewise.
79324         * nis/rpcsvc/yp.x: Likewise.
79325         * nis/rpcsvc/ypupd.h: Likewise.
79326         * nis/yp_xdr.c: Likewise.
79327         * nis/ypupdate_xdr.c: Likewise.
79329         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79330         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79331         (pmap_getport): Use __libc_rpc_getport.
79332         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79333         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79334         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79336 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79339         fanotify_mark.
79341 2010-08-27  Roland McGrath  <roland@redhat.com>
79343         * sysdeps/i386/i686/multiarch/Makefile
79344         (CFLAGS-varshift.c): New variable.
79346 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79348         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79349         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79351         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79353         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79355 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79357         * sysdeps/x86_64/strlen.S: Unroll the loop.
79358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79359         strlen-sse2 strlen-sse2-bsf.
79360         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79361         __strlen_no_bsf if bit_Slow_BSF is set.
79362         (__strlen_sse42): Removed.
79363         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79364         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79366 2010-08-25  Roland McGrath  <roland@redhat.com>
79368         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79369         * sysdeps/x86_64/multiarch/varshift.c: New file.
79370         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79371         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79372         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79373         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79375 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79378         strlen-sse2 strlen-sse2-bsf.
79379         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79380         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79381         (__strlen_sse2): Removed.
79382         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79383         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79385         bit_Slow_BSF for Atom.
79386         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79387         (index_Slow_BSF): Define.
79388         (HAS_SLOW_BSF): Define.
79390 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79392         [BZ #10851]
79393         * resolv/res_init.c (__res_vinit): When no server address at all
79394         is given default to loopback.
79396 2010-08-24  Roland McGrath  <roland@redhat.com>
79398         * configure.in: Remove config-name.h generation.
79399         * configure: Regenerated.
79400         * config-name.in: File removed.
79401         * scripts/config-uname.sh: New file.
79402         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79403         ($(objdir)config-name.h): New target.
79405         * sunrpc/rpc_parse.h: Avoid nested comment.
79407 2010-08-24  Richard Henderson  <rth@redhat.com>
79408             Ulrich Drepper  <drepper@redhat.com>
79409             H.J. Lu  <hongjiu.lu@intel.com>
79411         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79413         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79414         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79415         _mm_alignr_epi8 with _mm_loadu_si128.
79416         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79417         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79418         (__m128i_shift_right): Removed.
79419         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79420         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79421         * sysdeps/x86_64/multiarch/varshift.h: New file.
79422         * sysdeps/x86_64/multiarch/varshift.S: New file.
79424 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79426         * configure.in: Move assembler checks to before sysdep dir checking.
79428 2010-08-20  Petr Baudis  <pasky@suse.cz>
79430         * LICENSES: Sync the sunrpc license.
79432 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79434         * sunrpc/auth_des.c: Update copyright notice once again.
79435         * sunrpc/auth_none.c: Likewise.
79436         * sunrpc/auth_unix.c: Likewise.
79437         * sunrpc/authdes_prot.c: Likewise.
79438         * sunrpc/authuxprot.c: Likewise.
79439         * sunrpc/bindrsvprt.c: Likewise.
79440         * sunrpc/clnt_gen.c: Likewise.
79441         * sunrpc/clnt_perr.c: Likewise.
79442         * sunrpc/clnt_raw.c: Likewise.
79443         * sunrpc/clnt_simp.c: Likewise.
79444         * sunrpc/clnt_tcp.c: Likewise.
79445         * sunrpc/clnt_udp.c: Likewise.
79446         * sunrpc/clnt_unix.c: Likewise.
79447         * sunrpc/des_crypt.c: Likewise.
79448         * sunrpc/des_soft.c: Likewise.
79449         * sunrpc/get_myaddr.c: Likewise.
79450         * sunrpc/getrpcport.c: Likewise.
79451         * sunrpc/key_call.c: Likewise.
79452         * sunrpc/key_prot.c: Likewise.
79453         * sunrpc/openchild.c: Likewise.
79454         * sunrpc/pm_getmaps.c: Likewise.
79455         * sunrpc/pm_getport.c: Likewise.
79456         * sunrpc/pmap_clnt.c: Likewise.
79457         * sunrpc/pmap_prot.c: Likewise.
79458         * sunrpc/pmap_prot2.c: Likewise.
79459         * sunrpc/pmap_rmt.c: Likewise.
79460         * sunrpc/rpc/auth.h: Likewise.
79461         * sunrpc/rpc/auth_unix.h: Likewise.
79462         * sunrpc/rpc/clnt.h: Likewise.
79463         * sunrpc/rpc/des_crypt.h: Likewise.
79464         * sunrpc/rpc/key_prot.h: Likewise.
79465         * sunrpc/rpc/netdb.h: Likewise.
79466         * sunrpc/rpc/pmap_clnt.h: Likewise.
79467         * sunrpc/rpc/pmap_prot.h: Likewise.
79468         * sunrpc/rpc/pmap_rmt.h: Likewise.
79469         * sunrpc/rpc/rpc.h: Likewise.
79470         * sunrpc/rpc/rpc_des.h: Likewise.
79471         * sunrpc/rpc/rpc_msg.h: Likewise.
79472         * sunrpc/rpc/svc.h: Likewise.
79473         * sunrpc/rpc/svc_auth.h: Likewise.
79474         * sunrpc/rpc/types.h: Likewise.
79475         * sunrpc/rpc/xdr.h: Likewise.
79476         * sunrpc/rpc_clntout.c: Likewise.
79477         * sunrpc/rpc_cmsg.c: Likewise.
79478         * sunrpc/rpc_common.c: Likewise.
79479         * sunrpc/rpc_cout.c: Likewise.
79480         * sunrpc/rpc_dtable.c: Likewise.
79481         * sunrpc/rpc_hout.c: Likewise.
79482         * sunrpc/rpc_main.c: Likewise.
79483         * sunrpc/rpc_parse.c: Likewise.
79484         * sunrpc/rpc_parse.h: Likewise.
79485         * sunrpc/rpc_prot.c: Likewise.
79486         * sunrpc/rpc_sample.c: Likewise.
79487         * sunrpc/rpc_scan.c: Likewise.
79488         * sunrpc/rpc_scan.h: Likewise.
79489         * sunrpc/rpc_svcout.c: Likewise.
79490         * sunrpc/rpc_tblout.c: Likewise.
79491         * sunrpc/rpc_util.c: Likewise.
79492         * sunrpc/rpc_util.h: Likewise.
79493         * sunrpc/rpcinfo.c: Likewise.
79494         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79495         * sunrpc/rpcsvc/key_prot.x: Likewise.
79496         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79497         * sunrpc/rpcsvc/mount.x: Likewise.
79498         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79499         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79500         * sunrpc/rpcsvc/rex.x: Likewise.
79501         * sunrpc/rpcsvc/rstat.x: Likewise.
79502         * sunrpc/rpcsvc/rusers.x: Likewise.
79503         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79504         * sunrpc/rpcsvc/spray.x: Likewise.
79505         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79506         * sunrpc/rtime.c: Likewise.
79507         * sunrpc/svc.c: Likewise.
79508         * sunrpc/svc_auth.c: Likewise.
79509         * sunrpc/svc_authux.c: Likewise.
79510         * sunrpc/svc_raw.c: Likewise.
79511         * sunrpc/svc_run.c: Likewise.
79512         * sunrpc/svc_simple.c: Likewise.
79513         * sunrpc/svc_tcp.c: Likewise.
79514         * sunrpc/svc_udp.c: Likewise.
79515         * sunrpc/svc_unix.c: Likewise.
79516         * sunrpc/svcauth_des.c: Likewise.
79517         * sunrpc/xcrypt.c: Likewise.
79518         * sunrpc/xdr.c: Likewise.
79519         * sunrpc/xdr_array.c: Likewise.
79520         * sunrpc/xdr_float.c: Likewise.
79521         * sunrpc/xdr_mem.c: Likewise.
79522         * sunrpc/xdr_rec.c: Likewise.
79523         * sunrpc/xdr_ref.c: Likewise.
79524         * sunrpc/xdr_sizeof.c: Likewise.
79525         * sunrpc/xdr_stdio.c: Likewise.
79527         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79528         handling.
79530 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79532         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79534 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79536         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79537         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79538         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79539         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79540         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79541         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79542         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79543         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79544         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79545         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79546         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79547         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79548         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79549         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79551 2010-07-26  Anton Blanchard  <anton@samba.org>
79553         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79554         * malloc/arena.c (heap_trim): Likewise.
79556 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79558         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79559         here.  Not...
79560         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79561         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79563 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79565         * sysdeps/i386/elf/Makefile: New file.
79567 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79569         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79570         from fanotify_init.
79571         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79572         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79574 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79576         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79577         of strncasecmp_l.
79578         * sysdeps/multiarch/strcmp.S: Likewise.
79580 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79582         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79583         strncase_l-nonascii.
79584         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79585         Add strncase_l-ssse3.
79586         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79587         * sysdeps/x86_64/strcmp.S: Likewise.
79588         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79589         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79590         * sysdeps/x86_64/strncase.S: New file.
79591         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79592         * sysdeps/x86_64/strncase_l.S: New file.
79593         * string/Makefile (strop-tests): Add strncasecmp.
79594         * string/test-strncasecmp.c: New file.
79596         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79597         warning.
79599         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79600         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79602 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79604         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79606 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79608         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79609         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79610         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79612 2010-05-01  Alan Modra  <amodra@gmail.com>
79614         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79615         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79616         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79617         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79618         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79619         tidying.  Don't tail-call __sigjmp_save for static lib.
79620         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79621         save location.
79622         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79623         (CALL_MCOUNT): Add eh info, and nop after bl.
79624         (TAIL_CALL_SYSCALL_ERROR): New macro.
79625         (PSEUDO_RET): Use it.
79626         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79627         Correct save location of integer regs and cr.
79628         (_dl_profile_resolve): Correct cr save location.  Delete nops
79629         after bl when SHARED.  Reduce cfi size a little by better
79630         placement of cfi directives.
79631         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79632         make a stack frame.  Instead use parm save area as a temp.
79633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79634         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79636         Don't make a stack frame for parent, use parm save area.
79637         Increase child stack frame to 112 bytes.  Don't save unused reg,
79638         and adjust reg usage.  Set up cfi on error recovery and
79639         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79641         (__makecontext): Add dummy nop after jump to exit.
79642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79643         Use correct parm save area and cr save, reduce stack frame.
79644         Correct cfi for possible PSEUDO_RET frame setup.
79645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79646         Branch to local label emitted by PSEUDO_RET rather than
79647         __syscall_error.
79649 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79651         [BZ #11904]
79652         * locale/programs/locale.c (print_assignment): New function.
79653         (show_locale_vars): Use it.
79655 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79657         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79658         field.
79659         (struct statfs64): Likewise.
79660         (_STATFS_F_FLAGS): Define.
79661         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79662         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79663         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79664         (ST_VALID): Define locally.
79665         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79666         __statvfs_getflags, use the provided value.
79667         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79668         __ASSUME_STATFS_F_FLAGS.
79670         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79672         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79673         Add sys/fanotify.h.
79674         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79675         fanotify_mask for GLIBC_2.13.
79676         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79677         fanotify_init and fanotify_mark.
79678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79679         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79681         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79682         Add prlimit.
79683         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79684         prlimit64 for GLIBC_2.13.
79685         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79686         prlimit64.
79687         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79688         syscall.
79689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79690         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79691         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79692         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79694         add prlimit alias.
79695         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79697         [BZ #11903]
79698         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79699         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79701         * nss/Makefile: Add rules to build and run tst-nss-test1.
79702         * shlib-versions: Add entry for libnss_test1.
79703         * nss/nss_test1.c: New file.
79704         * nss/tst-nss-test1.c: New file.
79706         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79707         (__nss_configure_lookup): Set appropriate entry in
79708         __nss_configure_lookup to true.
79709         * nss/nsswitch.h: Define enum with indeces of databases in
79710         databases and __nss_database_custom arrays.  Declare
79711         __nss_database_custom.
79712         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79713         to avoid using nscd when custom rules are installed.
79714         * nss/getXXbyYY_r.c: Likewise.
79715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79717         * nss/nss_files/files-parse.c: Whitespace fixes.
79719 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79721         [BZ #11883]
79722         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79723         * posix/fnmatch_loop.c: Likewise.
79725 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79727         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79728         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79729         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79730         * Versions.def [GLIBC_2.13]: Add.
79732 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79734         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79735         Also fail if tpwd after pwuid call is NULL.
79737 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79739         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79740         when converting to ms.
79742 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79744         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79745         EOPNOTSUPP errors with ENOTTY.
79746         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79747         EOPNOTSUPP errors with ENOTTY.
79749 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79751         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79752         Add strcasecmp_l-ssse3.
79753         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79754         strcasecmp.
79755         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79756         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79757         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79759 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79761         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79763         * string/Makefile (strop-tests): Add strcasecmp.
79764         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79765         strcasecmp_l-nonascii.
79766         (gen-as-const-headers): Add locale-defines.sym.
79767         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79768         * sysdeps/x86_64/strcasecmp.S: New file.
79769         * sysdeps/x86_64/strcasecmp_l.S: New file.
79770         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79771         * sysdeps/x86_64/locale-defines.sym: New file.
79772         * string/test-strcasecmp.c: New file.
79774         * string/test-strcasestr.c: Test both ends of the range of characters.
79775         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79777 2010-07-29  Roland McGrath  <roland@redhat.com>
79779         [BZ #11856]
79780         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79782 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79784         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79785         for ld.so.
79787 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79789         * manual/memory.texi (Malloc Tunable Parameters): Document
79790         M_PERTURB.
79792 2010-07-26  Roland McGrath  <roland@redhat.com>
79794         [BZ #11840]
79795         * configure.in (-fgnu89-inline check): Set and substitute
79796         gnu89_inline, not libc_cv_gnu89_inline.
79797         * configure: Regenerated.
79798         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79800 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79802         * string/test-strnlen.c: New file.
79803         * string/Makefile (strop-tests): Add strnlen.
79804         * string/tester.c (test_strnlen): Add a few more test cases.
79805         * string/tst-strlen.c: Better error reporting.
79807         * sysdeps/x86_64/strnlen.S: New file.
79809 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79811         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79812         lower-latency instructions.
79814 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79816         * string/test-strcasestr.c: New file.
79817         * string/test-strstr.c: New file.
79818         * string/Makefile (strop-tests): Add strstr and strcasestr.
79819         * string/str-two-way.h: Don't undefine MAX.
79820         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79822 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79825         strcasestr-nonascii.
79826         (CFLAGS-strcasestr-nonascii.c): Define.
79827         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79828         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79829         Remove unused attribute.
79831 2010-07-20  Roland McGrath  <roland@redhat.com>
79833         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79834         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79835         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79836         like LD_HWCAP_MASK can disable hwcaps.
79838 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79840         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79842 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79844         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79845         call in strcasestr.
79846         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79847         __strcasestr_sse42_nonascii.
79848         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79849         strcasestr-nonascii.c.
79850         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79852 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79854         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79855         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79856         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79857         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79859 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79861         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79862         fcntl.
79864 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79866         [BZ #11577]
79867         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79868         dl_signal_cerror.
79870 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79872         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79873         _PC_PIPE_BUF using F_GETPIPE_SZ.
79875 2010-07-05  Roland McGrath  <roland@redhat.com>
79877         * manual/arith.texi (Rounding Functions): Fix rint description
79878         implicit in round description.
79880 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79882         * elf/Makefile: Fix linking for a few tests to make recent linker
79883         happy.
79885 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79887         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79888         $(common-objpfx)libc_nonshared.a.
79890 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79892         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79893         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79894         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79895         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79896         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79897         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79898         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79899         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79914         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79915         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79916         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79917         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79918         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79919         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79920         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79921         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79922         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79923         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79924         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79925         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79941 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79943         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79944         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79945         * string/memmove.c (memmove): Renamed to ...
79946         (MEMMOVE): ...this.  Default to memmove.
79947         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79948         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79949         (END_CHK): Define.
79950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79951         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79952         mempcpy-ssse3-back memmove-ssse3-back.
79953         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79954         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79955         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79956         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79957         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79958         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79959         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79960         * sysdeps/x86_64/multiarch/memmove.c: New file.
79961         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79962         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79963         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79964         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79965         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79966         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79967         Define.
79968         (index_Fast_Copy_Backward): Define.
79969         (HAS_ARCH_FEATURE): Define.
79970         (HAS_FAST_REP_STRING): Define.
79971         (HAS_FAST_COPY_BACKWARD): Define.
79973 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79975         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79976         Restore proper fallback handling.
79978 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79980         [BZ #11701]
79981         * posix/group_member.c (__group_member): Correct checking loop.
79983         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79984         OOM in getpwuid_r correctly.  Return error number when the caller
79985         should return, otherwise -1.
79986         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79987         call returning > 0 value.
79988         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79990 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79992         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79993         libc_nonshared.a from targets in modules-names.
79995 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79997         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79998         requires it.
80000 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80002         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80003         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80004         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80005         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80007 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80009         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80011 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80013         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80014         and F_GETPIPE_SZ.
80015         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80016         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80017         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80018         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80019         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80020         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80022 2010-06-14  Roland McGrath  <roland@redhat.com>
80024         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80026 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80028         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80029         __REDIRECT followed by __THROW.
80030         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80031         * posix/getopt.h (getopt): Likewise.
80033 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80035         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80036         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80037         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80038         in AT_FLAGS.
80039         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80040         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80042 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80044         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80046 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80048         [BZ #11640]
80049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80050         Properly check family and model.
80052 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80054         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80056 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80058         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80060 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80062         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80063         symbol reference.
80065 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80067         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80068         symbol reference.
80070 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80072         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80073         and internal_recvmmsg.
80074         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80075         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80076         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80077         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80079         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80080         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80081         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80083 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80085         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80087 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80089         POWER7 optimizations.
80090         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80091         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80093 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80095         * version.h: Update for 2.13 development version.
80097 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80099         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80100         exceptions.  Return 0.
80102 2010-05-07  Roland McGrath  <roland@redhat.com>
80104         * elf/ldconfig.c (main): Add a const.
80106 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80108         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80109         (args_options): Add no-idn option.
80110         (ahosts_keys_int): Add idn_flags to ai_flags.
80111         (parse_option): Handle 'i' option to clear idn_flags.
80113         * malloc/malloc.c (_int_free): Possible race in the most recently
80114         added check.  Only act on the data if no current modification
80115         happened.
80117 See ChangeLog.17 for earlier changes.